Jump to content
The simFlight Network Forums

Lvar mapping to custom offset that gets added later - not working ...


Recommended Posts

Posted

Hey,

This case is for the PMDG 737. They have an lvar (switch_343_73X-spd brk armed status) which is invisible (ie. at least through the Behavior debug Window/Local Variables in MSFS) until the function is triggered and its value is changed and that's when the offset appears visible in the Behavior debug window. I have mapped this offset in my FSUIPC7.ini file as:

5=L:switch_343_73X=SD0xA010

After the offset became visible, I tried to used "Wasm->reload " and it does reload the lvars because the status message says it loaded 1925 lvars (from the previous number of 1923) and also appears in the FSUIPC window when after I ran Wasm->List lvars and has the correct value. 

Either way, when I try to read/write my offset, nothing happens (reads return 0. writes do nothing). Offset is writable as I verified through the debug window in MSFS.

Question:

Since this offset is added later at the stage, is this why it is not working.

FYI:

I know the purpose of the Wasm->reload option and let me give you feedback on it when working with pmdg 737: It almost never works. I am always forced to reload the sim when I make changes to my ini file. Not sure if that's FSUIPC or PMDG or MSFS.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.