Jump to content
Sign in to follow this  
Guest raflyer

Light Byte help

Recommended Posts

Guest raflyer

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

Share this post


Link to post
Share on other sites
Guest

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

Share this post


Link to post
Share on other sites
Guest raflyer

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

Share this post


Link to post
Share on other sites
Guest

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

Share this post


Link to post
Share on other sites
Guest raflyer

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...