Jump to content
The simFlight Network Forums

Metall4You

Members
  • Posts

    38
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Switzerland

Metall4You's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Dedicated Rare
  • Week One Done

Recent Badges

0

Reputation

  1. Hello I would like to assign an encoder with the input numbers 132 and 133 a free offset, for example 66E0 and 66E1, in the Fsuipc config. What do I have to select to assign the offsets. are these fs controls? would like to use this offset for the Flight and Land alt. Can I read the free offset assigned in fsuipc in an external program with the function on_fsuipc_offset_change? thanks for your tips. Ramon
  2. Hi John I tested it and it works perfectly. I actually had a typo in the LVAR, didn't notice it, thanks for the tip. I have attached the log file for information. Many thanks and Kind regards Ramon FSUIPC7.log
  3. many thanks John I'll try it out right away and get back to you Ramon
  4. Hi John I changed the script again and set WASM debug. Thank you for your support. Kind Regards Ramon raas_power_switch.lua FSUIPC7.INI FSUIPC7.log FSUIPC_WASM.log
  5. Hallo John Was ich auch nach dem Lesen der Lua-Bibliothek nicht ganz verstehe, ist, ob ich den Wert des LVAR direkt mit ipc.writeLvar("L:FS2CEW_RAASPRO_MASTER_SWITCH", 1) ändere oder den in der fsuipc.ini mit 1=L:FS2CEW_RAASPRO_MASTER_SWITCH=UB0xA000 definierten Offset mit ipc.writeUD("A000", 1) ansprechen muss. beides, weil der gewünschte Erfolg noch nicht eintritt. fsuipc.ini-Eintrag: [LvarOffsets] 1=L:FS2CEW_RAASPRO_MASTER_SWITCH=UB0xA000 wenn ich es mit set var aus dem fsuipc-Programm mit Parameter 1 ausführe , funktioniert es Mit freundlichen Grüße Ramon raas_power_switch.lua
  6. Hi John Thanks for your Answer. the script has no line 50 😀 kind regards ramon raas_power_switch.lua
  7. Hi John If I assign the offset for the lvar in the fsuipc.ini and I reload WASM with ipc.reloadWASM(), is the offset assigned when it is available or do I have to recreate it with LUA? Ramon
  8. Hi John Many thanks for the new exe file, the error has disappeared. I have installed the code for the lvar and it is loaded. However, if I now use "ipc.writeLvar("L:FS2CEW_RAASPRO_MASTER_SWITCH ", 1) to write value 1 to ON I get the error: *** LUA Error: C:\Homecockpit 737\FSUIPC7\raas_power_switch.lua:50: Event proc not found if I use "Set lvar" from the form of fsuipc it works, but the entry looks like this : "FS2CEW_RAASPRO_MASTER_SWITCH 0046" Thanks for your help FSUIPC7.log
  9. Hi John Many thanks for your Support. Would be happy to send you the INI and LOG files. My problem at the moment is that I can't get the LVAR 'FS2CEW_RAASPRO_MASTER_SWITCH' to work. would like to control the RAAS power button from FSCrew using Lua script. Error: **** Lvar 'FS2CEW_RAASPRO_MASTER_SWITCH' not found: cannot add to offset 0xA010 Thanks for your help FSUIPC7.INI FSUIPC7.log
  10. Hello I wanted to find out why I'm getting this error message. don't know where to look. thank you for your feedback Exception 1 "ERROR", Ref 19781, Index param 2 on TransmitClientEvent, object=0, id=68038 (????), data=67108864 Kind Regards Ramon FSUIPC7.log
  11. Hello Paul Should i have to install this modul's: FSUIPC WASM Module 1.0.3 + WAPI 1.0.4 Kind regards Ramon
  12. Hello Paul together with prosim737, SIOC Direct and WideClient is probably one connection too many. The keyboard of the CDU which is connected to SIOC Direct and ProSim737 freezes. How can I establish a FSUIPC connection without WideClient? thanks for the notice kind regards Ramon
  13. Hello Paul Thanks for your answer. I use my 2 Opencockpits CDU's via SIOC Direct in ProSim737. They are connected with USB 2.0. Unfortunately, I don't know whether the CDU hardware is only considered a keyboard. The CDU buttons don't work when the CDU has the focus. My software runs with a timer and, among other things, queries the position of the flaps for the speed of the trim wheels. I set the timer interval to 50. fsuipc.dll doesn't need the focus to work, I get the offset values even if the CDU has the focus. should I switch to the FSUIPC client version? Thank you for your efforts kind regards Ramon
  14. Hello I have the following setup on the client PC: I use my 2 Opencockpits CDU's via SIOC Direct in ProSim737. I start SIOC and the CDU software from Prosim737 with the Wideclient software. This worked perfectly. When I now start my program, which I programmed in Visual Studio 2022, it connects to WideClient. The connection is OK. Now my problem. Now when I want to operate the CDU, the button presses no longer work. If I close my program it works again. My question: Is there a command that I have to insert or should I change the config (FSUIPC as client?) without Widelient? thank you for your message kind regards Ramon
  15. Hello John I found out that SCPascal cannot read this Float64 offset as a double. Kind Regards ramon
×
×
  • 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.