Jump to content
The simFlight Network Forums

How get/set dataref of XP11?


Recommended Posts

Hi all

First, many thanks for the great fsuipc client dll.

When using it with xpuipc for x-plane, how can I get/set datarefs of XP11?
(Similar approach available like the LVar handling in FSX/P3D? Other way to do it?)

Best regards
Pete

Link to comment
Share on other sites

Hi Pete,

Access to datarefs would only be possible if they are supported by XPUIPC (mirroring the LVAR facilities in FSUIPC). I'm guessing that's not the case, so unfortunately there is no way to access datarefs with my DLL.

This .NET library (available on NuGet) uses a direct connection to XPlane (rather than via XPUIPC). Its features include:

  • You can send commands and subscribe to DataRef.
  • An event OnDataRefReceived is fired every time the value of a subscribed DataRef changes.

https://www.nuget.org/packages/XPlaneConnector

Paul

Link to comment
Share on other sites

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.