Jump to content
The simFlight Network Forums

mroschk

Members
  • Posts

    168
  • Joined

  • Last visited

Everything posted by mroschk

  1. Yes, there are some issues, but i dont need that functions because i have a Homecockpit using Prosim737. I know Prosim is using some functions, but i dont know which or what. I am using FSUIPC just to read and update the Payload with a little programm. Matthias
  2. Hello, sorry for the late Answer. The Problem is solved itself anyhow...i dont know what happens but now it works. I am sorry Matthias
  3. Hello, i have 2 Issues in Fsuipc7 v7.3.8 and latest MSFS beta, at the Moment 1.27.18.0 I have CH Pro Pedals USB connected and in FSUIPC set up as Rudder Pedals and TOE Brakes, All works. But when i start MSFS, FSUIPC starts also, and the no Axis are working. Then i have to click on the FSUIPC Symbow and then on Axis. Then move some axis and click ok. Then all works fine. In MSFS i have checked "fast WASM ..." ... could that be the Issue ? The second Issue is when i open FSUIPC Window and click on "Reload all assignments", then the Axis of the Rudder as example, changes from "send direct to FSUIPC calibration" to "Send to FS as normal axis" Can you pls have a look at this ? Matthias
  4. Hello, i am playing with the Example from you called "FSUIPCExampleCode_CS_V1.2.0". In P3D it works fine for changing the Payload, but it dosent work in FS2020 and also not in X-Plane. Have you any advice for me how to change the Payload in FS2020 and X-Plane ? Thanks MAtthias
  5. Yes, me too. Hmmm...did you know how to read the Name of the selected Window ( View 00 , View 01 ... ) ? Then i can display this name to know which window is actual selected. Matthias
  6. Hello, i have created inside Prepar3d v4.5 3 Windows. These are now to see under the Menu as View 0, View 1, View 2. Is there a Way to DIRECT select one of these windows ? I know i can iterate thru the windows ( slect next window ), but i want to DIRECTLY slect the windows. Each window has get a HotkeySelect=x number. But that is not working. When i klick in one of the Windows and the press the Hotkey, the View of the selected Window is changed, but that is not what i want. I want to SELECT the Window, like when i click with the Mouse at any of the windows and activate it. I hope you understand... Matthias
  7. Hello, after some configurations i changed to run Prepar3D v4.5 in Admin Mode. But now, when i want t o setup FSUIPC inside the P3D and click the Menu ENtrie, the P3D Window turns Black and thats it. There comes no FSUIPC Window, but also i can nothing else then close the Prepar3D. What can be wrong here ? How have i to install FSUIP ? Rund the FSUIPC setup in Admin Mode or not ? Maybe thats the reason? Matthias
  8. Hello, i am using Prosim737 ( still v1 ) and set up all Axis via FSUIPC, "send direct to FSUIPC". When i have no Oil Pressure , the Rudder are still working. Arent they supposed not to work without Oil Pressure or am i wrong ? Thx
  9. ahhh, thats the way.... Now i understand I come from C#, and here you set/clear the Bit via the BitNumber directly. Thanks very much Matthias
  10. now i am completely confused. So, easy question, what must i do to set ( as example ) bit 5 of Offset 5400 to 1 ? Matthias
  11. but it works and i dont need to OR the bits. ipc.setbitsUB(0x5400, 1) is not setting bit 1 to 1 and ipc.setbitsUB(0x5400, 2) is not setting bit 2 to 1. Matthias
  12. Hello, yes, i do it like you say. I add to the flag variable 1,2,4,8,16,32,64 if the doorflag is set an use writeUB to set the bits. Thanks Matthias
  13. Oh je, my mistake, sorry.... As you can see, i forgot to remove the "ipc.writeUB" in the last line...sorry, it works now "" Thanks Matthias
  14. Hello, i dont know why it is not working: function DoorState() local flag = 0 --if doorflag0 == 1 then flag = flag + 1 end --if doorflag1 == 1 then flag = flag + 2 end --if doorflag2 == 1 then flag = flag + 4 end --if doorflag3 == 1 then flag = flag + 8 end --if doorflag4 == 1 then flag = flag + 16 end --if doorflag5 == 1 then flag = flag + 32 end --if doorflag6 == 1 then flag = flag + 64 end if doorflag0 == 1 then ipc.setbitsUB(0x5400, 1) end if doorflag1 == 1 then ipc.setbitsUB(0x5400, 2) end if doorflag2 == 1 then ipc.setbitsUB(0x5400, 3) end if doorflag3 == 1 then ipc.setbitsUB(0x5400, 4) end if doorflag4 == 1 then ipc.setbitsUB(0x5400, 5) end if doorflag5 == 1 then ipc.setbitsUB(0x5400, 6) end if doorflag6 == 1 then ipc.setbitsUB(0x5400, 7) end --ipc.display("DoorState " ..flag, 3) ipc.writeUB(0x5400, flag) end The ipc.setbits is not working. The version with the "--" is working fine. I know it is doing the same, but it would be nice to know why the setbits is not working? Matthias
  15. Hello, but i testet also ipc.setbitsUB(0x5302, 1) but it seams not to work here. I will test it again this night. Thanks for the Answer and for testing that Matthias
  16. Hello, i have this little function in a LUA Script to check/set the DoorSTate. function DoorState() ipc.display("Doors", 3) ipc.setbitsUB(0x5302, 0) ipc.setbitsUB(0x5302, 1) end as you can see, i have testet if this script-function is called, and it is. But the Offset is not set after the function is called. Have you any idea why ? Thanks Matthias
  17. Hello, i have still no solution found, why the "event.sim(ANY, and also the "event.sim(AIRCRAFTCHANGE is not fired ? When i have a little lua file in the Modules folder whits only this little script: function test() ipc.display("test") end event.sim(ANY, "test") why is the text not displayed when i load another aircraft ?( which means the function is not called at Aircraft change ) Matthias
  18. Hello, oh, i am sorry about posting in the wrong section, maybe a admin can move the topic. Thanks for the answer, i will try... MR .... it works...thx
  19. Hello, i have a little Lua Script which should set a offset when i start the sim . function LightsCLEAR() ipc.display("LightsCLEAR") ipc.setbitsUB(0x5301, 1) ipc.setbitsUB(0x5301, 2) ipc.setbitsUB(0x5301, 4) ipc.setbitsUB(0x5301, 8) ipc.setbitsUB(0x5301, 16) ipc.setbitsUB(0x5301, 32) ipc.setbitsUB(0x5301, 64) ipc.setbitsUB(0x5301, 128) end event.sim(ANY, "LightsCLEAR") but it is only running, when i change the Time in the sim, as example from Day to Night. Why is the script not running when i start the sim? Or how can i run a script, when the sim starts? thx MR
  20. Hallöchen mal wieder, anscheinend bist du ja richtig fit mit der FSUIPC. Darf ich dich fragen, ob du irgendwie ein event einbaue könntest, welches man abonnieren kann um den Status abzufragen? Matthias
  21. Hello, i tested your new dll ... worked perdect now !! 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.