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.

Zibo 737 APU start

Trying to tether the APU start switch to a button. There must be something I am not getting because it seems so straight forward.
Run detective, monitor for 30 secs, detected hide, etc....
Then I flip the APU switch in the sim and get:

OFF = laminar/B738/spring_toggle_switch/APU_start_pos DataRef Data: 0
ON - laminar/B738/spring_toggle_switch/APU_start_pos DataRef Data: 1
Start - laminar/B738/spring_toggle_switch/APU_start_pos DataRef Data: 2

I create a bespoke and set it to 0, 1, or 2 and I get no movement from the switch at all using the "Test bespoke event" button.

What am I doing wrong?
Any help appreciated.
Thanks
Dave

Comments

  • Hi Dave,

    I'll look into it when I get back in front of my PC later today. It could be that the datarefs are read only.

    Best wishes
    Steve
  • Appreciate it Steve. I don't think I get all the concepts of xplane and datarefs just yet!
  • Hi Dave,

    Those datarefs are read only - the developer decided that, nothing I can do about it.

    However, when investigating I noticed there are some Commands for moving the apu switch up and down. They are:

    laminar/B738/spring_toggle_switch/APU_start_pos_up
    laminar/B738/spring_toggle_switch/APU_start_pos_dn

    You could assign these directly to a switch or rotary, or use them in a Bespoke Event that reads the state of the dataref to determine if the Command should be sent. You will find these Commands in the Command section of Detective with the Custom button selected.

    I'll look at adding some sort of indication in Detective to identify read only datarefs in the next release.

    Best wishes
    Steve
  • Thanks Steve. I saw those commands and I think I tried them. I'll give them another go and see if I can come up with something!
  • Those Commands do work Dave as I tested them.

    Best wishes
    Steve
  • Success or at least partial success. I created a bespoke push button to turn the APU on and off, ie between position 0 and 1

    OFF = laminar/B738/spring_toggle_switch/APU_start_pos DataRef Data: 0
    ON - laminar/B738/spring_toggle_switch/APU_start_pos DataRef Data: 1

    I used these two for the "if" statements and the commands for the action I wanted.

    Now, I am trying to get the switch to move to the "start" position;(using another button)

    Start - laminar/B738/spring_toggle_switch/APU_start_pos DataRef Data: 2

    This is the process I don't get, the only thing that shows up in the window when I move the switch is the dataref showing position 2. That is, as you said "read only". How do I find the command that coincides to make the switch move? Is it just trial and error?

    Thanks
    Dave
  • edited May 2018
    The Commands do move the switch to all positions (it moves it up or down from its current position). You could create a Bespoke Event that reads the dataref providing the switch state and then send the appropriate number of up or down commands to get the switch to the position you want. Something like:

    Switch laminar/B738/spring_toggle_switch/APU_start_pos
    case 0:
    send laminar/B738/spring_toggle_switch/APU_start_pos_up
    send laminar/B738/spring_toggle_switch/APU_start_pos_up
    case 1:
    send laminar/B738/spring_toggle_switch/APU_start_pos_up
    EndSwitch

    Best wishes
    Steve
  • Thanks Steve, I had forgotten about the Switch and Case feature.
    Did you get the switch to move to the start(2) position?

    I got the on(1) and off(0) positions sorted out with ifs and gotos. My issue is that for the life of me I can't get the switch to move from the on(1) position to the start(2) position. Tried switch/case and ifs/gotos. No luck.

    Dave
  • Hi Dave,

    Just done a test and the APU switch is spring loaded on the Start position, so when its released it springs back to ON.

    I simply built a Bespoke Event that sent the laminar/B738/spring_toggle_switch/APU_start_pos_dn twice and the APU did start, although the switch in the VC never actually moved past ON or it at least happened so fast that it appeared to never move past ON.

    Best wishes
    Steve
  • YES!!!
    Thanks Steve, that worked. Still curious about the inner workings and why we can't get the switch to move.
    On to the next one!
    Dave
Sign In or Register to comment.