May 19, 200323 yr Hi all,Having trouble setting up my nav lights to come on. All my other lightsfunction fine. It's offset 0D0C and I have bitwise checked. Nav lights is 0per control docs from Pete D., as I said all other lights work per thierrespective bit number except for nav. Any ideas?--Thanks, Rob ArcherHome of the real 737SIMUSA
May 19, 200323 yr Rob,Nav lights is bit 0 ie. value of 1. Thus:myWord : Word;myWord := 1;FSUIPC_Write($0D0C, 2, @myWord, dwResult);works for me. Has the effect also of putting on the logo lights as well, for some reason.Chris
May 19, 200323 yr Thanks chris,Doesn't work for me though as i'm using FSBUS. All my other light controls function correctly and match the input "bits" correctly. If i were to put a 1 in there then the beacon lights turn on, 2 is landing etc. When I do a read on offset 0D0C and turn the nav lights on, it returns a value of 33? I'll get it figured out somehow. Thanks again for the ideas,Rob
May 19, 200323 yr Rob,A return value of 33 would indicate that bits 0 and 5 from $0D0C are set, ie. nav lights and instrument lights. What is the cockpit panel light switch position on the panel indicating for this same scenario, I wonder?I suppose it could be an error in the way FSBUS is writing the required value. Sorry, but I don't (yet) use FSBUS so can't help much further.Chris
May 19, 200323 yr You mirrored my thoughts chris. Thanks for the replies. FSBUS is a pretty versatile and powerful free program. I'm very satisfied so far. Once a full set of english docs are available it will be unbeatable. Thanks,Rob
Create an account or sign in to comment