January 7Jan 7 Hello everybody, I'm trying to find an Lvar in the "new" MSFS2024 PMDG 737 which would tell me if the captain side WXR is on or off. Can anyone help me find one?
January 7Jan 7 53 minutes ago, finnisher said: Hello everybody, MSFS2024 PMDG 737 which would tell me if the captain side WXR is on or off. In addition to this? 747 Captain for the last 39 years, and still learning.
January 7Jan 7 Commercial Member I am trying to check it out, but for some reason, I am unable to load the 738 in FS24. This used to work fine before. I did the latest update, but after selecting the aircraft + airfield and starting the flight, the loading process starts - then slows to a crawl and finally gets stuck. I even deleted the wasm folder and then gave it 15 minutes to compile the WASM modules, to no avail. Maybe it is in a better mood tomorrow 😞 Edited January 7Jan 7 by Lorby_SI LORBY-SI
January 7Jan 7 Author 2 hours ago, LRBS said: In addition to this? I do know how to tell it from the screen but I’m trying to write a script that needs to know if the WXR is on or off since the button on the EFIS panel is a (momentary) toggle button. More specifically, I want a script that turns the XPNDR/TCAS to Alt Rptg and WXR off (if it is on) to be used before pushback and after landing. It doesn’t work if the script can’t determine the state of the WXR.
January 7Jan 7 17 minutes ago, finnisher said: I do know how to tell it from the screen but I’m trying to write a script that needs to know if the WXR is on or off since the button on the EFIS panel is a (momentary) toggle button. More specifically, I want a script that turns the XPNDR/TCAS to Alt Rptg and WXR off (if it is on) to be used before pushback and after landing. It doesn’t work if the script can’t determine the state of the WXR. I understand now what you are looking for. IMHO, it makes more sense to actually touch the respective switch than to program buttons. Anyhow, the best person and customer service is at Lorby; he is always available to help. Regarding the WXR switch on the EFIS, yes, it is momentary on/off, with the corresponding indication on ND. It is OFF when there is no indication on ND. Sorry for the confusion. 747 Captain for the last 39 years, and still learning.
January 8Jan 8 Commercial Member 17 hours ago, finnisher said: Hello everybody, I'm trying to find an Lvar in the "new" MSFS2024 PMDG 737 which would tell me if the captain side WXR is on or off. Can anyone help me find one? I don't think such a variable exists. The way I see it, this information is "living" only inside their WASM module, it is not published to a simulator variable. LORBY-SI
January 8Jan 8 Author 5 hours ago, Lorby_SI said: I don't think such a variable exists. The way I see it, this information is "living" only inside their WASM module, it is not published to a simulator variable. That's what I was worried about, but thank you nevertheless! Another user on the PMDG Discord suggested that I create a counter variable which increments everytime the script touches the WXR so I can keep track of its state. I'll give that a try but mentioning it here as an alternative solution if someone else ever comes across the same problem.
January 8Jan 8 Commercial Member 12 minutes ago, finnisher said: Another user on the PMDG Discord suggested that I create a counter variable which increments everytime the script touches the WXR so I can keep track of its state. I'll give that a try but mentioning it here as an alternative solution if someone else ever comes across the same problem. What is your use case? Is this about showing the state of the WXR on a StreamDeck action? LORBY-SI
January 8Jan 8 Author 5 hours ago, Lorby_SI said: What is your use case? Is this about showing the state of the WXR on a StreamDeck action? I use the rotary knob on Honeycomb Bravo for the XPNDR/TCAS knob. When I turn it to the first position I want it to turn the transponder to Alt Rptg Off and WXR off (before pushback and after landing). When I turn it to the last increment I want the transponder to TA/RA and WXR on (before lineup). This all doesn’t work if I don’t know the state of the WXR.
January 9Jan 9 Commercial Member 13 hours ago, finnisher said: I use the rotary knob on Honeycomb Bravo for the XPNDR/TCAS knob. When I turn it to the first position I want it to turn the transponder to Alt Rptg Off and WXR off (before pushback and after landing). When I turn it to the last increment I want the transponder to TA/RA and WXR on (before lineup). This all doesn’t work if I don’t know the state of the WXR. You could try and run a script like this one: (LISTEN_FOR_K:ROTOR_BRAKE)·36904·==·if{·1·(L:wxrstate)·-·(>L:wxrstate)·} You only have to run it once per session, for example as an aircraft automated script, one shot, beginning. The listener will track all occurences of the "ROTOR_BRAKE" event, that PMDG uses to send the button events to their internal logic. 36904 is the "left-mouse-button-up" code of the WXR button on the EFIS panel. So when you click on the button, once the mouse button is released, the LVar will toggle between 0 and 1. But this has several drawbacks - there is more than one button to operate the WXR, and they have different codes. So you may need more than one script. Plus, absoultely everything is handled through the ROTOR_BRAKE event, so you will put a fair bit of load on AAO. When you operate the WXR by script, make sure to use the correct RB code. LORBY-SI
Create an account or sign in to comment