Jump to content
Sign in to follow this  
srd

XPUICP help needed

Recommended Posts

I need to monitor the dataref "thranda/cockpit/actuators/FuelSwL" in my Carenado Navajo for x-plane 11.
It has 3 states: 
"thranda/cockpit/actuators/FuelSwL=0" - or
"thranda/cockpit/actuators/FuelSwL=1" - or
"thranda/cockpit/actuators/FuelSwL=2"
This is for the fuel actuator handles. When they are moved with the mouse, the dataref changes to one of
the 3 states; 0 = inboard, 1 = off and 2 = outboard.
Since I can't find the offsets, I've assigned my own to them. 0x66C1, 0x66C2 and 0x66C3 and mapped them to 
switches through spad.next. This all works as it should. The handle moves and the dataref changes.
Now I need to monitor the different states in Mobiflight to help with the logic for annunciator lights.
I've tried entering the Datarefs and Offsets in XPUICPOffset.cfg but can't seem to get it right. I've
looked at the examples and tried those that were close in what I needed to be done,but can't seem to make 
it work.

This is one of many combinations I've tried.

Dataref  LTankHandleIn    thranda/cockpit/actuators/FuelSwL    int
Offset    0x66C1    UINT8    4    rw    $LTankHandleIn >LTankHandelIn @

I know that the right one is out there...somewhere!
Any help would be appreciated.

Thanks,
Steve

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...