Jump to content
The simFlight Network Forums

Adressing simvar from fsuipc


Sebizart

Recommended Posts

Hi everybody, 

Currently working with FSUIPC C# Net, I need to know if it's possible to set some SIMVAR Values from .NET if this offset is not set by FSControl Enum or Offset<>(hex) ? 

For example, if I want to set this simvar (from MSFS SDK) ?

BUS BREAKER PULLED This will be true if the bus breaker is pulled. Requires a BUS_LOOKUP_INDEX and a bus index. Bool  

Regards

 

 

 

 

 

Edited by Sebizart
Link to comment
Share on other sites

22 hours ago, Paul Henty said:

It's not possible to read and write SimVars directly using FSUIPC.

If you ask John Dowson in the MSFS (FSUIPC7) support forum he might add this variable as a new offset.

This is possible. Any simvar can be added to an FSUIPC7 offset for read or read/write using the myOffsets.txt file. See page 34 of the Advanced User guide for details.
Once a simvar is held in an offset, that offset can then be used as any other offset, i.e. can be read and written to.

John

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.