Jump to content

Masterius

Members
  • Content Count

    18
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

Flight Sim Profile

  • Commercial Member
    No
  • Online Flight Organization Membership
    VATSIM
  • Virtual Airlines
    No
  1. Not to wish sounding impatient, but it's been two weeks now. At this point, even a "go pound sand" would be appreciated.
  2. You're very welcome! Hope you continue having fun with both LINDA and flight sims! ~Al
  3. Not sure if this is the only error, but you haven't set the "n" variable in the alarm_enable function. You really don't need that variable unless you want to use an aircraft switch to enable/disable the alarm. I used the gear horn as that wasn't actually used in the A2A B-17. Not sure if you have any handy spare switches. Also, you probably need to autoload/run the function/script during sim initialization. I did so using FSUIPC4, but I'm sure there is a way of doing so with LINDA. I'm just not sure how to do that.
  4. This was how I did it, using FSUIPC4 to autoload the lua file: function fuelcheckAll () fuelcheck1 () fuelcheck2 () fuelcheck3 () fuelcheck4 () end function fuelcheck1 (TankEng1) i = ipc.readLvar("L:TankEng1") n = ipc.readLvar("L:Eng1FuelCutOffSwitch") if (0 < i and i <= 35) and (n==1) then alarm_enable () else end end event.Lvar("L:TankEng1", 60000, "fuelcheck1") function fuelcheck2 (TankEng2) i = ipc.readLvar("L:TankEng2") n = ipc.readLvar("L:Eng2FuelCutOffSwitch") if (0 < i and i <= 35) and (n==1) then alarm_enable () else end end event.Lvar("L:TankEng2", 60000, "fuelcheck2") function fuelcheck3 (TankEng3) i = ipc.readLvar("L:TankEng3") n = ipc.readLvar("L:Eng3FuelCutOffSwitch") if (0 < i and i <= 35) and (n==1) then alarm_enable () else end end event.Lvar("L:TankEng3", 60000, "fuelcheck3") function fuelcheck4 (TankEng4) i = ipc.readLvar("L:TankEng4") n = ipc.readLvar("L:Eng4FuelCutOffSwitch") if (0 < i and i <= 35) and (n==1) then alarm_enable () else end end event.Lvar("L:TankEng4", 60000, "fuelcheck4") function alarm_enable () n=ipc.readLvar("L:GearHornSwitch") if n==1 then alarmf=sound.play("STALLHRN") sound.adjust(alarmf, 100) else end end
  5. After a bit of "window shopping" I purchased the MAAM B-25 for FSX. After the B-17, the B-25 is my next favorite of the bombers. However, after installing, I've run across some issues regarding the software and how it interacts (or, as it currently obtains, does not interact) with my Saitek equipment, and button programming with LINDA. Here is my current information: FSX-SE LINDA 3.0.12.810 FSUIPC4 4.974 Saitek Flight Yoke System w/throttle quadrant Saitek Pro Flight Rudders two (2) additional throttle quandrants Saitel Switch Panel Saitek Radio Panel LINDA cannot activate anything other than one throttle quadrant. It's not that it does not recognize the others, but clicking on any of their buttons gives a momentary flash of the applicable unit before instantly reverting to the single throttle quadrant. None of the switches on the switch panel operate anything, and, since LINDA doesn't connect to the switch panel, I can't set anything. I've no trouble at all with anything when flying my A2A Accusim B-17, or with the default aircraft. Any tips, advice and/or suggestions will be greatly appreciated! ~Masterius
  6. I was rather hoping that someone might have had a reply by now.😐
  7. Thank you for providing the link to the release notes, and especially for this reason: Note: Saitek Pro Flight Yoke users may find that the Mode Switch (right-hand front top selector switch) is not visible to LINDA due to problem with Saitek driver software. To solve this issue go to ..Windows\System32 and search for SaiD0BAC.pr0 and rename it SaiD0BAc.pr0.off. I've been struggling for months to fix that problem. I've emailed Logitech support (what a laugh there); I've posted on multiple forums (which, I'm ashamed to admit, did not include here. In my defense, though, by then I was disgusted with the lack of replies, and had given up fixing it). I cannot begin to thank you enough for your help! Al
  8. Unfortunately, I don't have the 3.0.9 download, as I've only started at 3.0.12, so I don't have those release notes. So where can I find them, please?
  9. I'm experiencing something odd with the rotary dial of the Saitek switch panel. According to the joystick setup page, the "off", "R", "L", and "BOTH/ALL" positions are respectively numbers 14 thru 17. When I rotate the dial clockwise, it functions as expected: [EVNT] Execute Command = "RL:06A30D670:14" [EVNT] Execute Command = "PR:06A30D670:15" [EVNT] Execute Command = "RL:06A30D670:15" [EVNT] Execute Command = "PR:06A30D670:16" [EVNT] Execute Command = "RL:06A30D670:16" [EVNT] Execute Command = "PR:06A30D670:17" However, when I rotate counterclockwise, it does this: [EVNT] Execute Command = "PR:06A30D670:16" [EVNT] Execute Command = "RL:06A30D670:17" [EVNT] Execute Command = "PR:06A30D670:15" [EVNT] Execute Command = "RL:06A30D670:16" [EVNT] Execute Command = "PR:06A30D670:14" Unless I am mistaken, I believe that should be: [EVNT] Execute Command = "RL:06A30D670:17" [EVNT] Execute Command = "PR:06A30D670:16" [EVNT] Execute Command = "RL:06A30D670:16" [EVNT] Execute Command = "PR:06A30D670:15" [EVNT] Execute Command = "RL:06A30D670:15" <-----doesn't execute at all [EVNT] Execute Command = "PR:06A30D670:14" Any ideas what might be going on?
  10. Sorry, that'd help I'm sure. It's the A2A B-17
  11. Code loads up fine, no red lines or error messages. Here is the code itself: function All_Magnetos_Off_a () ipc.writeLvar("L:Magnetos1Switch",0) ipc.sleep(1500) ipc.writeLvar("L:Magnetos2Switch",0) ipc.sleep(1500) ipc.writeLvar("L:Magnetos3Switch", 0) ipc.sleep(1500) ipc.writeLvar("L:Magnetos4Switch",0) ipc.sleep(1500) end function All_Magnetos_R_a () ipc.writeLvar("L:Magnetos1Switch",1) ipc.sleep(1500) ipc.writeLvar("L:Magnetos2Switch",1) ipc.sleep(1500) ipc.writeLvar("L:Magnetos3Switch", 1) ipc.sleep(1500) ipc.writeLvar("L:Magnetos4Switch",1) ipc.sleep(1500) end function All_Magnetos_L_a () ipc.writeLvar("L:Magnetos1Switch",2) ipc.sleep(1500) ipc.writeLvar("L:Magnetos2Switch",2) ipc.sleep(1500) ipc.writeLvar("L:Magnetos3Switch", 2) ipc.sleep(1500) ipc.writeLvar("L:Magnetos4Switch",2) ipc.sleep(1500) end function All_Magnetos_Both_a () ipc.writeLvar("L:Magnetos1Switch",3) ipc.sleep(1500) ipc.writeLvar("L:Magnetos2Switch",3) ipc.sleep(1500) ipc.writeLvar("L:Magnetos3Switch", 3) ipc.sleep(1500) ipc.writeLvar("L:Magnetos4Switch",3) ipc.sleep(1500) end
  12. I'm running LINDA Version 3.0.12.810, and have been for about two months now.Never really had any problems before, except for a little glitch at setup over my throttle quadrants. I've been writing my own lua scripts, and they've been running just fine up until the middle of last week. Now, however, if a newly-created function attempts to write to, or read from, a Lvars, nothing happens. I can see the function called, I can trace the button as it is activated and deactivated, but the LVar value itself does not change. As well, if I remove a function that has been working, make and save any changes to the user.lib, and then paste that function back inside, it no longer works. I've no idea what's up, but it's intensely frustrating. Al
  13. For some reason I no longer can add functions to LINDA. In fact, if I simply delete a function that has always worked, save the user library, open that and paste the function back inside, exactly where it formerly was, it will no longer work. Not sure what's up: hoping there's a way of repairing the program; if not, I'll have to clean install it.
  14. While trying to trace and debug a script I'm working on, FSUIPC4 detected something going on with init.lua (located in C:\Steam\steamapps\common\FSX\Modules\linda\system). The date of the file is 9/23/2018, so it isn't as if I've accidentally modified it. The particular error is: Syntax error! ...steamapps\common\FSX\Modules\linda\system\common.lua:109: attempt to call global 'buttonRepeatClear' (a nil value) stack traceback: ...steamapps\common\FSX\Modules\linda\system\common.lua:109: in function 'Init' ...Steam\steamapps\common\FSX\Modules Line: 287: in main chunk
  15. -- Fuel Alarm --function Fuel_Alarm()if ipc.readLvar("A:FUEL_TOTAL_QUANTITY, gallons")<=X then alarmf=sound.play("BingoFuel") sound.adjust(alarmf, 100) end ipc.sleep(50)end X being the integer amount for your number of gallons. You may need to tweak the sound to match your system.
×
×
  • Create New...