Jump to content
Sign in to follow this  
PurdueKev

Saitek Switch Panel - strange ALT behavior

Recommended Posts

Hello:

 

I recently installed LINDA in order to control my Saitek Switch and Radio Panels in P3Dv4.  I have copied and pasted the appropriate profile text from the config-HID-saitek file into config-HID to control the "Default FSX" assignments with the Switch Panel, and all assignments show up properly in the LINDA GUI.  However, for some reason when turning on the ALT switch with the BATTERY switch already on, the BATTERY switch turns off on its own.  This occurs for every aircraft I have tried it with.  Any idea what is occurring? I have tried several times to assign and re-assign the BAT and ALT switches, and I am sure that I have only the action for the Alternator to turn on when the ALT button is activated, but I can confirm this is happening repeatedly.

I do not have the Saitek/Logitech plug-ins activated (so only LINDA is controlling the panels), and I have the latest version of FSUIPC v5 installed.  Have you seen this behavior before?

Thanks!

 


- Kevin

Windows 10 / i9-10900k / Zotac RTX-3080 Trinity OC (12GB) / MSI MEG Z490 ACE mobo / Corsair H150i RGB PRO XT liquid cooler / 32GB Corsair Vengeance LPX 3333MHz C16 DDR4 RAM / Dell Alienware AW3418DW WQHD 3440x1440 GSync / Samsung 970 EVO Plus M.2 2TB (OS) & 860 EVO 4TB SDD / WD Caviar Black 4TB HDD  / EVGA Supernova 850 G5 PSU / Be Quiet Dark Base Pro 900 rev 2 case / Virpil Warbird base with ThrustMaster Warthog HOTAS grip / MFG Crosswind rudder pedals / Virtual-Fly TQ6+ throttle quadrant / Winwing Orion HOTAS F-18 Throttle / Virpil TCS+ collective base with Hawk-60 grip / Saitek Trim Wheel / Saitek Radio and Switch Panels / Winwing Combat Ready Panel / Tobii 5

Share this post


Link to post
Share on other sites

The effect of the ALT turning off the BAT is a feature of the default aircraft not LINDA. It is something I have puzzled over since starting using flt sims.

If you are using the latest LINDA 3.0.1 you do not need to use the config-hid-saitek defaults for the Radio Panel. These functions are now built into the GUI. Go to Setup LINDA and tick Saitek Panels and the go to Setup Joysticks and disable the Radio Panel. 


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

I stand corrected. I went delving into the original LUA code for the default aircraft (lib-fallback.lua) and found a coding error. The Alternator is controlled by offset 3101 of length 1. The code wrote zero to 4 bytes which also turned off the Battery, Avionics and Fuel Pumps. I will correct this in future releases.

However, should you want to make the changes yourself you can do so. Open the LIB-Fallback.lua in the LINDA editor. Search for functions Alternator_on/off/toggle. Change the ipc.writeDD and ipc.readDD to ipc.writeUB and ipc.readUB respectively.

function Alternator_on ()
    ipc.writeUB("3101", 1)
    DspShow ("ALT", "on")
end

function Alternator_off ()
    ipc.writeUB("3101", 0)
    DspShow ("ALT", "off")
end

function Alternator_toggle ()
    if ipc.readUB("3101") == 0 then
        Alternator_on ()
    else
        Alternator_off ()
    end
end

 

 


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

Thanks so much!  I was pulling my hair out wondering what I was doing wrong! :biggrin:  I will try out those edits in the LINDA editor as you described - I very much appreciate you checking into the code!

Cheers!

 


- Kevin

Windows 10 / i9-10900k / Zotac RTX-3080 Trinity OC (12GB) / MSI MEG Z490 ACE mobo / Corsair H150i RGB PRO XT liquid cooler / 32GB Corsair Vengeance LPX 3333MHz C16 DDR4 RAM / Dell Alienware AW3418DW WQHD 3440x1440 GSync / Samsung 970 EVO Plus M.2 2TB (OS) & 860 EVO 4TB SDD / WD Caviar Black 4TB HDD  / EVGA Supernova 850 G5 PSU / Be Quiet Dark Base Pro 900 rev 2 case / Virpil Warbird base with ThrustMaster Warthog HOTAS grip / MFG Crosswind rudder pedals / Virtual-Fly TQ6+ throttle quadrant / Winwing Orion HOTAS F-18 Throttle / Virpil TCS+ collective base with Hawk-60 grip / Saitek Trim Wheel / Saitek Radio and Switch Panels / Winwing Combat Ready Panel / Tobii 5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...