#Need Help with FSUIPC offset and bite size

1 messages · Page 1 of 1 (latest)

outer osprey
#

I have built a F18 sim cockpit. I am using P3d with Vertical Reality Simulations . I have started the process to light up the Caution Advisory LED's My issue is when I setting up the offsets that VRS supplies has bit form 0 to 10 and Decimal up to 1024. Mobiflight only goes to 8 bits. Is there a setting where i can increase the bit size?

spiral sable
#

Try setting size in bytes to 2 Here

outer osprey
buoyant dagger
#

Each byte has 8 bits so the 10th bit is the second bit of the second byte or
00000010 00000000 binary or
0x0200 in hexadecimal

#

Using a mask of 0x0200 will read the status of the 10th bit.

outer osprey
#

Oh, I was assuming the bit in the documentation is the same as the Size in bytes and the bit-mask editor i would input the Decimal number. by the looks of it, its allot more complicated that it looks. So for the info from above I would select size of bytes of 2 and in the bit-mask editor I would only select 10. is this correct?

buoyant dagger
#

Yes, that should do it.

#

You use the same 2 byte offset with a different bit mask to read a different light status.

outer osprey
#

Thanks a for pointing me in the right direction