Jump to content

Writable baro DataRef


flightwusel
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

55 minutes ago, 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.

Was already requested 14 months ago.

I have no problem setting barometers using the X-Touch Mini personally.

Link to comment
Share on other sites

1 hour ago, 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.

You’re using a hardware display rather than looking at the virtual cockpit displays?

Link to comment
Share on other sites

4 hours ago, danmgro said:

I change Baro with sim/instruments/barometer_up and sim/instruments/barometer_down.

CL650/DCP/1/baro_push for STD

Using the custom baro_up and _down commands may be more effective. (When in doubt use custom over default.)

Edited by Pils
Link to comment
Share on other sites

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).

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...