Jump to content
The simFlight Network Forums

Dominik

Members
  • Posts

    33
  • 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. Thank you for your quick reply.
  2. 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.
  3. Dominik

    Slow LUA

    It would be great if you would look into this in detail, maybe you will find a solution. Dominik
  4. 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
  5. 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
  6. 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
  7. 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.
  8. 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
  9. 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
  10. 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.
  11. 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.
  12. Thanks for your help, I set LvarScanDelay = 25 in FSUIPC_WASM.ini and actually fsuipc loaded more LVARs for me. Previously it was loading around 1700 now it's 1912. Everything works ok. I found the file FSUIPC_WAMS.ini in Community \ fsuipc-lvar-module only. There is no such file in the location mentioned in the Advanced User guide. Should I copy the teen ini file from the community folder?
  13. After updating to SU10 it seems to me that fsuipc does not load all PMDG LVARs. Lua reports the bug that there is no such LVAR. It always helped to call from Add-ond >> WASM >> Reload and then everything was ok. I tested on versions 7.3.7 and 7.3.9dFSUIPC7.log Regards Dominik FSUIPC7.ini
  14. Thank you for your help!
×
×
  • 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.