Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

GoFlight device LEDs not working

Hello!

How can I turn on the GoFlight device LEDs? Using the buttons, switches, rotary knobs works fine, Pressing the Identify button in the Interface Software GUI illuminates all 8 LEDs. But how do I get some of them turned on depending on datarefs?

E.g. I set
Light Data = anim/44/button
Light Action = ON
Light Value  = 1

Nothing happens when changing the value of anim/44/button (by pressing a goflight device button - the aircraft behaves correctly)

Config:
GoFlight Interface Tool X-Plane: 1.7.1.0
GFDev.dll: 2.2.4.3

No errors in the Log:

04:20:08 GoFlight Connection Starting.....
04:20:08 X-Plane Connection Starting.....
04:20:09 X-Plane Connection Started
04:20:09 Aircraft Connection Starting.....
04:20:09 GoFlight Connection Started
04:20:10 X-Plane: Event Received: Aircraft Loaded/Flight Loaded
04:20:10 Aircraft Connection Started
04:20:10 Synchronising Switches & Selectors .....
04:20:10 Synchronising Switches & Selectors: Waiting for X-Plane .....
04:20:15 LvarNamesUpdated!
04:20:15 Creating Bespoke Vars
04:20:15 Bespoke Vars Created
04:20:15 Importing Bespoke Variables
04:20:15 Bespoke Vars Assigned, Importing Bespoke Events
04:20:15 Bespoke Events Temp Imported
04:20:15 Bespoke Events Imported
04:20:15 Loading Aircraft Settings
04:20:15 GetXMLConfigData
04:20:15 GotXMLConfigData
04:20:15 Loading Power
04:20:15 Loading MCPPRO
04:20:15 Loading MCP
04:20:15 Loading EFIS
04:20:15 Loading P8
04:20:15 Loading T8
04:20:15 Loading RP48
04:20:15 Loading MESM
04:20:15 Loading WP6
04:20:15 Loading LGT
04:20:15 Loading LGT II
04:20:15 Loading GF46
04:20:15 Loading GF45
04:20:15 Loading TQ6
04:20:15 Loading DIO
04:20:15 Loading GF166
04:20:15 Loading SECM
04:20:15 Loading Joysticks
04:20:15 Clearing Displays
04:20:15 Reset Data
04:20:15 Aircraft Settings Loaded
04:20:15 Calling Aircraft Changed
04:20:15 Aircraft Changed
04:20:16 XPlane: Event Received: Sim State 1
04:20:43 Synchronising Switches & Selectors Complete

Thanks
Steve

Answers

  • In Detective what values does the anim/44/button have? Also make sure this dataref is not resetting e.g only briefly goes to one and then back to zero.

    Best wishes

    Steve

  • Thanks for your reply. I'm getting crazy. The datarefs are correctly monitored and do not reset. Every change correspondes to a mouse click in the simulation. See the attached screenshots...

    Thanks again!

    Would be realy great getting this to run...
  • Can you show me the tasks in Oliver/Nav_toggle assuming its a Bespoke Event.

    Also what aircraft is it?

    Thx

    Steve

  • Sure,

     

    it's the 767 from FlightFactor / StepToSky, latest version (1.1.20)

     

    Oliver/Nav_toggle >>>

     

    If anim/43/button = 1 Next Else Next Skip

    Goto Next

    anim/43/button = 1

    Goto Done

    :Next

    anim/43/button = 0

    :Done

     

    Thx Steve!

     

    regards

    Oliver

  • That all looks OK assuming nothing has been assigned to the OFF event. Can you try ON_GREATER_THAN and a value of 0.

    Thx

    Steve

  • :-(

     

    no - nothing assigned to the off event (I just tested changing from on to off (nothing assigned to on anymore) - didn't help)

    ON_GREATER_THAN didn't help, tested this a thousand times.

     

    Sorry - would have been happy to have better News.

  • That's strange. I have the FF777 so I will run some tests to determine what the issue is.

    Best wishes

    Steve

  • Ok, I have ran some quick tests.

    I saw that most switches on the overhead when you set them, immediately reset back - the code/logic of the aircraft over-rules the state change.

    Some switches set multiple Datarefs whilst some reset back, others do not and work as expected - its a case of trying all the Datarefs that change to hopefully get one to work.

    So my initial thought is that the Dataref is changing back to zero thus the light never comes on.

    I'll do some more testing tomorrow.

    Best wishes

    Steve

  • Following your idea, I did the following:

    new bespoke Event Oliver/test >>>

     

    If Bespoke Var 1 = 1 Next Else Next Skip

    Goto Next

    Bespoke Var 1 = 1

    Goto Done

    :Next

    Bespoke Var 1 = 0

    :Done

     

    I connected a button Event (on) to Oliver/test and the light data to Bespoke Var 1 (Action on, Value 1)

    thus, the test is unrelated to the aircraft (I do not use the bespoke var).

    Observation -> The LEDs do still not work (again: pressing "Identify" illuminates the eight LEDs)

    regards

    Oliver

     

     

     

  • Hi Oliver,

    I have just ran your test code and it works fine for me. So two thoughts:

    - Do you have any other plugins that drive Goflight hardware. If so remove them.

    - Perhaps its a hardware issue. Can you try the same test on your RP48.

    Thx

    Steve

  • First, thanks for your Support! I really appreciate it!

    Some background info: I’m SW-developer myself. Therefore yours and mine ideas are often targeting the same direction.

    In the meanwhile I started my P3D with a lua script (written by myself) to communicate with the GF devices and it worked fine. The LEDs of the goflight devices were separately turned on and off according to my / the simulation action. Everything worked as usual.

    I tested the behaviour in X-Plane with all my three devices. The T8, P8 and RP48. It is always the same: the “Identify” button (and the brightness setting) works fine, but setting a LED via the rules in the GUI doesn’t have any effect.

    Therefore I would like to draw the following conclusions:

    - Your software works fine in general - it can communicate with X-Plane and the GoFlight devices

    - The GoFlight HW works perfectly, since I don’t have any problems in P3D together with my lua script

    By the way, I have no other plugins regarding X-Plane except the dataref editor and the plugins coming with the 777 and 767 (my add-on aircrafts). I already removed all the stuff once installed but never used in order to find the bug ;-)

    At the moment, I don’t see any other aspect to target. From time to time I will investigate further in this issue. For sure, it has something to do with my dam special configuration or computer. I would be happy about your assistance as soon as I get some new information.

    Thanks for now!

    Oliver

  • Just out of interest try it without the DataRef Editor plugin - I'm wondering if that is triggering a bug in the GIT plugin as it attempts to mimic the DRE plugin.

    I'll setup a test environment with your specific hardware to eliminate any odd bug due to the hardware in use.

    Best wishes

    Steve

  • look to 1-sim section for button lights instead of the anim's
    Steve McNitt
  • This doesn't help. As written previously - even the example without usage of the aircrafts dataref doesn't work :-(

     

     

Sign In or Register to comment.