kingm56 Posted March 20, 2021 Report Posted March 20, 2021 Hey Paul, First, I want to thank you for all your hard work! Do you plan to update the .dll to include WASM support?
Paul Henty Posted March 20, 2021 Report Posted March 20, 2021 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
kingm56 Posted March 20, 2021 Author Report Posted March 20, 2021 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
Paul Henty Posted March 20, 2021 Report Posted March 20, 2021 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
kingm56 Posted March 20, 2021 Author Report Posted March 20, 2021 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.
Paul Henty Posted March 20, 2021 Report Posted March 20, 2021 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
Paul Henty Posted April 27, 2021 Report Posted April 27, 2021 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now