Local variables via simconnect (C#)


I've been building small home cockpit for various aircrafts. One of them is QualityWings 787. There is a kit for builders with list of local variables.

My app (C#) can use simconnect variables and events - this works great. But I don't know how to use local variables from 787.

Can smb give me a hint?



Resource contributor
Lvars are only accessible via the panels system, which can only be accessed via a C++ dll. You can make such a dll and put a simconnect client data section in it which you fill with the L var states using panel functions, and then read that client space with your C# app.