Jump to content
The simFlight Network Forums

Dominik

Members
  • Posts

    36
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Poland

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dominik's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Thanks for the explanation, but I must be doing something wrong. Fsuipc returns Monitor IPC:7C90 (S32) = 0x1 - which is ok because the value is 1 However the next offset in the log is Input Event written to offset 0x7C50 not found: ':' trying to send 'I:FCC_ALT_HLD'
  2. The first offset 0x7C50 corresponds to a value of e.g. "1" and the second 0x7C90 is a name e.g. "L:FCC_ALT_HLD" Dominik
  3. Hi, I am using Fsuipc 7.5.0b for MFSM2024. After clicking on LOG>LIST INPUT EVENTS, a list of Input Events is displayed. Is there an option to set the ID numbers of these events? I want to use these ID numbers to manage with Offsets 3114 and 3110. Best regards Dominik
  4. Thank you for your quick reply.
  5. Is it possible to write data directly to the offset in pmdg or do I have to do it through events like this WriteFSUIPC($3110, 4, value); WriteFSUIPC($3114, 4, 70008); I am trying to directly send the state of e.g. a fuel pump switch and it doesn't work for me as if the offset was read-only.
  6. Dominik

    Slow LUA

    It would be great if you would look into this in detail, maybe you will find a solution. Dominik
  7. Dominik

    Slow LUA

    First of all, thank you for taking such a close look at my case. The script could definitely be written better. I wrote the LUA script for a ready-made program for handling MCP etc. which works on Xplane. In Xplane I have communication via writing and reading to a file. It's a pity that reading lvar took longer but I understand that you had to make such changes. For now I will work on version 7.4.11 until I modify the program for MCP to work with fsuipc offsets. I checked version 7.4.12 in which LUA works as slowly as in version 7.4.13 Dominik
  8. Dominik

    Slow LUA

    Hello, I changed the parameter for LvarUpdateCeequency to VisualFrame in the wasm ini file but unfortunately no improvement. Attached are two log files with the Log -> Lua Plugins option enabled. When creating these logs the delay on the displays is still greater in version 7_4_13 Dominik FSUIPC7_4_13.log FSUIPC7_4_11.log
  9. Dominik

    Slow LUA

    I am sending the files you requested in the attachment. The PMDG737Zapis.lua file saves data to a file that another program reads and sends this data to the MCP, Overhead and radio Panel. The PMDG737.lua file supports switches. B737 PMDG aircraft. I hope this will help solve the problem. Dominik. FSrecord7_4_13.csv FSrecord_7_4_11.csv PMDG737Zapis.lua PMDG737.lua
  10. Dominik

    Slow LUA

    I start MFSM2020 then manually start fsuipc v7.4.11 everything works great. I close fsuipc and start v7.4.13 refreshing values on MCP becomes slow. I start v 7.4.11 again and everything works great. I don't change anything in lua code or other settings. If it's not fsuipc's fault then it's very strange. But if you say so then it has to be so.
  11. Dominik

    Slow LUA

    Hello, I have a home-made MCP that communicates with fsuipc using a LUA script, data from MFSM 2020 is saved to a file. Another program reads this data and sends it to MCP displays, e.g. Altitude, etc. After installing the latest version of fsuipc 7.4.13, LUA slowed down terribly, data is sent to displays with a long delay (about 2 seconds). In the previous version of fsuipc 7.4.11, the problem did not occur and data on MCP displays refreshed immediately. Has the LUA refresh rate been reduced? - If something like that is. Dominik
  12. In the LUA code, I added print (CDU_data) to display this data in the console. CDU_Data is displayed as a string that is constantly changing. Do you need to format this data somehow after reading? In the attachment I am sending the log file. FSUIPC7_prev.log
  13. It uses LUA to read the offsets and write this data as text to a txt file. The second program reads this data from the txt file and sends it to the Arduino. My point is to use LUA to read the text lines on the CDU and save them as text in a txt file. Then the second program will read this data from the txt file and send it to the Arduino.
  14. using LUA I can read PMDG offsets but I have a problem with CDU Screen Data offset 0x5400-0x57FF. Can anyone help me how to read these offsets correctly using LUA script. Thanks for any help. Dominik.
×
×
  • 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.