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

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.