Jump to content
The simFlight Network Forums

guenseli

Moderators
  • Posts

    464
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by guenseli

  1. here is the "full" version: http://www.schiratti.com/dowson.html and on top of this forum you will find nearly every week an interim update... FSUIPC and wideclient are two different programs....
  2. second tip: "Run1=READY,CLOSE,G:\Program Files (X86)\VRInsight\SerialFP2\SerialFP2.exe" this path is wrong, look at the red backslash, this is missing in your path you can comment it also out "\\Run1=READY,CLOSE,G:\Program Files (X86)\VRInsight\SerialFP2\SerialFP2.exe" to disable it and start SerialFP manually after(!) you have loaded a flight and waited some seconds. so you can test and analyze this...
  3. Hi Cathy, one tip: take out your mailadress (3rd line on the FSUIPC log, User Addr...) or you get spammed
  4. Hi Lars, A "no" to both :lol: I don't know very much about LUA programming (Pete can confirm this :wink: ) I just gather the Lua variables and put them together for my own needs. And I have already written a little tutorial wich can be found here in this forum as sticky. I get questions from time to time about that and I always find out that people haven't read this tutorial, but after that they don't have questions any more... Second point is that I don't know how to make a youtube tutorial...
  5. Or have a look here: http://forums.simflight.com/viewtopic.php?f=54&t=78335
  6. yes, I have with my countless hardwareswitches just one left and this I use normally for the master warn :lol: All my LuaVars are just for my personal needs and my personal hardware. I know that there several functions left... but as I don't need them for my hardware I don't have too much motivation to gather them :oops:
  7. I have made some little LUA files for different aircrafts the last weeks and d'like to share them here. Here are the ones for the (old but) famous Do-27 from Digital Aviation. LUA commands To get acces to the single commands you have to do the following: (example for the PMDG J41) 1) copy the code below 2) insert it into an empty editor or wordpad file and save it as e.g. J41.LUA 3) open FSUIPC menu and choose LUA J41 from the drop down 4) insert different parameter numbers depending on the action you want (green field) Parameter numbers: -- 1 Battery ON -- 2 Battery OFF -- 3 Avionics (COMM) ON -- 4 Avionics (COMM) OFF -- 5 Ignition (Starter) ON -- 6 Ignition (Starter) OFF -- 7 Generator (Alternator) ON -- 8 Generator (Alternator) OFF -- 9 Magneto ON -- 10 Magneto OFF -- 11 Magneto INC -- 12 Magneto DEC -- 13 CarbHeat ON -- 14 CarbHeat OFF -- 15 Pitot ON -- 16 Pitot OFF -- 17 Fuel Pump ON -- 18 Fuel Pump OFF -- 19 Landing Lights ON -- 20 Landing Lights OFF -- 21 Landing Lights Circuit ON -- 22 Landing Lights Circuit OFF -- 23 Cockpit Light ON -- 24 Cockpit Light OFF -- 25 Mixture ON -- 26 Mixture OFF -- 27 Brandhahn (Fuel Valve) ON -- 28 Brandhahn (Fuel Valve) OFF -- 29 Primer (Fuel Injection) -- 30 starter ON -- 31 starter OFF -- 1 Battery ON -- 2 Battery OFF -- 3 Avionics (COMM) ON -- 4 Avionics (COMM) OFF -- 5 Ignition (Starter) ON -- 6 Ignition (Starter) OFF -- 7 Generator (Alternator) ON -- 8 Generator (Alternator) OFF -- 9 Magneto ON -- 10 Magneto OFF -- 11 Magneto INC -- 12 Magneto DEC -- 13 CarbHeat ON -- 14 CarbHeat OFF -- 15 Pitot ON -- 16 Pitot OFF -- 17 Fuel Pump ON -- 18 Fuel Pump OFF -- 19 Landing Lights ON -- 20 Landing Lights OFF -- 21 Landing Lights Circuit ON -- 22 Landing Lights Circuit OFF -- 23 Cockpit Light ON -- 24 Cockpit Light OFF -- 25 Mixture ON -- 26 Mixture OFF -- 27 Brandhahn (Fuel Valve) ON -- 28 Brandhahn (Fuel Valve) OFF -- 29 Primer (Fuel Injection) -- 30 starter ON -- 31 starter OFF -- Battery switch ON if ipcPARAM == 1 then ipc.writeDD("281C", 1) ipc.writeLvar("L:SoundRockerSwitch", 1) end -- Battery switch OFF if ipcPARAM == 2 then ipc.writeDD("281C", 0) ipc.writeLvar("L:SoundRockerSwitch", 0) end -- Avionics switch ON if ipcPARAM == 3 then ipc.writeDD("2E80", 1) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(100) ipc.writeLvar("L:CircuitVor1", 1) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(150) ipc.writeLvar("L:CircuitElectricalInstruments", 1) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(100) ipc.writeLvar("L:CircuitInstruments", 1) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(250) ipc.writeLvar("L:CircuitGPS", 1) ipc.writeLvar("L:SoundAutomat", 1) end -- Avionics switch OFF if ipcPARAM == 4 then ipc.writeDD("2E80", 0) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(150) ipc.writeLvar("L:CircuitVor1", 0) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(250) ipc.writeLvar("L:CircuitElectricalInstruments", 0) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(100) ipc.writeLvar("L:CircuitInstruments", 0) ipc.writeLvar("L:SoundAutomat", 1) ipc.sleep(150) ipc.writeLvar("L:CircuitGPS", 0) ipc.writeLvar("L:SoundAutomat", 1) end -- Ignition switch ON if ipcPARAM == 5 then ipc.writeLvar("L:IgnitionMaster", 1) ipc.writeLvar("L:SoundAutomat", 1) end -- Ignition switch OFF if ipcPARAM == 6 then ipc.writeLvar("L:IgnitionMaster", 0) ipc.writeLvar("L:SoundAutomatReset", 1) end -- GEN (Alternator) switch ON if ipcPARAM == 7 then ipc.writeLvar("L:CircuitAlternator", 1) ipc.writeLvar("L:SoundAutomat", 1) end -- GEN (Alternator)switch OFF if ipcPARAM == 8 then ipc.writeLvar("L:CircuitAlternator", 0) ipc.writeLvar("L:SoundAutomatReset", 1) end -- Magneto ON if ipcPARAM == 9 then ipc.control(66026) ipc.writeLvar("L:SoundMagnetos", 1) end -- Magneto OFF if ipcPARAM == 10 then ipc.control(66023) ipc.writeLvar("L:SoundMagnetos", 1) end -- Magneto inc if ipcPARAM == 11 then ipc.control(66127) ipc.writeLvar("L:SoundMagnetos", 1) end -- Magneto dec if ipcPARAM == 12 then ipc.control(66126) ipc.writeLvar("L:SoundMagnetos", 1) end -- CarbHeat ON if ipcPARAM == 13 then ipc.control(66029) ipc.writeLvar("L:SoundCarbHeat", 1) end -- CarbHeat OFF if ipcPARAM == 14 then ipc.control(66030) ipc.writeLvar("L:SoundCarbHeat", 1) end -- Pitot ON if ipcPARAM == 15 then ipc.writeLvar("L:CircuitPitot", 1) ipc.writeLvar("L:SoundAutomat", 1) end -- Pitot OFF if ipcPARAM == 16 then ipc.writeLvar("L:CircuitPitot", 0) ipc.writeLvar("L:SoundAutomatReset", 1) end -- Fuel Pump ON if ipcPARAM == 17 then ipc.control(66340, 1) ipc.writeLvar("L:SoundAutomat", 1) end -- Fuel Pump OFF if ipcPARAM == 18 then ipc.control(66340, 0) ipc.writeLvar("L:SoundAutomatReset", 1) end -- Landing Lights ON if ipcPARAM == 19 then ipc.writeLvar("L:LightLanding", 1) ipc.writeLvar("L:SoundRockerSwitch", 1) end -- Landing Lights OFF if ipcPARAM == 20 then ipc.writeLvar("L:LightLanding", 0) ipc.writeLvar("L:SoundRockerSwitch", 1) end -- Landing Lights Circuit ON if ipcPARAM == 21 then ipc.writeLvar("L:CircuitLandingLight", 1) ipc.writeLvar("L:SoundAutomat", 1) end -- Landing Lights Circuit OFF if ipcPARAM == 22 then ipc.writeLvar("L:CircuitLandingLight", 0) ipc.writeLvar("L:SoundAutomatReset", 1) end -- Cockpit Lights ON if ipcPARAM == 23 then ipc.writeLvar("L:LightCabinForward", 1) ipc.writeLvar("L:CockpitLightOn", 1) ipc.writeLvar("L:Light Panel", 1) ipc.writeLvar("L:SoundAutomat", 1) end -- Cockpit Lights OFF if ipcPARAM == 24 then ipc.writeLvar("L:LightCabinForward", 0) ipc.writeLvar("L:CockpitLightOn", 0) ipc.writeLvar("L:Light Panel", 0) ipc.writeLvar("L:SoundAutomatReset", 1) end -- Mixture ON if ipcPARAM == 25 then ipc.writeLvar("L:LeverMixture", 100) ipc.writeLvar("L:SoundMixture", 1) end -- Mixture OFF if ipcPARAM == 26 then ipc.writeLvar("L:LeverMixture", 0) ipc.writeLvar("L:SoundMixture", 1) end -- Brandhahn (Fuel Valve) ON if ipcPARAM == 27 then ipc.writeLvar("L:Brandhahn", 0) ipc.writeLvar("L:SoundBrandhahn", 1) end -- Brandhahn (Fuel Valve) OFF if ipcPARAM == 28 then ipc.writeLvar("L:Brandhahn", 1) ipc.writeLvar("L:SoundBrandhahn", 1) end -- Primer (Fuel Injection) if ipcPARAM == 29 then ipc.writeLvar("L:FuelInjection", 1) ipc.sleep(100) ipc.writeLvar("L:FuelInjection", 0) end -- starter on if ipcPARAM == 30 then ipc.writeLvar("L:GuardStarter", 1) ipc.sleep(50) ipc.control(66300, 1) end -- starter off if ipcPARAM == 31 then ipc.writeLvar("L:GuardStarter", 0) end
  8. You can even make it while FS running. Just be sure, to reload the airplane after changing the .cfg. Saver is it, to load an FSX standard plane and then, again, your plane. And if something isn't working as it should restart FS complete.... Theres one program called "Flusifix" (http://lmgtfy.com/?q=Flusifix) where you can get acces to the different cfg, it is handy to use this, but in the result its nothing else than doing it by hand...
  9. Then I run out of ideas....you have to wait till Pete is back on Monday...
  10. Have you looked into your dll.xml? (C:\Users\Username\AppData\Roaming\Microsoft\FSX) There must be the entry FSUIPC 4 False Modules\FSUIPC4.dll best at the last place. Be sure to open the dll.xml with editor so you don't get troubles with format Second reason could be that you haven't clicked on "yes", after the "trust-question" at the first start of FS after installing the update...?
  11. Thanks for your effort to the Flightsim community :!:
  12. First fast test seems to be ok :mrgreen:
  13. Yes, I use comp mode, too. And as you say this I remember that I use it just since a few days (after somebody said that it fixes PMDG grafical glitches wich seems to be true) I have downloaded the new version and report back. Thank you very much!
  14. ok, thank you... But I'm correct that deleting the whole LUA entries to let theam automatically regenerate, leads to wrong indexnumbers for the macros etc...? So I should just delete the entries and let the others with their numbers...?
  15. Hello Pete, due to testing I have a long list of 43 LUA entries in the FSUIPC4.ini ( [LuaFiles] ) most of them I don't need any more. Should or could I remove these entries? I think not because they have reference numbers? Or doesn't this matter? Any problems when I remove the LUA-files in modules folder? I just thought to keep the *.ini smart and small..... thanks, günter
  16. Hello Pete, since a few days almost every time when I enter FSUIPC menu a few seconds (up to half a minute) later my FSX hangs. Then it lasts several minutes till it will end freezing but then my framerates back in game again are absolutely down (3 - 5) Only solution is restart of FSX. It doesn't matter wich menu or action I make in FSUIPC menu. I have looked into FSUIPC.log and there are strange things going on: 230195 System time = 16/02/2010 10:08:39, Simulator time = 10:04:54 (09:04Z) 230367 Advanced Weather Interface Enabled 991729 Sim stopped: average frame rate for last 763 secs = 23.6 fps 1138230 Joy 15 taking too long to respond (> 20 mSecs). Removed from scan 1158260 Joy 14 taking too long to respond (> 20 mSecs). Removed from scan 1178307 Joy 8 taking too long to respond (> 20 mSecs). Removed from scan 1198353 Joy 6 taking too long to respond (> 20 mSecs). Removed from scan 1218399 Joy 13 taking too long to respond (> 20 mSecs). Removed from scan 1238445 Joy 7 taking too long to respond (> 20 mSecs). Removed from scan 1258491 Joy 11 taking too long to respond (> 20 mSecs). Removed from scan 1278537 Joy 12 taking too long to respond (> 20 mSecs). Removed from scan the code above is after I've ended FSX by aborting task via Task Manager I have not knowingly changed any hardware settings, also I think this problem is since the last update to 4.587. But you know that I often tinker around in all codes, so I do not automatically blame FSUIPC :lol: This error is with all planes, also FS standard. This error is wether I have other programs running (ASA, SerialFP ...) or not Ideas?
  17. I have made some little LUA and MACRO files for different aircrafts the last weeks and d'like to share them here. With the LUA commands below you have the possibility to control ND Range and ND Mode! upd 9th April: I accidently inserted a wrong MACRO (from the 767) sorry! And ND Mode CTR in the LUA was implemented but wrong named LUA commands Here's a very short tutorial how to "install" LUA files To get acces to the single commands you have to do the following: 1) copy the code below 2) insert it into an empty editor or wordpad file and save it as e.g. J41.LUA into the FSX - Modules Folder 3) open FSUIPC menu and choose LUA J41 from the drop down 4) insert different parameter numbers depending on the action you want (green field) (this example picture is for the J41. For the 747 you have to name the file of course 747.LUA or whatever. Them the name in the dropdown (red field) will be Lua 747) Here is the list of 747X parameter numbers: -- 1 EFIS WXR -- 2 EFIS STA -- 3 EFIS WPT -- 4 EFIS ARPT -- 5 EFIS DATA -- 6 EFIS POS --7 EFIS FPV -- 8 EFIS MTRS -- 9 EFIS Minimums reset -- 10 EFIS IN/HPA -- 11 EFIS BARO Std -- 12 EFIS VOR L inc -- 13 EFIS VOR L dec -- 14 EFIS VOR R inc -- 15 EFIS VOR R dec -- 16 EFIS ND Mode inc -- 17 EFIS ND Mode dec -- 18 EFIS ND Range inc -- 19 EFIS ND Range dec -- 20 EFIS Minimums inc -- 21 EFIS Minimums dec -- 22 TOGA -- 23 EFIS TFC -- 24 EFIS ND Mode CTR -- 1 EFIS WXR -- 2 EFIS STA -- 3 EFIS WPT -- 4 EFIS ARPT -- 5 EFIS DATA -- 6 EFIS POS --7 EFIS FPV -- 8 EFIS MTRS -- 9 EFIS Minimums reset -- 10 EFIS IN/HPA -- 11 EFIS BARO Std -- 12 EFIS VOR L inc -- 13 EFIS VOR L dec -- 14 EFIS VOR R inc -- 15 EFIS VOR R dec -- 16 EFIS ND Mode inc -- 17 EFIS ND Mode dec -- 18 EFIS ND Range inc -- 19 EFIS ND Range dec -- 20 EFIS Minimums inc -- 21 EFIS Minimums dec -- 22 TOGA -- 23 EFIS TFC -- 24 EFIS ND Mode CTR -- EFIS WXR if ipcPARAM == 1 then ipc.control(72020) end -- EFIS STA if ipcPARAM == 2 then ipc.control(72021) end -- EFIS WPT if ipcPARAM == 3 then ipc.control(72022) end -- EFIS ARPT if ipcPARAM == 4 then ipc.control(72023) end -- EFIS DATA if ipcPARAM == 5 then ipc.control(72024) end -- EFIS POS if ipcPARAM == 6 then ipc.control(72025) end -- EFIS FPV if ipcPARAM == 7 then ipc.control(72000) end -- EFIS MTRS if ipcPARAM == 8 then ipc.control(72001) end -- EFIS MINS_RST if ipcPARAM == 9 then ipc.writeLvar("L:EFIS_L_MINS_RST_Switch_var", 1) ipc.sleep(250) ipc.writeLvar("L:EFIS_L_MINS_RST_Switch_var", 0) end -- EFIS IN HPA if ipcPARAM == 10 then ipc.control(72007) end -- EFIS BARO_STD if ipcPARAM == 11 then ipc.writeLvar("L:EFIS_L_BARO_STD_Switch_var", 1) ipc.sleep(250) ipc.writeLvar("L:EFIS_L_BARO_STD_Switch_var", 0) end -- EFIS VOR L inc if ipcPARAM == 12 then ipc.control(66587, 72010) end -- EFIS VOR L dec if ipcPARAM == 13 then ipc.control(66587, 72011) end -- EFIS VOR R inc if ipcPARAM == 14 then ipc.control(66587, 72018) end -- EFIS VOR R dec if ipcPARAM == 15 then ipc.control(66587, 72019) end -- EFIS ND Mode inc if ipcPARAM == 16 then ipc.control(66587, 72013) end -- EFIS ND Mode dec if ipcPARAM == 17 then ipc.control(66587, 72012) end -- EFIS ND Range inc if ipcPARAM == 18 then ipc.control(66587, 72016) end -- EFIS ND Range dec if ipcPARAM == 19 then ipc.control(66587, 72015) end -- EFIS Minimums inc if ipcPARAM == 20 then ipc.control(66587, 72005) end -- EFIS Minimums dec if ipcPARAM == 21 then ipc.control(66587, 72004) end -- TOGA if ipcPARAM == 22 then ipc.control(73010) end -- EFIS TFC if ipcPARAM == 23 then ipc.control(72017) end -- EFIS ND Mode CTR if ipcPARAM == 24 then ipc.control(72014) end Macros [Macros] Module="PMDG_747400_Overhead.DLL" 1=OHD: APU on=RX3700*X53cc,31 2=OHD: APU off=RX3700*X53cc 3=OHD: Batt on=RX3800*X8bcc 4=OHD: Batt Off 4.1=RX3800*X8bcc,31 4.2=RX3800*X8bcc 5=STBY Power on=RX3780*X53cc,31 6=STBY Power off=RX3780*X53cc 7=OHD: Gen 7.1=RX34f0*Xf7cc 7.2=RX3530*Xf7cc 7.3=RX3570*Xf7cc 7.4=RX35b0*Xf7cc 12=Start Eng1=RXd760*X8bcc 13=Start Eng2=RXd790*X8bcc 14=Start Eng3=RXd7c0*X8bcc 15=Start Eng4=RXd7f0*X8bcc 16=Light BCN=RX9600*X8bcc 17=Light Nav=RX95d0*X8bcc 18=Light Strobe=RX95a0*X8bcc 19=Light Wing=RX9570*X8bcc 20=Light Logo=RX9540*X8bcc 21=Light Taxi=RX9630*X8bcc 22=Light Runway=RX9660*X8bcc 23=Light LDG inb=RX96c0*X8bcc 24=Light LDG outb=RX9690*X8bcc 25=Light Dome=RX9770*X53cc 26=Light Storm=RX98f0*X8bcc 27=Light Panel 27.1=RX9870*X53cc,31 27.2=RX97f0*X53cc,31 27.3=RX96f0*X53cc,31 30=Light Panel dec 30.1=RX9870*X53cc 30.2=RX97f0*X53cc 30.3=RX96f0*X53cc Module1="PMDG_747400_Center.DLL" 8=Fuel Eng1=R1:1 9=Fuel Eng2=R1:2 10=Fuel Eng3=R1:3 11=Fuel Eng4=R1:4 56=Spoiler inc=R1:X16f0*X68cc,31 57=Spoiler dec=R1:X16f0*X68cc Module2="PMDG_747400_Main.DLL" 28=MCP F/D=R2:X4820*X8b00 29=MCP AT Arm=R2:X4860*X8bcc 31=MCP THR=R2:X4870*X8b00 32=MCP SPD=R2:X4880*X8b00 33=MCP LNAV=R2:X4b30*X8b00 34=MCP VNAV=R2:X49d0*X8bcc 35=MCP FLC=R2:X49e0*X8b00 36=MCP HDG hold=R2:X4b20*X8b00 37=MCP HDG sel=R2:X4b10*X8bcc 38=MCP SPD push=R2:X4de0*X8bcc 39=MCP ALT push=R2:X4df0*X8b00 40=MCP VS=R2:X4db0*X8bcc 41=MCP ALT hold=R2:X4c60*X8bcc 42=MCP LOC=R2:X4b40*X8b00 43=MCP APP=R2:X4b50*X8b00 44=MCP CMD L=R2:X47b0*X8bcc 45=MCP CMD C=R2:X47d0*X8bcc 46=MCP CMD R=R2:X47f0*X8bcc 47=MCP Disengage=R2:X4810*X8bcc 48=MCP VS dn=R2:X4c70*X5700 49=MCP VS up=R2:X4c70*X5700,31 50=MCP ALT dn=R2:X4b60*X5300,13 51=MCP ALT up=R2:X4b60*X5300,14 52=MCP HDG inc=R2:X4a30*X53cc,14 53=MCP HD dec=R2:X4a30*X53cc,13 54=MCP SPD inc=R2:X48b0*X57cc,14 55=MCP SPD dec=R2:X48b0*X57cc,13 58=MAster warn=R2:Xd8e0*X8b00 59=ABrk inc=R2:Xf330*X56cc,31 60=ABrk dec=R2:Xf330*X56cc 61=TFC inc=R2:Xf0d0*X56cc,31 62=TFC dec=R2:Xf0d0*X56cc 63=no smoking inc=R2:Xf3c0*X56cc,31 64=mo smoking dec=R2:Xf3c0*X56cc 65=seat inc=R2:Xf410*X56cc,31 66=seat dec=R2:Xf410*X56cc Read FSUIPC Manual for more information about LUA!! Do everything at your own risk; don't blame PMDG, Pete Dowson or (most important) me for any errors! Have fun!
  18. +1 on this! The combo and the rest of the VRInsight stuff could be a market leader, because the price-performance-ratio is very good, I think. GoFlight and the rest is doubtless better quality, but much to expensive. But VRInsight seems a bit unprofessional behind their facade... I wonder why they haven't put 1,2 or 3 BU0836X Interfaces behind their hardware... this thing works wonderful. All our hopes now to our master translator FSX Rest of the world: Pete! :D
  19. Ah, ok... doesn't matter! Thanks for answering!!
  20. Hello Pete, is it possible to change the font color in the lua displays? Now its red... would be nice to be able to change colors for messages... guenter
  21. Yes, works perfect!!! As always a big thanks for the fast and good support!!!
  22. Hello Pete, I try to generate a little failure generator... One lua is for the failures, an other is for resetting them I have a LUA loop ("while") in the failure lua and have get out of this loop. I found one solution to set a global variable in the loop and change it with the reset lua to get out of the loop. But I think you will have a better solution. One idea is, to send a "kill" to the failure lua. I know about the kill possibility via the FSUIPC menu, but I'd like to have it inside the reset lua Sth like "ipc.kill("failure.lua") or however this is called or possible.... Or you have an other idea how I can get out of this loop (the loop controls fuel flow. as the fuel flow is resetting itself you have to permanently send "fuel flow XY". to reset I'd like to cancel this loop as the fuel flow is then restting itself) Hope you understand! thanks very much!!!! guenter
  23. Because I like the "zones" that the X52 have already implemented for normal throtteling. The steps between the zones are to inaccurate for me... I can't say at all, but then I like the solution with F2 more then the reverse zones. But my above idea could be very good I think, if it is possible
×
×
  • 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.