Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

 

I'm trying the light data via 0D0C offset but i couldn't any data. I am getting a error. My code is in the below.

Private lights As New Offset(Of Byte)(&HD0C)

TaxiLightStatus.Text = lights.Value(3)

Posted

Hi,

The offset needs to be declared as FsBitArray so you can address the individual bits. For BitArrays, you also need to specify the length in Bytes (2 in this case). like this:

Private lights As New Offset(Of FsBitArray)(&HD0C, 2)

You need version  3.1.22 or later for FsBitArray.

Paul  

  • 3 weeks later...

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.