Jump to content
The simFlight Network Forums

Search the Community

Showing results for tags '0D0C'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Product Support Forums
    • FSUIPC Support Pete Dowson Modules
    • MyTraffic Support Forum
    • FeelThere Support Forums
    • FS Commander Support Forum
    • Flying W Simulation
    • AConstable Traffic Sounds Support Forum
    • Fabio Merlo Products Support Forum
    • Elite-Air Studio Support Forum
    • Nikola Jovanovic Support Forum
    • Intrasystems Support Forum
    • FScene Support Forum
    • Taburet & DanVFR Support Forum
    • Environ Scenery
  • simFlight DE
  • FS MAGAZIN (DE)
  • simRussia
  • FSUIPC Client DLL for .NET

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello, I have been reading through the forums on how to toggle the lights in the 0D0C offset. My goal is to use a lua event to appropriately set the taxi light based on the Aerosoft Airbus Lvar. I understand each light is controlled by a separate bit and normally this would be done using AND and OR logic. However, based on what I have been reading in the forums and the Lua Library doc, the setbitsUW and clearbitsUW should work in place of using the AND and OR logic. Unfortunately, in all of my testing it seems to reset all of the other light offsets rather than just operate on the taxi light. I have also tested a one line script using setbitsUW to toggle the taxi light in the default 737 with the same result. Am I using the code below incorrectly? Do I need the AND and OR logic when using the setbitsUW and clearbitsUW -- set the pollrate to 250ms = 4 times per second pollrate = 250 function writeTaxi(varname, value) if value == 1 then ipc.setbitsUW(0x0D0C, 8) else ipc.clearbitsUW(0x0D0C, 8) end end -- create an event listener to monitor the LVAR -- this will call the function above when the LVAR changes -- Aerosoft Airbus Taxi Light event.Lvar("L:AB_TAXI_LT", pollrate, "writeTaxi") Thank You
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.