• Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum

KA350i Avionics switch

Scheduled Pinned Locked Moved Steam Gauge Overhaul
24 Posts 7 Posters 2.2k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raysot
    wrote on last edited by
    #3

    Thanks for your kind reply. I couldn't figure out what interface that was, but found it out was Spad.Next.

    I'm using Spad.Next to drive the buttons/knobs on my RealSimGear GNX:750 and I have to say I'm liking it more and more.

    The other switches that are giving me trouble are:

    1. External Power (GPU)
    2. Gen 1 and Gen 2

    If you have these modeled in Spad, I'd love to hear back from you. (Ironically, the more complicated ones like the Starter switches work fine. Just seems to be the switches that use their own Bus logic.)

    Thanks for your reply. The Avionics switch works now!

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to raysot on last edited by
    #4

    @raysot there are a few switches/knobs that animation does not work, but you can setup the function using Spad.Next anyway.

    Below follow the ones I could NOT make them work 100% (no animation)

    Ext Power Switch
    Bus Sense Switch
    Gen Ties Switch
    Surface Deice Switch
    Batt Bus Switch

    You can still configure them using Spad.Next just setup the LVARs indicated below, just keep in mind they might not move though.

    Ext Power Switch
    (>B:ELECTRICAL_ExternalPower_1_Toggle)
    Bus Sense Switch
    RESET
    0 (>L:var_busFaultDetected, bool)
    0 (>L:var_simulatedBusFaultDetected, bool)
    TEST
    1 (>L:var_simulatedBusFaultDetected, bool)
    1 (>L:var_masterCautionLatching, number)
    Gen Ties Switch
    CLOSE
    1 (>L:var_busTieManClose, bool)
    0 (>L:var_busTieManOpen, bool)
    NORM
    0 (>L:var_busTieManOpen, bool)
    OPEN
    0 (>L:var_busTieManClose, bool)
    1 (>L:var_busTieManOpen, bool)
    Surface Deice Switch
    SINGLE CYCLE
    (A:STRUCTURAL DEICE SWITCH, Bool) ! if{ (>K:TOGGLE_STRUCTURAL_DEICE) 1 (>A:CIRCUIT SWITCH ON:89, bool) }
    120 (>L:var_surfaceDeiceTimer, number)
    1 (>L:var_manualDeiceMode, bool)
    OFF
    (L:var_manualDeiceMode, bool) if{
    0 (>L:var_surfaceDeiceTimer, number)
    (A:STRUCTURAL DEICE SWITCH, Bool) if{ (>K:TOGGLE_STRUCTURAL_DEICE) 0 (>A:CIRCUIT SWITCH ON:89, bool) }
    }
    0 (>L:var_manualDeiceMode, bool)
    MANUAL
    (A:STRUCTURAL DEICE SWITCH, Bool) ! if{ (>K:TOGGLE_STRUCTURAL_DEICE) 1 (>A:CIRCUIT SWITCH ON:89, bool) }
    10 (>L:var_surfaceDeiceTimer, number)
    0 (>L:var_manualDeiceMode, bool)
    Batt Bus Switch
    (L:var_batteryDisconnect, bool)

    Below follow the ones you requested

    EXTERNAL POWER

    ca1f90c8-54f4-4cd1-9399-9b7ec0a19118-image.png

    d9b70fe3-6a9c-463d-a101-5660e57f7e3f-image.png

    972bb8aa-4fcf-4a01-b020-412e068239c9-image.png

    12a1c9fc-39a4-4a84-a372-48b6f69860ee-image.png

    Gen1

    c48e196b-d593-4a97-81f6-e68078ca25d6-image.png

    6826911d-688e-4ff4-98f4-6d90b92aebad-image.png

    f9fcdff8-69eb-4124-926f-830d88f5474f-image.png

    2bc72da9-dd48-41e7-9e1f-f9e609f71277-image.png

    ea10d35c-bc3d-4d4e-8a44-247c6b15cc01-image.png

    e2ed79ab-50c6-49ae-9df2-07e21593369d-image.png

    c2914f38-007e-416c-91cb-317bf17982f0-image.png

    In my case I setup multiple functions to the same hardware switch, that's the reason I check the status of another button (you may disregard some of these conditions).

    For the GEN 2 just use the same conditions and actions replacing VAR_GENSWITCHPOS_L by VAR_GENSWITCHPOS_R

    Regards,

    Anderson

    Hangar 101

    R E 2 Replies Last reply
    0
  • R Offline
    R Offline
    raysot
    replied to hangar_101 on last edited by
    #5

    @anderson

    You're awesome!!

    Thanks for providing such detail. I already have the Avionics switch working and will be starting all these other switches over the weekend.

    My conversion project from XP-11 to 2020 was essentially stalled because I could find no useful interface for these complex RPN structures.

    This is a good step because I'm already using Spad to drive my RealSimGear750.

    Thanks again my friend...
    Ray

    1 Reply Last reply
    0
  • E Offline
    E Offline
    Escriba
    replied to hangar_101 on last edited by
    #6

    @anderson This is a fantastic work and information. Thanks for sharing
    The Bonanza is working perfect and i can enjoy, but the King Air have some functions i can´t get past.
    For example you have here the GEN 1 and 2 for "button pressed" , but i´m using switch button. At this moment i can´t make the GEN1 OFF. If i assign "VAR_GENSWITCHPOS_L (LVAR) to 0", nothing happen.
    Am i miss something?

    Thanks in advance
    Alex

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to Escriba on last edited by hangar_101
    #7

    @escriba most likely you are missing the toggle_alternator event, you shall change the LVAR but also must execute the toggle event, see example below.
    Notice I check for different scenarios when turning off the GEN, alternator can be ON or OFF, depending on the scenario I raise a toggle_alternator event or not.
    I also have a script in place just to make sure the switch position in the airplane panel matches the switch position in the home cockpit hardware, this just keeps them in sync. You may not want to implement all these options, so adapt the code to your need. The action boxes have all the command sequence you need to configure your switch button, but keep in mind the airplane switch has three positions.

    4f640401-676a-4f63-b5c9-f4735141a1a6-image.png

    13530e3d-5329-494f-8480-86fb0fd70105-image.png

    3177d62c-99ae-4b3f-b19c-3e4ef9b6ce18-image.png

    Regards,

    Anderson

    Hangar 101

    E 1 Reply Last reply
    0
  • E Offline
    E Offline
    Escriba
    replied to hangar_101 on last edited by
    #8

    @anderson Sorry no feedback but very busy at work.
    All instructions have are good, almost everything works perfect with exception of the start.
    I only can do it with the mouse and not binding any switch.
    Everything i try the switch go down to "Starter Only". But never to "Engine start"
    I cannot find the event. Can you help?
    Thanks in Advance
    844e8744-de27-48ac-b8d4-d35e6641e676-image.png

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to Escriba on last edited by
    #9

    @escriba see below

    note 1: as usual disregard the JOY condition (it's a particular check I do due the use of multiple functions to the same hardware switch)

    note 2: I posted screenshots for left engine only, for right engine use GENERAL ENG STARTER:2 and TURB ENG IGNITION SWITCH EX1:2 instead

    32b6755a-4fdf-4fa8-a5df-a7f032e7b316-image.png

    2df888a3-cd96-4b20-ba63-59ee5f9a9f0b-image.png

    253747f2-0aa2-43ae-8767-6067f0c35f65-image.png

    c80c7860-7f9b-485f-829b-f910f93bb8b6-image.png

    8346926c-37c7-40b1-ad8b-8a80e9182dfb-image.png

    2a5cc08d-b513-4cb2-91ab-9a00829d4ad1-image.png

    Regards,

    Anderson

    Hangar 101

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by
    #10

    @anderson I am new to SPAD.next and I'm curious where did the [SWITCH_ENGINE (Device)] come from. I can't find that in my SPAD.

    tia

    L R 2 Replies Last reply
    0
  • L Offline
    L Offline
    Lemny
    replied to meh1951 on last edited by Lemny
    #11

    alt text

    Worked for me for the engine start.

    1 Reply Last reply
    0
  • X Offline
    X Offline
    xkris74
    wrote on last edited by
    #12

    How does one figure out all that stuff. All I can do is using the data monitor or event monitor in Spadnext to find out what values change or what events are being sent when I operate a switch or button in the virtual cockpit. This method works fine for some simpler aircrafts but not for the King Air. So ist there a way to acquire this knowledge or is it all guesswork and trial an error ?

    1 Reply Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by meh1951
    #13

    @anderson
    Using this I can get the switch to move but it does not turn on everything. If I pull the breaker and push it back in it turns on. What am I missing.

    I also found the same thing on AVSIM Forum from December

    Trying to get the avionics master switch to work for the Black Square king air with my Alpha, using Spad.next . I can get the switch to move up and down by updating "VAR_AVIONICSMASTERSWITCH", but the avionics don't actually power on. Strangely, if I pull the avionics breaker, and push it back in, they come on. Is there some variable or event I'm missing here?

    After doing the breaker trick if I turn bat, alt and avionics off then all I have to do is turn on the battery on and the GOS (530) comes on.
    So is this an issue in the AnalogKinAir.xml file??

    59881fe2-bbe7-48c5-ab99-e2af88e4d788-image.png

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to meh1951 on last edited by
    #14

    @meh1951 the LVAR VAR_AVIONICSMASTERSWITCH alone does not do the trick for the Avionics, you must add the other commands (ELECTRICAL_BUS_TO_BUS_CONNECTION_TOGGLE & ELECTRICAL_CIRCUIT_TOGGLE) as indicated in my previous post in this thread dated back Mar 15th.

    Hangar 101

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by
    #15

    @anderson
    I have added what you had. Does the order matter?

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to meh1951 on last edited by
    #16

    @meh1951 yes, you must execute in the same sequence as indicated. This sequence you can verify by looking into the events page when you switch avionics on using the mouse.

    Hangar 101

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by
    #17

    @anderson
    I just can't get this to work

    e7604bed-0e82-40af-bb6a-67e7790fc37d-image.png

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to meh1951 on last edited by hangar_101
    #18

    @meh1951 notice there are two conditions that must be observed for Avionics switch ON. You are covering just the first one for SWITCH_ENGINE == 0, maybe you need to add the second condition (SWITCH_ENGINE =! 0) and the respective actions to be executed (in this case you don't execute the ELECTRICAL_CIRCUIT_TOGGLE event(131)). Please refer to my previous post on this thread for details.

    Hangar 101

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by meh1951
    #19

    @anderson
    Does not change the fact that GPS (530) does not turn on when I turn avionics switch on and Starter won't kick in unless I turn OFF the Avionics Switch.

    Avionics On
    0791fcb9-6655-41da-8abb-65bef0f442ec-image.png

    Avionics OFF
    d5d62b34-bc4b-4908-bc0e-cd86af776e58-image.png

    hangar_101H 1 Reply Last reply
    0
  • hangar_101H Offline
    hangar_101H Offline
    hangar_101
    replied to meh1951 on last edited by hangar_101
    #20

    @meh1951 do you have the latest version of GNS530 installed (Working Title)+ latest version of GTN750 (2.1.84) installed (including the patch version 1.1.4 and the King Air mod version 1.0.8)?

    Try and publish a short video to illustrate the issue, it may help understand if there's something else missing.

    Hangar 101

    M 3 Replies Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by meh1951
    #21

    @anderson
    I only have the WT GNS530 1.1.4 (latest)installed.
    I will try to get a VID.
    https://www.dropbox.com/s/8gelc2l6vf9cxm4/Microsoft Flight Simulator 2023.05.15 - 20.31.33.01.mp4?dl=0

    1 Reply Last reply
    0
  • M Offline
    M Offline
    meh1951
    replied to hangar_101 on last edited by meh1951
    #22

    @anderson
    Did this help?

    https://www.dropbox.com/s/8gelc2l6vf9cxm4/Microsoft Flight Simulator 2023.05.15 - 20.31.33.01.mp4?dl=0

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users