Jump to content
The simFlight Network Forums

STF-DIR

Members
  • Posts

    86
  • Joined

  • Last visited

Everything posted by STF-DIR

  1. Hello, ok, i will check the PM Offsets. But one question until i can go forward: I need to update only SPD, HDG and ALT. Can i do this with only one LUA-File or must i take 3 different files with 3 different filters? I have attached the files if you want take a quick view on it. The Filer for the both files are inside the lua files on top. Is this notation correct to load the both files? [VRInsight.FMER] Lua=MCP_HDG DriverWrites=Filter WrFilter.1=HDG? DriverReads=Filter RdFilter.1=HDG?+ Lua=MCP_SPD DriverWrites=Filter WrFilter.1=SPD? DriverReads=Filter RdFilter.1=SPD?+ Thanks for the Help Matthias MyTest.rar
  2. a basic question: Must i restart the FS if i take any changes in the LUA script file? At the Moment i have added 2 new Filters: [VRInsight.FMER] Lua=VRI_SetMach DriverWrites=Filter WrFilter.1=SPD? WrFilter.2=SPDOF WrFilter.3=SPDON WrFilter.4=HDG? DriverReads=Filter [b]RdFilter.1=SPD?+ RdFilter.2=HDG?+[/b] and added this lines to the VRI_SetMach.lua file function settofs(handle, str) -- need to check only for SPDnnn+/- and send speed or mach to FS speed = tonumber(string.match(str, "SPD(%d%d%d)")) if speed ~= nil then if machmode then speed = speed * 655.36 ipc.writeUD(0x7e8, speed) else ipc.writeUW(0x7e2, speed) end end -- need to check only for HDGnnn+/- and send HDG to FS hdg = tonumber(string.match(str, "HDG(%d%d%d)")) if hdg ~= nil then hdg = hdg * 655.36 / 3.60 ipc.writeUD(0x7CC, hdg) end ipc.log("HDG=" .. hdg) end setmchmode(0x7e4, ipc.readUD(0x7e4)) setspdmode(0x7dc, ipc.readUD(0x7dc)) event.offset(0x7e2, "UW", "setspeed") event.offset(0x7e8, "UD", "setmach") event.offset(0x7e4, "UD", "setmchmode") event.offset(0x7dc, "UD", "setspdmode") event.offset(0x7CC, "UW", "setHDG") event.VRIread(dev, "settofs") is this the correct way? flusie
  3. Hello, i need help with programming a LUA Plugin for my VRI MCP and Project Magenta MCP. The Problem is the PM MCP displays not the SPEED, HDG and ALT Values from the VRI MCP. When i turn the SPD knob on the VRI MCP the display on the VRI MCP shows .. lets say 150, but the PM MCP Displays 100. The Values are not equal every time. The example LUA for the Speed seems to be working, but i need help for the other, HDG and ALT Values. Can anyone help? thanks flusie
  4. Hello, i can not switch back permanently to 4.30. Here works the VRinsight MCP not with Projekt Magenta ! Thanks for support. Matthias
  5. Hello again, now i have tested the same procedure with FSX, but have switched back to my old FSUIPC4 4.30 and all works fine. I can start from cold&dark cockpit in the default B737-800 and start the engines and all works absolut fine. So i think here is a problem with the FSUIPC4 4.60a or ? Matthias
  6. Ok, trying this Matthias
  7. The reason is that pmsystems seams not to be working correct with FSX and FSUIPC4 4.6? I can not start the engines and also not power up the Batterie. Matthias
  8. Hello, will the FSUIPC for FS2004 also work with VRinsight as FSUIPC4 4.6 ? Matthias
  9. Hello again, sory another question about pmGetweather. I have started it and he says netdir found in //Servername//netdir, downloads an satelite image and then he says in the bottom line: "Not enought Data from Satelite, try another.." What does this mean for me ? Mattihas
  10. Hello, one question: is anywhere a documentation of the PM Macros that i can call on the FSUIPC Buttons Page ? I mean witch Macro enables, disables or moves witch knob? Matthias Ps.: also the ND displays "NO WX" and also "NO TERR" ??? Pls. help
  11. Hello, sorry, works now. The Parameters was in the wrong order. STF-DIR
  12. Hello, i have some Problems creating the autostart Link to VSPE ( Virtual Serial Ports Emulator ) The Link shows under Target : "C:\Program Files\Eterlogic.com\Virtual Serial Ports Emulator\VSPEmulator.exe" -minimize –hide_splash C:\ComPairs_24.vspe But if i click the Link always comes a error up "Can not load configuration" and the Splash Screen comes also up. The file C:\ComPairs_24.vspe exists. Thanks STF-DIR
  13. Hello Pete, sorry but i have only version 4.30 at the moment and yes, it's a hang not a crash, sorry. Here are the FSUIPC.log File: and this are the FSUIPC.ini: I have installed driver for the Saitek X52 Flight Control System. can this driver making the Problems ?? Is it correct ok if i only kill all tasks or must i complete uninstall the driver? Thanks for your help and sorry if i misunderstand something. Matthias
  14. Hello, i have problems to assign button macros for my vrinsight MCP. When i call the FSUIPC Button Page to assign a buton to a macro the complete FSX crashes !! I have recorded a video about this: http://www.starflight-virtual.de/fsuipc_crash/ Please help, i have only called the FSUIPC Button Tab and then, afetr view seconds the FSX crashes complete. I have reinstalled FSUIPC and also the FSX, but the same problem. Please Help Matthias
  15. Hello Pete, If you write you dont know what Lua Script i mean.... ahha, in the log ???...ok, where is the log ? ( i have no log found in the moduls directory ) and on the Screen ?? No, if you mean the FS Main Window i have not seen anything on the Screen. What have i do? I have assigned a Joistick Button to the Script. Explaining: Go to the FSUIPC manü and open. Open the Button & Switches page. Press a joistick button select under "Control sent when Button pressed" the script LUA Log Vars ( i have also tested all other entries with Log Vars in the Name ) Ok, i hope you can now help me and explain me also a litle bit more what i have to do with a lua script? Matthias
  16. Hello Pete, now i understand a litle bit more what you mean. I mean e.g. this lua script: log lvars.lua -- "LogLvars" example LUA plug-in, by Pete Dowson, February 2009 displaymax = 15 local vals = {} local names = {} local lines = {} for i = 0, displaymax, 1 do lines[i] = "" end line = 0 scan = true postscan = false while 1 do i = 0 while i < 65536 do if scan then name = ipc.getLvarName(i) if name == nil then scan = false postscan = true break end if name ~= names[i] then vals[i] = nil names[i] = name end elseif names[i] == nil then break end n = ipc.readLvar(names[i]) if n == nil then scan = true break end dodisp = false if n ~= vals[i] then lines[line] = "L:" .. names[i] .. "=" .. n ipc.log(lines[line]) vals[i] = n line = line + 1 if line > displaymax then line = 0 end dodisp = true end if postscan or (dodisp and not scan) then j = line disp = "" repeat disp = disp .. "\n" .. lines[j] j = j + 1 if j > displaymax then j = 0 end until j == line ipc.display(disp) postscan = false end i = i + 1 end ipc.sleep(5) end What do this script and how is it to use? I have copied it into the modules folder and assigned it to a joistik button. After pressing the Button .. nothing happens. Whats wrong? Matthias
  17. Hi Pete, you dont know your own answer ? You write about the LUA Plug-in in your 2. or 3. Post ??? Matthias
  18. Hello Pete again, i have a question about this LUA Plugin and the PMDG...sorry. Ok, is it possible to read the actual Position of the Stby PWR Switch in the PMDG OVHD Panel with this LUA Plugin? If yes .. ( i hope ) .. how? sorry...have you a example for this? Thanks Matthias
  19. Hello, i have no solution found for this Problem: 1 have 2 PC, on both installed FS2004 with FSUIPC Now i have the Problem with PC1, here crashes the FSUIP if i want to assign a button to a virtual Joistick. I have a Expansion and a Master Card from Opencockpits. When i bring up the FSUIPC Button & Switches Page and then turn a Switch connected on the Master Card the FSUIPC will register that as Joistick# and Button#. Ok, for that. Now after view minutes the Flightsim and FSUIPC is not longer responding. The only way is to kill the Task. Thats the first Problem. The second is if i change some lines in the Button Section, how can i reload the FSUIPC ini? Matthias
  20. Hello, ok, i have 2 PC's, PC1 and PC2. On both machines are the FS9 installed and also FSUIPC. Now i have problems programming buttons on PC1, FS9 will crash afer view minutes. I dont know why, but this is not the Problem. Ok, PC1 has connected a Saitec X52 FCS Joistick and a BU0836X Controller for the Hardware Switches. PC2 has no Joistick connected, but i have connected temporary here the BU0836X from PC1. Now i have programmed some Buttons on PC2 ( with the PMDG Macro ). eg here the FS Internal Landing Lights: [buttons] . . 23=P1,4,C66059,0 24=U1,4,C66060,0 now i have copied the complete Button Section from the FSUIPC.ini into the FSUIPC.ini from PC2 to PC1. But if i now try the same Hardware Button the Lights will not come up and the button will not work. Also when i no go in the FSUIPC Menu Button & Switches on PC1 and the Toogle the Button the Button action is not displayed in the field "Control sent when Button pressed". Whats here wrong? Must i also on PC2 have connected the X52 ? Matthias
  21. Hi Pete, for this time i have ordered a Expand and a Master Card from Opencockpits. The BU0836X from Leo will do the easy Jobs... eg real ON/OFF Switches. The future Switches connected to the Opencockpits Boards i will try to programm the Lights and switches with SIOC. I am nearly pinned on the PMDG 737 while i have the MCP COMBO Panel from VRInsight. This will work perfekt with the PMDG 737, but also with the LVL-D 767. This is the alternative for me. But for the moment i must test all this things. Matthias
  22. Hello Pete, thanks again for your help and Answers. Yes i will build my own Overhead Panel for an 737NG ( PMDG ) but i am in a very very beginning stadium ! But i will lern, read Manuals and Forums ! Thanks Pete Matthias
  23. Hello Pete, i see i must read the LUA Plugin Help ( i dont understand the LUA Plugin at the momenthow it works and how it is to use ) And also i must take a closer look to the pmSystems Software and how it works and how to get a LEP to come up same time a LED in the FS. For the Moment very thanks for your help !! I hope i can come back with the next beginner questions? Matthias
  24. Ahh, thanks..now i have found it .. Sorry i am a absolute Beginner in Homecockpit building. Another Question about the Meter Panel. Is there an Offset to get the Values for DC AMPS / DC VOLTS / AC AMPS / AC VOLTS and CPS FREQ ? And also for the many LED coming up when an engine fails or an fuel pump is not working ? Mean eg. the Lit Buttons over the GEN 1 ON / OFF switch named "TRANSFER BUS OFF" and "SOURCE OFF". Matthias
  25. Hello Pete, ahh...you mean the Button+Switches Page. I know this Page but where can i enter an Offset here? Also i have not found in any Documents what the "Parameter" Field means ? ( under the "Clear" Button ) Matthias
×
×
  • 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.