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

Please sign in to comment

You will be able to leave a comment after signing in



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.