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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...