Jump to content

Recommended Posts

Posted

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.

Posted

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.

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

Posted
  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?

Posted (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 by Pils
Posted

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

 

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

  • Recently Browsing   0 members

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