Jump to content
The simFlight Network Forums

Fabix

Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by Fabix

  1. Thank you very much! Where I can find a full list of lvars with description?
  2. Hi, is it possible to intercept if the various LEDs on the radio panel of an Airbus A320 are on or off?
  3. Fabix

    Wrong offset?

    I finally succeeded. I publish the solution so that in the future it can be of help to someone. Instead of the simple "filename", you have to write "Lua filename" in the MobiFlight menu like this screen:
  4. Fabix

    Wrong offset?

    Yes, I'm trying to navigate the various documentations. It would be great if there was a youtube video showing a simple example from start to finish. Hope for the future.
  5. Fabix

    Wrong offset?

    Yes, I have the registered version of FSAUPC 🙂 And yes if I assign the lua plugin to a button it works. Probably the problem is how I try to have it run through MobiFlight since it is actually a plugin and not a macro.
  6. Fabix

    Wrong offset?

    I came to the conclusion that the lua code I wrote just doesn't run. That log remains unchanged whatever I write in the lua code. At this point I am probably wrong to declare the file. I created a file called RadioSwitchOn.lua and placed it in the FSUIPC installation directory. After running FSUIPC the FSUIPC7.ini file shows: [LuaFiles] 1=RadioSwitchOn Is all this enough? Or am I wrong something? Maybe I have to call it with .mcro extension? Thank you, Fabio
  7. Fabix

    Wrong offset?

    This is what happen in the log when the lua script was executed: 517719 WRITE0[19376] 0D6C, 4 bytes: 01 00 00 00 .... 517719 WRITE0[19376] 0D70, 40 bytes: 52 61 64 69 6F 53 77 69 74 63 68 4F 6E 00 00 00 RadioSwitchOn... 517719 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 517719 00 00 00 00 00 00 00 00 ........ I don't know why two writing operations are performed, and above all on those offsets that I have not entered. I call the Macro with MobiFlight, I don't know if this could affect it:
  8. Fabix

    Wrong offset?

    Yes I had already tried it, but it always writes inside the wrong offset. Some idea?
  9. Hi, I just bought the FSUIPC7 and started doing some first experiments with LUA. I tried to write in an offset, but strangely when I read the log, I see that it wrote in another offset. What am I doing wrong? My LUA script: ipc.writeUB("66C0", 1) But in the log it shows written "0D6C" 🤔 What i am trying to do is write a value of 1 or 0 in a custom offset. Thank you, Fabio
  10. I'm using the stock A320. There is a master switch that power on or power off the radio.
  11. Hi, is there a chance to know if the Airbus A320 radio switch is on or off? What is the offset? Thank you
×
×
  • 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.