I know I have seen it but cannot find the answer.
In Air Manager 4.0 beta how to I watch the info coming from FS2020 on a variable like "GENERAL ENG OIL PRESSURE?
I have been working on my Mooney panel with instruments from Ralph and have a lot of it working but a couple items are giving me strange reading not matching the in game panel but close. It has been a lot of fun working on this except yesterday when I deleted a cluster gauge after I got it working so doing that one again today.
Thank you
How do I watch the info on a variable coming from FS2020
Re: How do I watch the info on a variable coming from FS2020
With the Viewer as all other variables and datarefs, it can be opened from the Create/Edit tab.
Re: How do I watch the info on a variable coming from FS2020
You can also use a print in your code for testing purposes. Do not leave the print in place once the code is working as you want.
Another way is to use the debugger but that’s probably overkill for what you need.
Another way is to use the debugger but that’s probably overkill for what you need.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Re: How do I watch the info on a variable coming from FS2020
Thank you all. That helped me a lot and I'm getting closer to having a working panel.
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: How do I watch the info on a variable coming from FS2020
Hi,
Print statements, if the print is iterated many times, will slow down and use up a lot of CPU.
When you have resolved the reason for the print statement remove it, If there are many and you loose track or just check what print statement need removing, In notepad ++, just bookmark all line that contain <print> using the binocular/find tab. Then in <search> <bookmark> just <cut bookmarked lines>
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: How do I watch the info on a variable coming from FS2020
I’m a little confused. Not leaving the print is what you want to do. If that was a typo and you meant what happens when you leave the print then Keith’s post answers that perfectly.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D