Thread: Bit values greater than 7
07-07-2005, 01:21 AM #1imported_redmanGuest
Bit values greater than 7
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.
07-07-2005, 05:39 AM #2alandyerGuest
This has been corrected in upcoming 3.0.10 version.
07-07-2005, 06:14 AM #3imported_redmanGuest
I appreciate all the good work and effort you put in.
07-07-2005, 06:45 AM #4alandyerGuest
Likewise. I appreciate the feedback on bugs and recomendations.
07-07-2005, 06:46 AM #5imported_redmanGuest
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.
Thanks again alan.
07-07-2005, 06:57 AM #6alandyerGuest
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.
By ncleme in forum OpenCockpits General DiscussionReplies: 12Last Post: 03-19-2011, 04:23 PM
By Paul G in forum Cockpit Software: MiscellaneousReplies: 2Last Post: 09-13-2008, 10:04 AM
By imported_redman in forum FS2Phidget UsersReplies: 2Last Post: 06-27-2006, 05:35 PM
By RobertoR in forum FS2Phidget UsersReplies: 2Last Post: 02-03-2005, 02:38 PM