Jump to content
The simFlight Network Forums

Writing to several datarefs with one offset


Recommended Posts

I would like to do the following: one button push on my honeycomb Alpha turns on both landing lights in the Toliss.

The datarefs  for those lights are:

Dataref LandL AirbusFBW/OHPLightSwitches[4] intarray
Dataref LandR AirbusFBW/OHPLightSwitches[5] intarray

I have defined the following offset:

Offset 0x8531 UINT8 1 rw >LandL @ >LandR @ 

When I write (using Mobiflight) to this offset only the last dataref get written.

What am I doing wrong? Or how to make this works?

Edited by Samhaho
Link to comment
Share on other sites

1 minute ago, Samhaho said:

The datarefs  for those lights are:

Dataref LandL AirbusFBW/OHPLightSwitches[4] intarray
Dataref LandR AirbusFBW/OHPLightSwitches[5] intarray

I have no idea what a 'dataref' is...

2 minutes ago, Samhaho said:

I have defined the following offset:

Offset 0x8531 UINT8 1 rw >LandL @ >LandR @ 

No idea what that means either.  What language is that?

6 minutes ago, Samhaho said:

When I write (using Mobiflight) to this offset only the last dataref get written.

What am I doing wrong? or how to make this works?

No idea. I think you need MobiFlight support, not FSUIPC.  Try their discord channel.
I cannot support MobiFlight.

In FSUIPC offset 0x8531 is in an area reserved for 'Radar Contact, verbal command control area'.

John

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.