Jump to content
The simFlight Network Forums

Recommended Posts

Posted

What kind of support are you thinking about? If you mean referencing the DLL from a WASM application and having it run on the browser then I don't think that's possible. Communication with FSUIPC is done via Windows messaging using the Win32 API. I'm pretty sure that can't be accessed from code running in a browser.

You can use the DLL on the server side with an ASP.NET application. Not sure about the new Blazor server apps.

Let me know if you had something else in mind.

If you want real-time access to FSUIPC data from Javascript or WASM applications you can use my WebSocket server. This runs on the FlightSim computer and allows the browser to request and receive real-time updates over a WebSocket.

http://fsuipcwebsockets.paulhenty.com/

Paul

Posted

Hey Paul!

Specifically, I'm looking at a mechanism to read LVARs in MSFS via your dll; I know Mr. John Dowson released a WASM module containing header files to accomplish this task. Unfortunately, said header files need to recompiled as dll (library class) vice static library.  I didn't know you had the notions of compiling your dll to include these classes (similar to what you did with PMDG).  

Matt

Posted

Ahh, I understand now. 

I've had a look and I've no plans to do this at the moment. John says he's going to build this into FSUIPC7. When he does I'll see what that means. If LVars become accessible via the normal IPC interface then I won't need to do anything.

If this provides a faster way to access LVars than the current IPC method (one LVAR per Process()) then I'll look at adding support for it then.

Paul

 

Posted

Sounds great, Paul!

On  another note, can you derive the radar altimeter for you dll?  Currently,  Im just subtracting the acft MSL from grnd alt via background thread. 

Posted

The radar altimeter is in offset 0x31E4. It does have a height limit, above which it stops working. If you need higher altitudes AGL you'll need to stick with the formula that you are currently using.

Paul

  • 1 month later...
Posted

Hi Matt,

The new beta version of my DLL is now available with support for LVars and HVars in MSFS via John's WASM Module.

It's on NuGet (3.2.1-Beta) (remember to tick the box to 'include pre-release'.)

Documentation is here:

 

Paul

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.