Jump to content
The simFlight Network Forums

guenseli

Moderators
  • Posts

    464
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by guenseli

  1. Hello Pete,

    thanks for reply..

    I talk about FSX, sorry.

    PMDG Addons have the tendency with ASE to get into S-turns, wobbling etc.

    There are countless threads about it and this could be prevented by enabling FSUIPCs Wind smoothing (Turbulence, gusts, variance)

    Other addons do not have this behave and therefore I'd like to have this smoothing disabled to get some rough rides with ASE's wind.

    Of course it is not too much work to enter FSUIPC menu enable and disable it, but I just wanted to ask...

    If its a huge affort to you, then forget my question ;-)

    thanks,

    Günter

  2. Hello Pete,

    a little idea came to my mind as I was fiddling around with PMDG aircraft and the well known wind problem (which could gladly be solved by FSUIPC) using ASE.

    But many other addons work flawlessly with no wind settings in FSUIPC and using Active Sky.

    (This is no rant to ASE nor to PMDG!!)

    Could it be possible to have the wind smoothing options tied to to a specific addon?

    Like it is currently possible with buttons axes, calibration etc???

    This would be a great feature if FSUIPC could set wind smooting automatically for PMDG and disable it for other addons, for example.

    Is such a feature possible to implement?

    Many thanks,

    Günter

  3. So you must have had early access to the aircraft?

    no, unfortunately not - just 30 hours after release, after the "server hack"

    But it was really easy to fiddle the variables and controls out with LINDA.

    It is unbelieveable how easy such things are now.

    Just looked it up: we have about 300 functions now :wink:

    All credits go here to Artem Crum which made a brilliant tool!!!

  4. Pete, allow me, to make a bit of advertisement for LINDA again...

    The last days we fiddles out countless functions which are already working with LINDA and could be assigned to any Joystick (HID Device) and the MCP Combo.

    We have Autopilot fully working, EFIS, lights in and out, , Transponder, Autobreak, Gear, Fuel, Engine start, APU etc etc ...

    LINDA is awaiting you :wink:

  5. We are proud to announce the relase of LINDA!

    LINDA is the Lua Integrated Non-complex Device Assigning Tool for FSX.

    Developed by Artem Crum was LINDA growing over the last month from a few LUA scriptings to a complete Interface with many useful tools and abilities!

    - With LINDA you could easily assign any of your Joysticks/HID Devices via a simple pop-up menu

    - easy assigning with one click of all FSX controls

    - Theres already a set of LUA scripts integrated so can assign special functions for several addons, like PMDG MD11/JS41 or A2A Accusim aircraft, IFly737 etc (you can assign these functions as easy as normal commands: simple click into the pop-up)

    - VRInsights MCP Combo is fully supported and LINDA added much more features to the combo, like enhanced display possibilities, radio mode button toggles Radio DME/ADF/VOR sounds, several modes for each part of the combo.

    - Easy changing and assigning of controls and functions (simple pop-up click)

    - No SerialFB and Keymapper needed any longer (but you could run it if you use other VRInsight devices), No VSPE needed.

    - LINDA should be a platform for creating and gathering LUA scripts for advanced addons

    - LINDA has several useful tools implemented so that LUA hunting and creating functions for advanced addons would be a lot easier!

    That just a few features ... read more in the LINDA forum at AVSIM, please

    For any questions about LINDA please use also these LINDA forums ...

    Oh, nearly forgot it ... LINDA is freeware!

    I hope we could see you as new LINDA users, soon :wink:

    Thanks for reading!

    Günter

    LINDA needs a registered copy of FSUIPC!

  6. I have another question, Pete!

    Searched through FSX controls and offsets, but I can't find how to toggle the switch between VOR1/ADF1 and VOR2/ADF2 at the FSX default 737 VOR/ADFR pointer gauge.

    Hope you know what I mean. Its the gauge who is showing the direction to the setted VOR or ADF. And you can toggle if VOR or ADF should be shown...

    Can't find any settings for this...?

    Many thanks again,

    Günter

  7. Hi Pete,

    thansk for your detailed answer!

    Helped a lot!

    If it isn't actually implemented in the aircraft of your choice you've need to have a little Lua program which read the heading offset, converted it from FS units to an integer, and wrote it to the AP heading bug offset, then enabled the heading hold

    Yes, I thought about that.... just wanted to know if I have overseen some "hidden" function...

    many thanks,

    Günter

  8. First, I try to answer your question... hopefully easin your confusion ;-)

    Er, sorry. I don't understand. How many "simconnect.ini"s do you find?

    I have one found in the "Files" folder, but no one in the german "Dateien" folder.

    And I realised, that an ini file in the english folder doesn't do anything!

    Of course I used this simconnect.ini from your FAQ "Logging Simconnect"

    I have just posted the code of the ini I found for your interest. I don't know from where and and why it is there.

    But ok, as it is useless, we can forget about it...

    Was your previous "latest update" actually 4.667 rather than 4.669 by any chance?

    indeed you are right: I couldn't say for sure which version it was... sorry.

    Could be 4.667 also.. maybe I missed the 4.699 but couldn't say it...

    I have now changed the FSUIPC entry in the Dll.xml to the last position, but FSX/FSUIPC is working as it should.

    FSUIPC is working and in the menu...

    I have NOT used your 4.70b till now!

    And yes, the simconnect.log is from a proper loading of FSUIPC and all Dll's are loaded right in the sim.

    Since the last failures I haven't had a issue with FSUIPC... after changing FSUIPC position in the Dll.xml.

    But obvisously it was maybe just a coincidence...?

    What should I do now?

    Should I let run the simconnect log the next days (hoping I could catch a failure)? (this would be a very big log file then in the end or not?)

    Should I install the 4.70b anyway??

  9. <?xml version="1.0" encoding="Windows-1252"?>
    
    <SimBase.Document Type="Launch" version="1,0">
      <Descr>Launch</Descr>
      <Filename>dll.xml</Filename>
      <Disabled>False</Disabled>
      <Launch.ManualLoad>False</Launch.ManualLoad>
    	<Launch.Addon>
    		<Name>FSUIPC 4</Name>
    		<Disabled>False</Disabled>
    		<Path>Modules\FSUIPC4.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>Object Placement Tool</Name>
    		<Disabled>True</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>..\Microsoft Flight Simulator X SDK\SDK\Mission Creation Kit\object_placement.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>Traffic Toolbox</Name>
    		<Disabled>True</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>..\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Traffic Toolbox SDK\traffictoolbox.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>Visual Effects Tool</Name>
    		<Disabled>True</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>..\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Special Effects SDK\visualfxtool.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>PMDG Options</Name>
    		<Disabled>False</Disabled>
    		<Path>PMDG\DLLs\PMDGOptions.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>PMDG Events</Name>
    		<Disabled>False</Disabled>
    		<Path>PMDG\DLLs\PMDGEvents.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>PMDG Sounds</Name>
    		<Disabled>False</Disabled>
    		<Path>PMDG\DLLs\PMDGSounds.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>VistaMare Core</Name>
    		<Disabled>False</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>VistaMare\ViMaCoreX.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>FSLOptions</Name>
    		<Disabled>False</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>FSLabs\DLLs\FSLOptions.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>FSLEvents</Name>
    		<Disabled>False</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>FSLabs\DLLs\FSLEvents.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>FSLSounds</Name>
    		<Disabled>False</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>FSLabs\DLLs\FSLSounds.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>Level-D Simulations</Name>
    		<Disabled>False</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>Modules\LVLD.dll</Path>
    	</Launch.Addon>
      <Launch.Addon>
    		<Name>Kokpit</Name>
    		<Disabled>False</Disabled>
    		<ManualLoad>False</ManualLoad>
    		<Path>SimObjects\Airplanes\HUGHES_H1B\panel\Cockpit_Sound.dll</Path>
    		<DllStartName>module_init</DllStartName>
    		<DllStopName>module_deinit</DllStopName>
    	</Launch.Addon>
    
    </SimBase.Document>

    just for your interest: that is the old simconnect.ini.

    I have changed this to your suggestions in the simconnect logging thread.

    [SimConnect]
    level=off
    console=0
    ;OutputDebugString=0
    ;file=c:\SimConnect%03u.log
    ;file_next_index=1
    ;RedirectStdOutToConsole=0

    I will send you a mail with the simconnect.log file immediatelly...

    I have had Active sky Evolution activated and started FSX for one time

    and a sidenote:

    if you have a german OS you will have another folder

    "Flight Simulator X-Dateien" beside the english Flight Simulator X Files"

    The modified simconnect.ini have to be placed in the german "Dateien" folder.

    Maybe in other languages theres a similar difference...

    Günter

  10. I have had the same issue yesterday:

    installed 4.70 just over my existing 4.6X (latest and last incremental update)

    First flights where good, everything fine - FSX started and closed several times, than suddenly after a new start FSUIPC was gone.

    Next time I was restarting FSX FSUIPC was there again, but then after that it was gone "forever".

    I "rearanged" the DLL.XML, deleted the "[trusted] section in the FSX.cfg, copied in the FSUIPC part from an old backup - without effort.

    What helped was to copy the FSUIPC code at the first place of the Dll.xml.

    Since then it is working without any problems....

    Günter

    edit: system: FSX with acceleration

    Win7 with Admin rights and UAC off.

  11. Hi Pete,

    now, a few days later I have "understood" now the function stuff and especially the event.param one.

    This is a little testscript which is working as it should and I'm proud of :wink:

    function Test(param)
    
    if ipcPARAM == 1 then
    	ipc.display("parameter 1")
    
    
    elseif ipcPARAM == 2 then
    	ipc.display("parameter 2")
    
    end
    end
    
    event.param("Test")

    Next hard work will be to rewrite my current LUA scripts to this method, especial the J41 LUA ...

    Thanks again very much much for your patience and help!

    Günter

  12. Hello Pete,

    thanks for answering!

    "SP mode" being what .. single player instead of multiplayer? I've not seen the term before.

    Yes, SinglePlayer...maybe thats just a german term...

    Why did you never mention it? I thought we solved all the Lua re-entry crashes way back, over a year ago. There's been no reports at all since then!

    It never came up again... but just very seldom from time to time. And not in every case I could be sure thats cause of the LUAs

    I never had it till yesterday with my new PC. And Online in IVAO yesterday it happened twice. So I forced it to happen in "SP" (offline) too to be sure that was not caused by the IVAP software.

    I see you still have not discovered events?

    No... :oops:

    But I ignrore new things as long as I don't need them urgently... :wink:

    You know, I'm no programmer!

    I will have a look into this... but I need some examples, please! Are there any examples you can point me to, please?

    Why all the sleep(40)'s

    Indeed because I thought that solves this crashing.

    As you explain it, it makes things obvisiously worser. Will immediatelly delete them!

    Maybe that is enough to solve my problem, otherwise I will "outsource" the dialing code from the main LUA.

    And I will have a look into the event-stuff, of course.

  13. Hello Pete,

    I have a LUA script for the PMDG J41.

    I can make FSX reproduceable crash when dialing on my MCP combo.

    I can dial longer in SP mode, but Online on IVAO it crashed two times today after some dials of ALT or HDG.

    Never have noticed the crash in SP Mode, but it needs a really long dial before it is crashing, I have found out now.

    So its possible in SP, too...

    This issue was also with my old PC, but I have thought it is solved with the new one: I7 930@ 4,4 Ghz, GTX470, 6 Gig Ram 1600

    I have of course installed the latest FSUIPC 4.661

    Here is the relevant LUA script part:

    -- ALT plus
    
    elseif ipcPARAM == 10 then
    
    		Var = ipc.readLvar("IrcAltSelKnob")
    		if Var >= 100 then 
    		Var = 1
    		end
    		ipc.writeLvar("IrcAltSelKnob", Var+1)
    
    	   	ipc.control(66587,3921)
    
    		ipc.control(66587,8031)
    	   	ipc.sleep(40)
    
    
    -- ALT plus fast
    elseif ipcPARAM == 11 then
    
    		Var = ipc.readLvar("IrcAltSelKnob")
    		if Var >= 100 then 
    		Var = 1
    		end
    		ipc.writeLvar("IrcAltSelKnob", Var+5)
    
    
    		for n=1, 10, 1 do
    	   	ipc.control(66587,3921)
    		end
    		ipc.control(66587,8031)
    	   	ipc.sleep(40)
    
    
    
    -- ALT minus
    
    elseif ipcPARAM == 12 then
    
    
    
    		Var = ipc.readLvar("IrcAltSelKnob")
    		if Var <= 1 then 
    		Var = 100
    		end
    		ipc.writeLvar("IrcAltSelKnob", Var-1)
    
    	   	ipc.control(66587,3920)
    		ipc.control(66587,8031)
    	   	ipc.sleep(40)
    
    
    
    -- ALT minus fast
    
    elseif ipcPARAM == 13 then
    
    		Var = ipc.readLvar("IrcAltSelKnob")
    		if Var <= 1 then 
    		Var = 100
    		end
    		ipc.writeLvar("IrcAltSelKnob", Var-5)
    
    		for n=1, 10, 1 do
    		ipc.control(66587,3920)
    		end
    		ipc.control(66587,8031)
    	   	ipc.sleep(40)
    
    -- HDG plus
    
    elseif ipcPARAM == 15 then
    
    
    	   	ipc.control(66587,26902)
    
    		ipc.control(66587,8031)
    	   	ipc.sleep(50)
    
    
    
    -- HDG plus fast
    
    elseif ipcPARAM == 16 then
    
    		for n=1, 10, 1 do
    	   	ipc.control(66587,26902)
    		end
    
    		ipc.control(66587,8031)
    	   	ipc.sleep(50)
    
    
    -- HDG minus
    
    elseif ipcPARAM == 17 then
    
    
    	   	ipc.control(66587,26901)
    
    		ipc.control(66587,8031)
    	   	ipc.sleep(50)
    
    
    -- HDG minus fast
    
    elseif ipcPARAM == 18 then
    
    		for n=1, 10, 1 do
    	   	ipc.control(66587,26901)
    		end
    
    		ipc.control(66587,8031)
    	   	ipc.sleep(50)
    

    You can find the whole (long) LUA Script in your "User contributions"

    Do you think, the complete LUA is too big?

    So the rotary parts should be layed out in an extra, shorter LUA? Could that help?

    Or do have any other idea what could lead to the FSX crash...?

    Btw: there's no warning or LOG noted about. FSx is still hanging and crashes after a while.

    Hope you have a good idea (as always)!

    Many thanks,

    Günter

  14. LUA script for the famous A2A Accusim Spifire.

    -- List of parameters

    --

    -- 1 Generator on

    -- 2 Generator off

    -- 3 Generator Toggle

    --

    -- 4 Primerstate open

    -- 5 Primerstate closed

    -- 6 Primerstate toggle

    -- 7 Priming

    -- 8 Primer releasing and priming

    --

    -- 9 open Lid and starter ON

    -- 10 starter OFF and close Lid

    --

    -- 15 Boost cut out off

    -- 16 Boost cut out on

    -- 17 Boost cut out toggle

    --

    -- 20 Mixture ratio lever weak

    -- 21 Mixture ratio lever rich

    -- 22 Mixture ratio lever toggle

    --

    -- 23 Top (Left) Fuel Selector ON

    -- 24 Top (Left) Fuel Selector OFF

    -- 25 Top (Left) Fuel Selector toggle

    --

    -- 26 Bottom (right) Fuel Selector ON

    -- 27 Bottom (right) Fuel Selector Off

    -- 28 Bottom (right) Fuel Selector toggle

    --

    -- 30 Ventral recog light "Beacon" steady

    -- 31 Ventral recog light "Beacon" OFF

    -- 32 Ventral recog light "Beacon" morse

    --

    -- 33 dorsal recog light steady

    -- 34 dorsal recog light OFF

    -- 35 dorsal recog light morse

    --

    -- 36 morse key

    -- 37 morse key on

    -- 38 morse key off

    --

    -- 40 Landing light extending

    -- 41 Landing light retracting

    -- 42 Landing light ext/retr toggle

    --

    -- 43 Left Landing light ON

    -- 44 Left Landing light OFF

    -- 45 Right Landing light ON

    -- 46 Right Landing light OFF

    --

    -- 50 Left Landing light extend and ON

    -- 51 Left Landing light retract and OFF

    -- 52 right Landing light extend and ON

    -- 53 right Landing light retract and OFF

    --

    -- 55 LL Beam up

    -- 56 LL Beam down

    --

    -- 60 Defroster inc

    -- 61 Defroster dec

    --

    -- 62 Gunsight ON

    -- 63 Gunsight OFF

    -- 64 Gunsight Toggle

    --

    -- 70 Oxy Alt Valve set inc

    -- 71 Oxy Alt Valve set dec

    -- 72 Oxymask and valve on/open

    -- 73 Oxymask and valve off/closed

    --

    -- 80 Bottom Tank Fuel state (for 5 seconds)

    -- 81 Bottom Tank Fuel state ON (for ON/OFF toggle switches)

    -- 82 Bottom Tank Fuel state OFF (for ON/OFF toggle switches)

    --

    -- 83 top Tank Fuel state (for 5 seconds)

    -- 84 top Tank Fuel state ON (for ON/OFF toggle switches)

    -- 85 top Tank Fuel state OFF (for ON/OFF toggle switches)

    --

    -- 90 Engine cut out on

    -- 91 Engine cut out off

    -- 92 Engine cut out toggle

    --

    -- 95 Engine cartridge reload switch or starting magneto (depends on model)

    --

    --100 APU on

    --101 APU ott

    --102 APU toggle

    --

    -- 105 Cabin Vent inc

    -- 106 Cabin Vent dec

    --

    -- 110 Landing gear silencer switch

    Have fun!

    -- A2A Spitfire accusim
    
    -- LUA Script V 1.0
    -- updated: Sunday, 24th Oct
    -- 
    -- (C) Guenter Steiner/guenseli
    
    -- List of parameters
    --
    
    -- 1 Generator on
    -- 2 Generator off
    -- 3 Generator Toggle
    --
    -- 4 Primerstate open
    -- 5 Primerstate closed
    -- 6 Primerstate toggle
    -- 7 Priming
    -- 8 Primer releasing and priming
    --
    -- 9 open Lid and starter ON
    -- 10 starter OFF and close Lid
    --
    -- 15 Boost cut out off
    -- 16 Boost cut out on
    -- 17 Boost cut out toggle
    --
    -- 20 Mixture ratio lever weak
    -- 21 Mixture ratio lever rich
    -- 22 Mixture ratio lever toggle
    --
    -- 23 Top (Left) Fuel Selector ON
    -- 24 Top (Left) Fuel Selector OFF
    -- 25 Top (Left) Fuel Selector toggle
    --
    -- 26 Bottom (right) Fuel Selector ON
    -- 27 Bottom (right) Fuel Selector Off
    -- 28 Bottom (right) Fuel Selector toggle
    --
    -- 30 Ventral recog light "Beacon" steady
    -- 31 Ventral recog light "Beacon" OFF
    -- 32 Ventral recog light "Beacon" morse
    --
    -- 33 dorsal recog light  steady
    -- 34 dorsal recog light  OFF
    -- 35 dorsal recog light  morse
    --
    -- 36 morse key
    -- 37 morse key on
    -- 38 morse key off
    --
    -- 40 Landing light extending
    -- 41 Landing light retracting
    -- 42 Landing light ext/retr toggle
    --
    -- 43 Left Landing light ON
    -- 44 Left Landing light OFF
    -- 45 Right Landing light ON
    -- 46 Right Landing light OFF
    --
    -- 50 Left Landing light extend and ON
    -- 51 Left Landing light retract and OFF
    -- 52 right Landing light extend and ON
    -- 53 right Landing light retract and OFF
    --
    -- 55 LL Beam up
    -- 56 LL Beam down
    --
    -- 60 Defroster inc
    -- 61 Defroster dec
    --
    -- 62 Gunsight ON
    -- 63 Gunsight OFF
    -- 64 Gunsight Toggle
    --
    -- 70 Oxy Alt Valve set inc
    -- 71 Oxy Alt Valve set dec
    -- 72 Oxymask and valve on/open
    -- 73 Oxymask and valve off/closed
    --
    -- 80 Bottom Tank Fuel state (for 5 seconds)
    -- 81 Bottom Tank Fuel state ON (for ON/OFF toggle switches)
    -- 82 Bottom Tank Fuel state OFF (for ON/OFF toggle switches)
    --
    -- 83 top Tank Fuel state (for 5 seconds)
    -- 84 top Tank Fuel state ON (for ON/OFF toggle switches)
    -- 85 top Tank Fuel state OFF (for ON/OFF toggle switches)
    --
    -- 90 Engine cut out on 
    -- 91 Engine cut out off 
    -- 92 Engine cut out toggle
    --
    -- 95 Engine cartridge reload switch or starting magneto (depends on model)
    --
    --100 APU on
    --101 APU ott
    --102 APU toggle
    --
    -- 105 Cabin Vent inc
    -- 106 Cabin Vent dec
    --
    -- 110 Landing gear silencer switch
    -------------------------------------------------------------- GEN
    
    -- Generator ON
    if ipcPARAM == 1 then
    
    
        LVarSet = "L:Eng1_GeneratorSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Generator off
    if ipcPARAM == 2 then
    
    
        LVarSet = "L:Eng1_GeneratorSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Generator toggle
    if ipcPARAM == 3 then
    
    
        LVarSet = "L:Eng1_GeneratorSwitch"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    -------------------------------------------------------------- Primer
    
    -- Primerstate open
    if ipcPARAM == 4 then
    
    
        LVarSet = "L:PrimerState"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Primerstate closed
    if ipcPARAM == 5 then
    
    
        LVarSet = "L:PrimerState"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Primerstate toggle
    if ipcPARAM == 6 then
    
    
        LVarSet = "L:PrimerState"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    
    
    -- Priming
    if ipcPARAM == 7 then
    
    
        LVarSet = "L:PrimerState"
    
    
        ipc.writeLvar(LVarSet, 2)
    
    end
    
    
    
    -- Primer releasing and priming
    if ipcPARAM == 8 then
    
    
    
        LVarSet = "L:PrimerState"
    
    
    	if ipc.readLvar(LVarSet) == 0 then
    
        	ipc.writeLvar(LVarSet, 1)
    	ipc.sleep(1300)
    	end
    
    	ipc.writeLvar(LVarSet, 2)	
    
    
    end
    
    -------------------------------------------------------------- Starter
    
    -- open Lid and starter ON
    if ipcPARAM == 9 then
    
    
    
    
    
    
    	ipc.writeLvar("L:Eng1StarterSwitchLid", 1)
    	ipc.sleep(200)
    
    	ipc.writeLvar("L:Eng1StarterSwitch", 1)
    
    end
    
    
    -- starter OFF and close Lid
    if ipcPARAM == 10 then
    
    
    	ipc.writeLvar("L:Eng1StarterSwitch", 0)
        	ipc.sleep(500)
    
    	ipc.writeLvar("L:Eng1StarterSwitchLid", 0)
    
    
    end
    
    
    
    
    
    -------------------------------------------------------------- Boost Cut out
    
    -- Boost cut out off
    if ipcPARAM == 15 then
    
    
        LVarSet = "L:BoostCutout"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Boost cut out on
    if ipcPARAM == 16 then
    
    
        LVarSet = "L:BoostCutout"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Boost cut out toggle
    if ipcPARAM == 17 then
    
    
        LVarSet = "L:BoostCutout"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    
    
    -------------------------------------------------------------- Mixture
    
    
    -- Mixture ratio lever weak
    if ipcPARAM == 20 then
    
    
        LVarSet = "L:MixtureRatioLever1Position"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    -- Mixture ratio lever rich
    if ipcPARAM == 21 then
    
    
        LVarSet = "L:MixtureRatioLever1Position"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    -- Mixture ratio lever toggle
    if ipcPARAM == 22 then
    
    
        LVarSet = "L:MixtureRatioLever1Position"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    -------------------------------------------------------------- Fuel Selectors
    
    
    -- Top (Left) Fuel Selector ON
    if ipcPARAM == 23 then
    
    
        LVarSet = "L:FuelSelTop"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Top (Left) Fuel Selector off
    if ipcPARAM == 24 then
    
    
        LVarSet = "L:FuelSelTop"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Top (Left) Fuel Selector toggle
    if ipcPARAM == 25 then
    
    
        LVarSet = "L:FuelSelTop"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    --------------------------------
    
    
    -- Bottom (right) Fuel Selector ON
    if ipcPARAM == 26 then
    
    
        LVarSet = "L:FuelSelBott"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Bottom (right) Fuel Selector off
    if ipcPARAM == 27 then
    
    
        LVarSet = "L:FuelSelBott"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Bottom (right) Fuel Selector toggle
    if ipcPARAM == 28 then
    
    
        LVarSet = "L:FuelSelBott"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    
    
    -------------------------------------------------------------- lights
    
    
    
    -- Ventral recog light "Beacon" steady
    if ipcPARAM == 30 then
    
    
        LVarSet = "L:LightRecogVentralSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    -- Ventral recog light "Beacon" off
    if ipcPARAM == 31 then
    
    
        LVarSet = "L:LightRecogVentralSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Ventral recog light "Beacon" morse
    if ipcPARAM == 32 then
    
    
        LVarSet = "L:LightRecogVentralSwitch"
    
    
        ipc.writeLvar(LVarSet, 2)
    
    end
    
    ----------------------------------------------
    
    -- dorsal recog light  steady
    if ipcPARAM == 33 then
    
    
        LVarSet = "L:LightRecogDorsalSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    -- dorsal recog light off
    if ipcPARAM == 34 then
    
    
        LVarSet = "L:LightRecogDorsalSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- dorsal recog light morse
    if ipcPARAM == 35 then
    
    
        LVarSet = "L:LightRecogDorsalSwitch"
    
    
        ipc.writeLvar(LVarSet, 2)
    
    end
    
    ---------------------------------------------- morse
    
    -- morse key
    if ipcPARAM == 36 then
    
    
        LVarSet = "L:KeyMorseArm"
    
    	ipc.writeLvar(LVarSet, 1)
    	ipc.sleep(100)
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    -- morse key on
    if ipcPARAM == 37 then
    
    
        LVarSet = "L:KeyMorseArm"
    
    	ipc.writeLvar(LVarSet, 1)
    
    end
    
    -- morse key off
    if ipcPARAM == 38 then
    
    
        LVarSet = "L:KeyMorseArm"
    
    	ipc.writeLvar(LVarSet, 0)
    
    end
    
    ----------------------------------------------
    
    -- Landing light extending
    if ipcPARAM == 40 then
    
    
        LVarSet = "L:LandingLightExtendSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    -- Landing light retracting
    if ipcPARAM == 41 then
    
    
        LVarSet = "L:LandingLightExtendSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    -- Landing light ext/retr toggle
    if ipcPARAM == 42 then
    
    
        LVarSet = "L:LandingLightExtendSwitch"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    ----------------------------------------------
    
    -- Left Landing light ON
    if ipcPARAM == 43 then
    
    
        LVarSet = "L:LandingLightSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    -- Left Landing light OFF
    if ipcPARAM == 44 then
    
    
        LVarSet = "L:LandingLightSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    -- Right Landing light ON
    if ipcPARAM == 45 then
    
    
        LVarSet = "L:LandingLightSwitch"
    
    
        ipc.writeLvar(LVarSet, 2)
    
    end
    
    
    -- Right Landing light OFF
    if ipcPARAM == 46 then
    
    
        LVarSet = "L:LandingLightSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    ----------------------------------------------
    
    -- Left Landing light extend and ON
    if ipcPARAM == 50 then
    
    
        ipc.writeLvar("L:LandingLightExtendSwitch", 1)
    	ipc.sleep(100)
    
        ipc.writeLvar("L:LandingLightSwitch", 0)  
    
    end
    
    
    
    -- left Landing light retract and OFF
    if ipcPARAM == 51 then
    
    
        ipc.writeLvar("L:LandingLightSwitch", 1)
    	ipc.sleep(100)
    
        ipc.writeLvar("L:LandingLightExtendSwitch", 0)  
    
    end
    
    
    -- right Landing light extend and ON
    if ipcPARAM == 52 then
    
    
        ipc.writeLvar("L:LandingLightExtendSwitch", 1)
    	ipc.sleep(100)
    
        ipc.writeLvar("L:LandingLightSwitch", 2)  
    
    end
    
    
    
    -- right Landing light retract and OFF
    if ipcPARAM == 53 then
    
    
        ipc.writeLvar("L:LandingLightSwitch", 1)
    	ipc.sleep(100)
    
        ipc.writeLvar("L:LandingLightExtendSwitch", 0)  
    
    end
    
    ----------------------------------------
    
    
    -- LL Beam up
    if ipcPARAM == 55 then
    
    	LLBeam = "L:LeverLandingLightBeam"
    	Var = ipc.readLvar(LLBeam)
    
    	if Var < 100 then
    	Var = Var + 1
    	ipc.sleep(1)
    	end
    
    	ipc.writeLvar(LLBeam, Var)
    
    end
    
    
    -- LL Beam down
    if ipcPARAM == 56 then
    
    	LLBeam = "L:LeverLandingLightBeam"
    	Var = ipc.readLvar(LLBeam)
    
    	if Var > 0 then
    	Var = Var - 1
    	ipc.sleep(1)
    	end
    
    	ipc.writeLvar(LLBeam, Var)
    
    end
    
    
    
    -------------------------------------------------------------- Defroster
    -- defroster inc
    if ipcPARAM == 60 then
    
    	Def = "L:WindowDefrosterSwitch"
    
    	ipc.writeLvar(Def, 1)
    
    end
    
    
    -- defroster inc
    --if ipcPARAM == 60 then
    
    --	Def = "L:WindowDefrosterControlKnob"
    --	Var = ipc.readLvar(Def)
    
    --	if Var < 100 then
    --	Var = Var + 10
    --	ipc.sleep(1)
    --	end
    
    --	ipc.writeLvar(Def, Var)
    
    --end
    
    
    
    -- defroster dec
    if ipcPARAM == 61 then
    
    	Def = "L:WindowDefrosterSwitch"
    
    
    	ipc.writeLvar(Def, 0)
    
    end
    
    -------------------------------------------------------------- Gunsight switch
    
    -- Gunsight ON
    if ipcPARAM == 62 then
    
    
        LVarSet = "L:GunSightSwitchOn"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Gunsight off
    if ipcPARAM == 63 then
    
    
        LVarSet = "L:GunSightSwitchOn"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Gunsight toggle
    if ipcPARAM == 64 then
    
    
        LVarSet = "L:GunSightSwitchOn"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    
    
    
    
    -------------------------------------------------------------- oxygen
    
    
    -- oxy alt set inc
    if ipcPARAM == 70 then
    
    	Oxy = "L:OxyAltSetValve"
    	Var = ipc.readLvar(Oxy)
    
    	if Var < 100 then
    	Var = Var + 1
    	ipc.sleep(1)
    	end
    
    	ipc.writeLvar(Oxy, Var)
    
    end
    
    
    -- oxy alt set dec
    if ipcPARAM == 71 then
    
    	Oxy = "L:OxyAltSetValve"
    	Var = ipc.readLvar(Oxy)
    
    	if Var > 0 then
    	Var = Var - 1
    	ipc.sleep(1)
    	end
    
    	ipc.writeLvar(Oxy, Var)
    
    end
    
    
    -------------------------------------------------------------- Oxymask and valve
    
    -- Oxy mask and valve ON
    if ipcPARAM == 72 then
    
    
    
    
    
    	  ipc.writeLvar("L:SystemCondValueFSX", 1)
    	ipc.writeLvar("L:SystemCondSelectFSX", 58)
    
    
    
    	ipc.sleep(1000)
    
    
    
    	if ipc.readLvar("L:OxyMaster") >= 0 then	
    
    	i = 0
    	while i < 100 do
       ipc.writeLvar("L:OxyMaster", i)
          ipc.sleep(1)
    
    
       	i = i + 10
    	end
    
    	end
    end
    
    
    
    
    
    
    
    
    
    -- Oxy mask and valve off
    if ipcPARAM == 73 then
    
    
    	  ipc.writeLvar("L:SystemCondValueFSX", 0)
    	ipc.writeLvar("L:SystemCondSelectFSX", 58)
    
    
    
    	ipc.sleep(1000)
    
    
    
    	if ipc.readLvar("L:OxyMaster") <= 100 then	
    
    	i = 100
    	while i >= 0 do
       ipc.writeLvar("L:OxyMaster", i)
          ipc.sleep(1)
    
    
       	i = i - 10
    	end
    
    	end
    end
    
    
    
    
    
    
    
    -------------------------------------------------------------- Bottom tank state
    
    -- Bottom tank state for 5 seconds ON
     if ipcPARAM == 80 then
    
    
    	LVarSet = "L:BottTankOn"
    
    
    	ipc.writeLvar(LVarSet, 1)
    	ipc.sleep(5000)
    	ipc.writeLvar(LVarSet, 0)
    
    
     end
    
    
    -- Bottom tank state  ON
    if ipcPARAM == 81 then
    
    
    	LVarSet = "L:BottTankOn"
    
    
    	ipc.writeLvar(LVarSet, 1)
    
     end
    
    
    -- Bottom tank state  OFF
     if ipcPARAM == 82 then
    
    
    	LVarSet = "L:BottTankOn"
    
    
    	ipc.writeLvar(LVarSet, 0)
    
     end
    
    
    
    -------------------------------------------------------------- Top tank state
    
    -- Top tank state for 5 seconds ON
     if ipcPARAM == 83 then
    
    
    	LVarSet = "L:TopTankOn"
    
    
    	ipc.writeLvar(LVarSet, 1)
    	ipc.sleep(5000)
    	ipc.writeLvar(LVarSet, 0)
    
    
     end
    
    
    -- Top tank state  ON
    if ipcPARAM == 84 then
    
    
    	LVarSet = "L:TopTankOn"
    
    
    	ipc.writeLvar(LVarSet, 1)
    
     end
    
    
    -- Top tank state  OFF
     if ipcPARAM == 85 then
    
    
    	LVarSet = "L:TopTankOn"
    
    
    	ipc.writeLvar(LVarSet, 0)
    
     end
    
    
    -------------------------------------------------------------- Engine cut out
    
    -- Engine cut out ON
    if ipcPARAM == 90 then
    
    
        LVarSet = "L:SlowRunningCutoutSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end
    
    
    
    -- Engine cut out off
    if ipcPARAM == 91 then
    
    
        LVarSet = "L:SlowRunningCutoutSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
    
    end
    
    
    
    -- Engine cut out toggle
    if ipcPARAM == 92 then
    
    
        LVarSet = "L:SlowRunningCutoutSwitch"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
    end
    
    -------------------------------------------------------------- Engine cartridge reload switch
    
    if ipcPARAM == 95 then
    
      acftname = ipc.readSTR(0x3D00, 35)
    
      if string.find(acftname,"Mk Ia",0,true)
      then
        LVarSet = "Eng1StartingMagneto"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
    
      else
        LVarSet = "L:Eng1StarterCartridgeReloadSwitch"
        ipc.writeLvar(LVarSet, 1)
      end
    --ipc.display(acftname)
    --ipc.sleep(2000)
    
    end
    
    -------------------------------------------------------------- APU
    
    -- APU ON
    if ipcPARAM == 100 then
    
    
        LVarSet = "L:APUSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
        ipc.writeLvar("L:SystemCondValueFSX", 1)
    	ipc.writeLvar("L:SystemCondSelectFSX", 53)
    
    end
    
    
    
    -- APU off
    if ipcPARAM == 101 then
    
    
        LVarSet = "L:APUSwitch"
    
    
        ipc.writeLvar(LVarSet, 0)
        ipc.writeLvar("L:SystemCondValueFSX", 0)
    	ipc.writeLvar("L:SystemCondSelectFSX", 53)
    
    end
    
    
    
    -- APU toggle
    if ipcPARAM == 102 then
    
    
        LVarSet = "L:APUSwitch"
        val = 0
    
        if ipc.readLvar(LVarSet) == 0  then
        val = 1
        end
    
        ipc.writeLvar(LVarSet, val)
        ipc.writeLvar("L:SystemCondValueFSX", val)
    	ipc.writeLvar("L:SystemCondSelectFSX", 53)
    
    end
    
    -------------------------------------------------------------- Cabin Vent
    
    
    -- vent inc
    if ipcPARAM == 105 then
    
    	Def = "L:CabinVent"
    	Var = ipc.readLvar(Def)
    
    	if Var < 100 then
    	Var = Var + 10
    	ipc.sleep(1)
    	end
    
    	ipc.writeLvar(Def, Var)
    
    end
    
    
    -- vent dec
    if ipcPARAM == 106 then
    
    	Def = "L:CabinVent"
    	Var = ipc.readLvar(Def)
    
    	if Var > 0 then
    	Var = Var - 10
    	ipc.sleep(1)
    	end
    
    	ipc.writeLvar(Def, Var)
    
    end
    
    
    -------------------------------------------------------------- Landing gear silencer
    
    -- LG silencer ON
    if ipcPARAM == 110 then
    
    
        LVarSet = "L:GearHornSilencerSwitch"
    
    
        ipc.writeLvar(LVarSet, 1)
    
    end

  15. Unfortunatelly the Concorde was the most difficult addon to get out LUA variables or controls.

    The devs ignored my begging over month so here is what I have found and it is not working correct for 100%

    (talking about the animations of some switches etc)

    The functions do what they should do.

    Here is the list of the parameters:

    -- FSLabs Concorde

    -- 10 AP1

    -- 11 AP2

    -- 12 ATHR1

    -- 13 ATHR2

    -- 14 FD1

    -- 15 FD2

    --

    --

    -- 20 INS

    -- 21 TRK HDG (sel)

    -- 22 HDG (hold)

    -- 23 TURB

    -- 24 Pitch hold

    -- 25 Mach hold (right side)

    -- 26 Max climb

    -- 27 IAS Hold (Right side)

    -- 28 ALT hold

    -- 29 Bach Beam

    -- 30 VOR/LOC

    -- 31 LAND

    -- 32 Glide

    -- 33 Max Cruise

    -- 34 vert Speed

    -- 35 ALT ACQ

    -- 36 Mach hold (left side)

    -- 37 IAS Hold (left side)

    -- 38 IAS ACQ

    --

    -- 40 Alt inc

    -- 41 Alt dec

    --

    -- 45 HDG left inc

    -- 46 HDG left dec

    -- 47 HDG right inc

    -- 48 HDG right dec

    --

    -- 50 CRS left inc

    -- 51 CRS left dec

    -- 52 CRS right inc

    -- 53 CRS right dec

    --

    -- 55 VS Pitch inc

    -- 56 VS Pitch dec

    -- 60 SPD inc

    -- 61 SPD dec

    --

    -- 70 RAD/INS 1 (left) toggle

    -- 71 RAD/INS 2 (right) toggle

    --

    -- 80 reheat eng1 inc

    -- 81 reheat eng1 dec

    -- 82 reheat eng2 inc

    -- 83 reheat eng2 dec

    -- 84 reheat eng3 inc

    -- 85 reheat eng3 dec

    -- 86 reheat eng4 inc

    -- 87 reheat eng4 dec

    --

    -- 90 Landing lights on

    -- 91 Landing lights off

    --

    -- 92 Taxi lights on

    -- 93 Taxi lights off

    --

    -- 94 Taxi turn lights toggle

    --

    -- 100 Instr. lights inc

    -- 101 Instr. lights dec

    --

    ----------------------Panels

    -- 200 Brake, Cabin Pressure, Engine control

    -- 201 Air Intakes, sec eng controls

    -- 202 upper fuel, lower fuel, nozzle

    -- 203 air bleed, hydraulic

    -- 204 temperature control, engine stack

    -- 205 light controls (Capt, FO, engineer)

    -- 206 AC and DC

    -- 207 CDU1 +2

    -- 208 overhead

    And here is the hole code:

    Have fun!

    -- FSLabs Concorde
    
    -- 10 AP1
    -- 11 AP2
    -- 12 ATHR1
    -- 13 ATHR2
    -- 14 FD1
    -- 15 FD2
    --
    --
    -- 20 INS
    -- 21 TRK HDG (sel)
    -- 22 HDG (hold)
    -- 23 TURB
    -- 24 Pitch hold
    -- 25 Mach hold (right side)
    -- 26 Max climb
    -- 27 IAS Hold (Right side)
    -- 28 ALT hold
    -- 29 Bach Beam
    -- 30 VOR/LOC
    -- 31 LAND
    -- 32 Glide
    -- 33 Max Cruise
    -- 34 vert Speed
    -- 35 ALT ACQ
    -- 36 Mach hold (left side)
    -- 37 IAS Hold (left side)
    -- 38 IAS ACQ 
    --
    -- 40 Alt inc
    -- 41 Alt dec
    --
    -- 45 HDG left inc
    -- 46 HDG left dec
    -- 47 HDG right inc
    -- 48 HDG right dec
    --
    -- 50 CRS left inc
    -- 51 CRS left dec  
    -- 52 CRS right inc
    -- 53 CRS right dec
    --
    -- 55 VS Pitch inc
    -- 56 VS Pitch dec
    -- 60 SPD inc
    -- 61 SPD dec
    -- 
    -- 70 RAD/INS 1 (left) toggle
    -- 71 RAD/INS 2 (right) toggle
    --
    -- 80 reheat eng1 inc
    -- 81 reheat eng1 dec
    -- 82 reheat eng2 inc
    -- 83 reheat eng2 dec
    -- 84 reheat eng3 inc
    -- 85 reheat eng3 dec
    -- 86 reheat eng4 inc
    -- 87 reheat eng4 dec
    --
    -- 90 Landing lights on
    -- 91 Landing lights off
    --
    -- 92 Taxi lights on
    -- 93 Taxi lights off
    --
    -- 94 Taxi turn lights toggle
    --
    -- 100 Instr. lights inc
    -- 101 Instr. lights dec
    --
    ----------------------Panels
    -- 200 Brake, Cabin Pressure, Engine control
    -- 201 Air Intakes, sec eng controls
    -- 202 upper fuel, lower fuel, nozzle
    -- 203 air bleed, hydraulic
    -- 204 temperature control, engine stack
    -- 205 light controls (Capt, FO, engineer)
    -- 206 AC and DC
    -- 207 CDU1 +2
    -- 208 overhead
    
    
    
    
    
    ------------------------------------------------------------AUTOPILOT
    ------------------------------------------------------------
    -- AP 1 
    if ipcPARAM == 10 then
    
    
    		ipc.control(66587,71084)
    
    
    
    -- AP 2 
    elseif ipcPARAM == 11 then
    
    
    		ipc.control(66587,71085)
    
    
    
    
    ------------------------------------------------------------ATHR
    
    -- ATHR 1 
    elseif ipcPARAM == 12 then
    
    		ipc.control(66587,71080)
    
    
    
    -- ATHR 2 
    elseif ipcPARAM == 13 then
    
    		ipc.control(66587,71081)
    
    
    
    
    ------------------------------------------------------------FD
    
    -- FD1 
    elseif ipcPARAM == 14 then
    
    		ipc.control(66587,71082)
    
    
    
    -- FD2 
    elseif ipcPARAM == 15 then
    
    		ipc.control(66587,71083)
    
    
    
    
    
    ----------------------------------------------------------------Ap functions
    
    -- INS 
    elseif ipcPARAM == 20 then
    
    		ipc.control(66587,71063)
    
    -- TRK HDG (sel)
    elseif ipcPARAM == 21 then
    
    		ipc.control(66587,71065)
    
    -- HDG (hold)
    elseif ipcPARAM == 22 then
    
    		ipc.control(66587,71067)
    
    -- TURB 
    elseif ipcPARAM == 23 then
    
    		ipc.control(66587,71068)
    
    -- Pitch hold 
    elseif ipcPARAM == 24 then
    
    		ipc.control(66587,71070)
    
    -- Mach hold (right side)
    elseif ipcPARAM == 25 then
    
    		ipc.control(66587,71072)
    
    -- Max climb 
    elseif ipcPARAM == 26 then
    
    		ipc.control(66587,71074)
    
    
    -- IAS hold (right side)
    elseif ipcPARAM == 27 then
    
    		ipc.control(66587,71076)
    
    -- Alt hold 
    elseif ipcPARAM == 28 then
    
    		ipc.control(66587,71078)
    
    -- Back Beam 
    elseif ipcPARAM == 29 then
    
    		ipc.control(66587,71064)
    
    -- VOR/LOC 
    elseif ipcPARAM == 30 then
    
    		ipc.control(66587,71066)
    
    -- LAND 
    elseif ipcPARAM == 31 then
    
    		ipc.control(66587,71071)
    
    -- Glide
    elseif ipcPARAM == 32 then
    
    		ipc.control(66587,71073)
    
    
    -- Max cruise
    elseif ipcPARAM == 33 then
    
    		ipc.control(66587,71075)
    
    -- Vert Speed
    elseif ipcPARAM == 34 then
    
    		ipc.control(66587,71077)
    
    -- ALT ACQ
    elseif ipcPARAM == 35 then
    
    		ipc.control(66587,71079)
    
    -- MACH hold (left side)
    elseif ipcPARAM == 36 then
    
    		ipc.control(66587,71060)
    
    -- IAS hold (left side)
    elseif ipcPARAM == 37 then
    
    		ipc.control(66587,71061)
    
    -- IAS ACQ
    elseif ipcPARAM == 38 then
    
    		ipc.control(66587,71062)
    
    
    ----------------------------------------------------------------AP dials
    
    
    -- Alt inc
    elseif ipcPARAM == 40 then
    
    		ipc.control(66587,71136)
    
    
    -- Alt dec
    elseif ipcPARAM == 41 then
    
    		ipc.control(66587,71135)
    
    
    
    -- HDG left inc
    elseif ipcPARAM == 45 then
    
    		ipc.control(66587,71107)
    
    -- HDG left dec
    elseif ipcPARAM == 46 then
    
    		ipc.control(66587,71108)
    
    -- HDG right inc
    elseif ipcPARAM == 47 then
    
    		ipc.control(66587,71129)
    
    -- HDG right dec
    elseif ipcPARAM == 48 then
    
    		ipc.control(66587,71128)
    
    
    
    
    -- CRS left inc
    elseif ipcPARAM == 50 then
    
    		ipc.control(66587,71110)
    
    -- CRS left dec
    elseif ipcPARAM == 51 then
    
    		ipc.control(66587,71109)
    
    -- CRS right inc
    elseif ipcPARAM == 52 then
    
    		ipc.control(66587,71121)
    
    -- CRS right dec
    elseif ipcPARAM == 53 then
    
    		ipc.control(66587,71122)
    
    
    
    
    -- VS (Pitch) dec
    elseif ipcPARAM == 57 then
    
    		ipc.control(66587,73530)
    
    
    
    -- VS (Pitch) inc
    elseif ipcPARAM == 55 then
    
    		ipc.control(66587,73531)
    
    
    
    
    
    -- SPD inc
    elseif ipcPARAM == 60 then
    
    		ipc.control(66587,71095)
    
    
    -- SPD dec
    elseif ipcPARAM == 61 then
    
    		ipc.control(66587,71096)
    
    
    
    
    
    -- RAD / INS 1 (left) toggle
    elseif ipcPARAM == 70 then
    
    		ipc.control(66587,71050)
    
    
    -- RAD / INS 2 (right) toggle
    elseif ipcPARAM == 71 then
    
    		ipc.control(66587,71051)
    
    
    ----------------------------------------------------Reheat
    
    -- Reheat Eng 1 inc
    elseif ipcPARAM == 80 then
    
    		ipc.control(66587,73600)
    
    -- Reheat Eng 1 dec
    elseif ipcPARAM == 81 then
    
    		ipc.control(66587,73601)
    
    
    
    -- Reheat Eng 2 inc
    elseif ipcPARAM == 82 then
    
    		ipc.control(66587,73605)
    
    -- Reheat Eng 2 dec
    elseif ipcPARAM == 83 then
    
    		ipc.control(66587,73606)
    
    
    
    -- Reheat Eng 3 inc
    elseif ipcPARAM == 84 then
    
    		ipc.control(66587,73610)
    
    -- Reheat Eng 3 dec
    elseif ipcPARAM == 85 then
    
    		ipc.control(66587,73611)
    
    
    
    -- Reheat Eng 4 dec
    elseif ipcPARAM == 86 then
    
    		ipc.control(66587,73615)
    
    -- Reheat Eng 4 dec
    elseif ipcPARAM == 87 then
    
    		ipc.control(66587,73616)
    
    
    ----------------------------------------------------Lights
    
    
    -- Landing lights on
    elseif ipcPARAM == 90 then
    
    		ipc.control(66587,75505)
    		ipc.sleep(150)
    		ipc.control(66587,75506)
    
    
    -- Landing lights off
    elseif ipcPARAM == 91 then
    
    		ipc.control(66587,75507)
    		ipc.sleep(150)
    		ipc.control(66587,75508)
    
    
    
    -- Taxi lights on
    elseif ipcPARAM == 92 then
    
    		ipc.control(66587,75510)
    		ipc.sleep(150)
    		ipc.control(66587,75511)
    
    
    -- Taxi lights off
    elseif ipcPARAM == 93 then
    
    		ipc.control(66587,75512)
    		ipc.sleep(150)
    		ipc.control(66587,75513)
    
    
    -- Taxi turn lights toggle
    elseif ipcPARAM == 94 then
    
    		ipc.control(66587,75500)
    		ipc.sleep(100)
    		ipc.control(66587,75499)
    
    
    
    -- instr lights inc
    elseif ipcPARAM == 100 then
    
    		ipc.control(66587,77401)
    		ipc.sleep(10)
    		ipc.control(66587,77411)
    
    
    -- instr lights dec
    elseif ipcPARAM == 101 then
    
    		ipc.control(66587,77400)
    		ipc.sleep(10)
    		ipc.control(66587,77410)
    
    
    -- flood light inc
    elseif ipcPARAM == 102 then
    
    		ipc.control(66587,75137)
    
    
    -- flood light dec
    elseif ipcPARAM == 103 then
    
    		ipc.control(66587,75139)
    
    -- flood light full
    elseif ipcPARAM == 104 then
    
    		ipc.control(66587,75137)
    		ipc.sleep(10)
    		ipc.control(66587,75137)
    
    -- flood light off
    elseif ipcPARAM == 105 then
    
    		ipc.control(66587,75139)
    		ipc.sleep(10)
    		ipc.control(66587,75139)
    
    
    -- all console lights on
    elseif ipcPARAM == 106 then
    
    		i = 0
    		while i <= 6 do
    
    		ipc.control(66587,75141) -- Glareshield
    		ipc.sleep(10)
    		ipc.control(66587,75145) -- centre console
    		ipc.sleep(10)
    		ipc.control(66587,75149) -- centre dash
    		ipc.sleep(10)
    		ipc.control(66587,75153) -- centre console flood
    		ipc.sleep(10)
    		ipc.control(66587,75157) -- roof
    
    		i = i + 1
    		end
    
    
    -- all console lights off
    elseif ipcPARAM == 107 then
    
    		i = 0
    		while i <= 6 do
    
    		ipc.control(66587,75140) -- Glareshield
    		ipc.sleep(10)
    		ipc.control(66587,75144) -- centre console
    		ipc.sleep(10)
    		ipc.control(66587,75148) -- centre dash
    		ipc.sleep(10)
    		ipc.control(66587,75152) -- centre console flood
    		ipc.sleep(10)
    		ipc.control(66587,75156) -- roof
    
    		i = i + 1
    		end
    
    
    -- Anti Coll lights toggle
    elseif ipcPARAM == 110 then
    
    		ipc.control(66587,75010)
    
    -- Nav lights toggle
    elseif ipcPARAM == 111 then
    
    		ipc.control(66587,75012)
    
    --------------------------------------------------
    
    -- No smoking toggle 
    elseif ipcPARAM == 120 then
    
    		ipc.control(66587,75047)
    
    -- seatbelt toggle
    elseif ipcPARAM == 121 then
    
    		ipc.control(66587,75048)
    
    
    -------------------------------------------------- Eng HP Valves
    
    
    
    -- ENG1 HP Valve ON
    elseif ipcPARAM == 130 then
    
    		ipc.control(66587,75082)
    
    -- ENG1 HP Valve OFF
    elseif ipcPARAM == 131 then
    
    		ipc.control(66587,75083)
    
    
    
    
    -- ENG2 HP Valve ON
    elseif ipcPARAM == 132 then
    
    		ipc.control(66587,75084)
    
    -- ENG2 HP Valve OFF
    elseif ipcPARAM == 133 then
    
    		ipc.control(66587,75085)
    
    
    
    
    
    -- ENG3 HP Valve ON
    elseif ipcPARAM == 134 then
    
    		ipc.control(66587,75086)
    
    -- ENG3 HP Valve OFF
    elseif ipcPARAM == 135 then
    
    		ipc.control(66587,75087)
    
    
    
    
    
    -- ENG4 HP Valve ON
    elseif ipcPARAM == 136 then
    
    		ipc.control(66587,75088)
    
    -- ENG4 HP Valve OFF
    elseif ipcPARAM == 137 then
    
    		ipc.control(66587,75089)
    
    
    -------------------------------------------------- little white AP switches on
    
    -- little white AP switches on
    elseif ipcPARAM == 140 then
    
    		ipc.control(66587,75408)
    		ipc.sleep(125)
    		ipc.control(66587,75410)
    		ipc.sleep(125)
    		ipc.control(66587,75412)
    		ipc.sleep(125)
    		ipc.control(66587,75414)
    		ipc.sleep(125)
    		ipc.control(66587,75416)
    		ipc.sleep(125)
    		ipc.control(66587,75418)
    		ipc.sleep(125)
    		ipc.control(66587,75420)
    		ipc.sleep(125)
    		ipc.control(66587,75422)
    		ipc.sleep(125)
    		ipc.control(66587,75424)
    		ipc.sleep(125)
    		ipc.control(66587,75426)
    		ipc.sleep(125)
    		ipc.control(66587,75428)
    		ipc.sleep(125)
    		ipc.control(66587,75430)
    		ipc.sleep(125)
    		ipc.control(66587,75432)
    		ipc.sleep(125)
    		ipc.control(66587,75434)
    		ipc.sleep(125)
    
    
    
    
    -----------------------------------------------------------------Panels
    
    -- Brake, Cabin Pressure, Engine control 
    elseif ipcPARAM == 200 then
    
    		ipc.control(66506,8020) --brake control
    		ipc.control(66506,8021) --cabin pressure
    		ipc.control(66506,8014) --engine control
    
    -- Air Intakes, sec eng controls 
    elseif ipcPARAM == 201 then
    
    		ipc.control(66506,8015) --sec engine cpntrol
    		ipc.control(66506,8016) --air intake
    
    
    -- upper fuel, lower fuel, nozzle 
    elseif ipcPARAM == 202 then
    
    		ipc.control(66506,8009) --fuel bottom
    		ipc.control(66506,8010) --fuel top
    		ipc.control(66506,8019) --engine control
    
    -- air bleed, hydraulic 
    elseif ipcPARAM == 203 then
    
    		ipc.control(66506,8012) --air bleed
    		ipc.control(66506,8011) --hydr
    
    
    -- temperature control, engine stack
    elseif ipcPARAM == 204 then
    
    		ipc.control(66506,8030) --popup engine stack
    		ipc.control(66506,8013) --temp control
    
    
    -- lights
    elseif ipcPARAM == 205 then
    
    		ipc.control(66506,8025) --eng lights
    		ipc.control(66506,8027) --FO lights
    		ipc.control(66506,8026) --Capt lights
    
    -- AC/DC
    elseif ipcPARAM == 206 then
    
    		ipc.control(66506,8007) --DC
    		ipc.control(66506,8008) --AC
    
    -- CDU1, CDU2
    elseif ipcPARAM == 207 then
    
    		ipc.control(66506,8035) --CDU1
    		ipc.sleep(50)
    		ipc.control(66506,8036) --CDU2
    
    -- Overhead
    elseif ipcPARAM == 208 then
    
    		ipc.control(66506,8002) 
    		ipc.control(66506,8003) 
    
    end
    
    
    

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.