I have built a main instrument panel with 3 screens and several encoders and switches. All of the encoders and switches are working correctly and show currently in xplane cockpit. However some are not showing correctly on the air manager instruments. The following do not show on the standard Cessna 172 instruments:
EGT - the temperature shows but the marker that the knob can set is not moving. The encoder that I have changes the cockpit instrument in xplane but this indicator does not change in air manager. The dataref that I successfully write to is laminar/c172/knob_EGT
TAS - the encoder sets the value correctly in the cockpit but this does not change in air manager instrument. The dataref that I successfully write to is laminar/c172/knob_TAS
Clock OAT, select and control buttons. My buttons change the cockpit clock correctly but the airmanager instrument is locked on Time and Temperature. The datarefs that I successfully write to are:
Clock control
sim/cockpit2/clock_timer/timer_running
Clock OAT
laminar/c172/knob_OAT
Clock select
sim/cockpit2/clock_timer/timer_mode
The clock and EGT are running on raspberry pi and the airspeed indicator is running on my main airmanager PC.
Any thoughts on how to get these working.
Thanks
Instruments not showing complete informatiom
Re: Instruments not showing complete informatiom
These gauges not working are because the AM controls do not interact with the sim in the way you are. The EGT and AIrspeed knobs are local only to the AM instrument and the clock only uses xpl_command("sim/instruments/timer_start_stop") every time the control button is pressed.
The instruments need modification to work with the sim for these controls. The originals may of been coded this way for compatibility with FSX/P3D. I'm not certain if those sim's provide events or variables for those controls or even if all variants of xplane 172's provide the necessary datarefs or commands to enable the AM instrument to control the sim. This might explain why they are like they are currently.
It doesn't stop you from modifying them to suit your needs though. That's the great thing about AM.
Tony
The instruments need modification to work with the sim for these controls. The originals may of been coded this way for compatibility with FSX/P3D. I'm not certain if those sim's provide events or variables for those controls or even if all variants of xplane 172's provide the necessary datarefs or commands to enable the AM instrument to control the sim. This might explain why they are like they are currently.
It doesn't stop you from modifying them to suit your needs though. That's the great thing about AM.
Tony
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: Instruments not showing complete informatiom
Just had a little tinker with the EGT gauge. You need to do something similar for the others.
I've left the original behaviour as well so it still works as it did. You just need to tick the "Use xplane dataref for EGT pointer" user property to get the new functionality.
Enjoy.
Tony
I've left the original behaviour as well so it still works as it did. You just need to tick the "Use xplane dataref for EGT pointer" user property to get the new functionality.
Enjoy.
Tony
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: Instruments not showing complete informatiom
thank you for the info, will look at the EGT gauge and see if I can replicate.
Thanks
Thanks