flightwusel Posted March 21, 2023 Report Posted March 21, 2023 This is not exactly a hardware question but this section seems to fit well. I would like to change the barometer setting via DataRef by writing final values (e.g. 29.90 inHg or 1010 hPa). The Challenger does not react to changes in sim/cockpit2/gauges/actuators/barometer_setting_in_hg_pilot sim/cockpit2/gauges/actuators/barometer_setting_in_hg_copilot sim/cockpit2/gauges/actuators/barometer_setting_in_hg_stby though. Does anybody know how to change the altimeter baro setting from another plugin? If possible I would like to write STD on/off, too. Quote
danmgro Posted March 22, 2023 Report Posted March 22, 2023 I change Baro with sim/instruments/barometer_up and sim/instruments/barometer_down. CL650/DCP/1/baro_push for STD 1 Quote
flightwusel Posted March 22, 2023 Author Report Posted March 22, 2023 Thanks, that works albeit relatively cumbersome for such an "easy" thing. It's not that easy to automatically turn it to a given value because sim/cockpit/misc/barometer_setting has hysteresis. Quote
Pils Posted March 22, 2023 Report Posted March 22, 2023 Challenger does not use the default altimeter gauges in any way, as with almost everything, they are implemented custom within the Pro Line 21 avionics. Some things are bridged back for read access by third parties, but are not synced two-way in order to cleanly maintain the state inside the aircraft. Quote
flightwusel Posted March 22, 2023 Author Report Posted March 22, 2023 Ok, I am not able to do it reliably. Can we please get writable DataRefs for barometers? That seems to be kind of basic stuff and will not upset the aircraft. Quote
Pils Posted March 22, 2023 Report Posted March 22, 2023 On 3/22/2023 at 3:59 PM, flightwusel said: Ok, I am not able to do it reliably. Can we please get writable DataRefs for barometers? That seems to be kind of basic stuff and will not upset the aircraft. Expand Was already requested 14 months ago. I have no problem setting barometers using the X-Touch Mini personally. Quote
Pils Posted March 22, 2023 Report Posted March 22, 2023 On 3/22/2023 at 3:01 PM, flightwusel said: Thanks, that works albeit relatively cumbersome for such an "easy" thing. It's not that easy to automatically turn it to a given value because sim/cockpit/misc/barometer_setting has hysteresis. Expand You’re using a hardware display rather than looking at the virtual cockpit displays? Quote
Pils Posted March 22, 2023 Report Posted March 22, 2023 (edited) On 3/22/2023 at 12:49 PM, danmgro said: I change Baro with sim/instruments/barometer_up and sim/instruments/barometer_down. CL650/DCP/1/baro_push for STD Expand Using the custom baro_up and _down commands may be more effective. (When in doubt use custom over default.) Edited March 22, 2023 by Pils Quote
flightwusel Posted March 22, 2023 Author Report Posted March 22, 2023 I want to set the baro to a value, not manipulate it with a knob... I have a FlyWithLua script that sets the altimeter to QNH/STD when pressing a key. Will try the custom CL650 commands but would take me wonder if it would work much differently from the sim/instruments/barometer_up which changes by an arbitrary amount (it is 1 tick but it could be in inHg or hPa mode and I don't see a DataRef to find that out...). It is working with my slow naive feedback loop, but not very reliably (sometimes it overshoots although I wait 1s for the values to stabilize). Quote
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.