PDA

View Full Version : Bit values greater than 7



imported_redman
07-07-2005, 01:21 AM
Hi Alan,
Using a LED64 with FS2Phidget, I am also using a program FSCONV that determines values from the Level-D 767 to light my LED's.
It uses offsets from FSUIPC, but with bit values specific to the Level-D.

Some of the panels have bit values greater than 7 (up to bit 16) for a length 4 offset.
Currently FS2Phidgets says that up to 8 bits (0-7) can be used.
I have tried manually editing the variables.ini to read this, but these values arn't accepted.

Is there anything I can do to get FS2Phidget to respond to these bits?
I am still new at learning about all these bit and hex stuff, but will appreciate any advice anyone can give.

Best Regards
Chris

alandyer
07-07-2005, 05:39 AM
Chris,

This has been corrected in upcoming 3.0.10 version.

Regards,
Alan

imported_redman
07-07-2005, 06:14 AM
Thanks Alan,
I appreciate all the good work and effort you put in.


Cheers
Chris

alandyer
07-07-2005, 06:45 AM
Thanks, Chris.

Likewise. I appreciate the feedback on bugs and recomendations.

Alan.

imported_redman
07-07-2005, 06:46 AM
Hi Alan,

I just got a reply from Nico over at avsim.

My knowledge of these offsets now steps a little higher. :)
If I add one to the offset then the bits reset.

For example, if offset 0550 is needed and bit # 10. If i use offset 0551 and bit 3, then I get the right value.

New knowledge is good knowledge.
Things are really starting to come together now.

Brilliant.

Thanks again alan.

alandyer
07-07-2005, 06:57 AM
That is a very clever workaround.

Newer version will make things a little easier, or should I say more intuitive.
Going forward you will be able to specify lengths - up to 8 - for a bit map.
Appreciate the fedback.