Jump to content
The simFlight Network Forums

Added Support for LVars/HVars Access in MSFS via John Dowson's WASM Module.


Recommended Posts

Quote

so I use  MSFSVariableServices.IsRunning , but it always return true. even I 'm not running MSFS2020.

Yes I can see that here as well. My DLL is just returning the value from the WASM module which seems to be wrong. I've asked John to take a look at this. 

Paul

Link to comment
Share on other sites

  • 1 month later...

There should be a section on the download page for "MSFSVariableServices Example Code". Expanding that, you should see buttons for the C# and VB download. 

If not, press [CTRL-F5] for force the browser to download the new version of the page. It may be using a cached version.

Paul 

Link to comment
Share on other sites

Paul,

I hope you're doing well, my friend.  I have a question pertaining to FBWA320 HVARs; specifically, I can manipulate all variable except for two:

H:A320_Neo_FCU_HDG_INC

H:A320_Neo_FCU_HDG_DEC

            FsHVar hvar = this.VS.HVars[H:A320_Neo_FCU_HDG_INC];
            if (hvar != null)
            {
                hvar.Set();
            }

Do you have any thoughts why these won't work?  They're included in the A320.hvar module file.  Any thoughts would be greatly appreciated   

Link to comment
Share on other sites

I don't know sorry. I can only suggest trying to set them with John's WASMClient.exe (from the FSUIPC WASM Module 0.5.5a.zip on fsuipc.com). If it doesn't work from there either then maybe ask John about it in the FSUIPC7/MSFS forum. 

If FBW have a support forum you might try asking there as well.

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.