This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Realsim gear and TDS
#10
OK, for anyone interested, I coded an Air Manager solution that is working for me.  

I created a generic switch that sets the LVARS.  Here is my code to disable or re-enable the GNS430.  Simply change the 430 to 530 as needed.  I do hope this helps some folks.  Thanks for reading.




function switch_click_callback(position)

    if position == 0 then

        switch_set_position(switch_id, 1)

        fs2020_variable_write("L:XMLVAR_GPS_DISABLED_AS430_1", "Enum", 1)

    elseif position == 1 then

        switch_set_position(switch_id, 0)

        fs2020_variable_write("L:XMLVAR_GPS_DISABLED_AS430_1", "Enum", 0)

    end

end
Reply


Messages In This Thread
Realsim gear and TDS - by barneybus - 04-12-2024, 01:32 PM
RE: Realsim gear and TDS - by adminOwner2 - 04-13-2024, 10:35 AM
RE: Realsim gear and TDS - by adminOwner2 - 04-13-2024, 10:41 AM
RE: Realsim gear and TDS - by barneybus - 04-13-2024, 03:22 PM
RE: Realsim gear and TDS - by Larry J - 04-13-2024, 04:21 PM
RE: Realsim gear and TDS - by adminOwner2 - 04-14-2024, 09:57 AM
RE: Spad.Next - by Larry J - 04-14-2024, 02:58 PM
RE: Realsim gear and TDS - by adminOwner2 - 04-15-2024, 12:13 AM
RE: Realsim gear and TDS - by Larry J - 04-24-2024, 10:16 PM
RE: Realsim gear and TDS - by Larry J - 04-25-2024, 01:42 AM
RE: Realsim gear and TDS - by adminOwner2 - 04-25-2024, 11:41 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)