Search the Community
Showing results for tags 'LVAR'.
Found 3 results
Rescanning LVars generates spurious events (since 7.3.17)
Djeez posted a topic in FSUIPC7 MSFSIn my Lua scripts I use event.Lvar() calls to subscribe to Lvar changes to activate/deactive a corresponding LED. It seems as if an automatic Lvar rescan triggers the events: For every Lvar that was 1, I see two events: the Lvar being 0 and immediately thereafter the Lvar being 1 again. As a consequence, I see all LED's that are ON in my cockpit flicker whenever the number of Lvars changes. From the log file I can see this coincides with the change in number of LVars. 10220203 Lvars received: 4494 L:vars & 0 H:vars now available This flickering did not happen before 7.3.17.
Create macro for L-var manipulation
tincan posted a topic in FSUIPC Support Pete Dowson ModulesHi, I am trying to write a macro for the default A 321 radio panel. With the mouse you can change the display to show com1, com2, nav, etc. by pressing the appropriate button. I want to assign that to a key. I have tried to create a mouse macro, but the action wasn't recorded (no multiline message upon press). From what I understand so far (and I found out the name of the L-var in the gauge) I created this "a321.MCRO" file in the modules folder: [Macros] Module="popup_radio.xml" 1=com1=L:COM 1 Pressed,tog However, the macro "a321" was not listed in the drop-down menu for key assignment. Any help is much appreciated.
P3D shared cockpit - Lua - LVARs
gerauy posted a topic in FSUIPC Support Pete Dowson ModulesHi all, I have 2 machines in a Prepar3D multiplayer session sharing cockpit. In one of the machines I have FSUIPC with Lua scripts to change xml gauge LVars values (ipc.writeLvar). The LVars values modified via Lua scripts are not propagated to the other cockpit. If I change the values via mouse cliccks in the gauge the values are propagated correctly. Can anyone help me with this?? Thanks, Gerardo