awebneck Posted February 10, 2019 Report Share Posted February 10, 2019 Hi Goran & Company - love the plane, thank you so much! In fact, I'm working on some cockpit building stuff targeting this fantastic airplane, and I noticed that y'all have added a custom command to toggle the barometer between standard and dialed-in values. Hooking that up to a control has been perfect, but I wasn't able to find a dataref reflecting the current state thereof - would it be possible to add such in a future update? Thanks again! Quote Link to comment Share on other sites More sharing options...
falcon1823 Posted February 11, 2019 Report Share Posted February 11, 2019 Hi awebneck, i might have some suggestions...but im a little unsure of what you are trying to accomplish. Your button works well executing the command, but youre looking for a dataref to do what now? Quote Link to comment Share on other sites More sharing options...
Goran_M Posted February 11, 2019 Report Share Posted February 11, 2019 (edited) Just saw this. Is this what you're looking for? And it is a command. tbm900/actuators/efis/pfd1_baro_push Edited February 11, 2019 by Goran_M Quote Link to comment Share on other sites More sharing options...
awebneck Posted February 11, 2019 Author Report Share Posted February 11, 2019 @Goran_M Nah, I've got the command working just fine; but I'd like a (potentially readonly) dataref to represent the state of the barometer so I can use it to represent that state on a display I'm building (i.e. "STD mode" vs "manually set"), especially given that the custom-implemented STD mode doesn't just force the barometer to 29.92"Hg, but rather saves the current setting so that in can be restored upon a second press of the BARO knob. so basically, just a boolean, readonly dataref that says "BARO is locked to STD" or "BARO is set as dialed"; pretty much like the BARO field on the PFD when you press the button - note that that field says "STD" when the button is pressed, but says the actual numerical value if you manually dial it to 29.92. Thanks! Quote Link to comment Share on other sites More sharing options...
Shinjo Posted February 12, 2019 Report Share Posted February 12, 2019 @awbneck, if you happen to use SPAD.next you can set local vars in that program. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.