Jump to content
The simFlight Network Forums

Recommended Posts

Posted (edited)

Hello there:

     I'm using fsuipc client dll and using c# .

     I wanna know if this dll can be used in QT5 ?

     If it can , how to do with it .

Another question is that  I wanna to read a dozens of data from P3D, in the templete like fellow:

                FSUIPCConnection.Process();
                FSUIPCConnection.Process("Environment");
                FSUIPCConnection.Process("LatLonBasics");

   So that data can be read from offset, but where can I found the groupname list ?

   Cause I don't know the e.g ManifoldPressure belong to which gourp .

Any reply will be appreciated.

Regards.

20180821

Edited by longkimari
Posted
Quote

   I wanna know if this dll can be used in QT5 ?

I don't know anything about QT5. You will need to ask their support (or on their forum) about calling .NET libraries.

Quote

 So that data can be read from offset, but where can I found the groupname list ?

   Cause I don't know the e.g ManifoldPressure belong to which gourp .

There are no pre-defined group names. Groups are created by you the programmer.

You do this by declaring Offsets and giving them a group name that you choose.

e.g.

        private Offset<string> aircraftType = new Offset<string>("AircraftInfo", 0x3160, 24);
        private Offset<string> aircraftModel = new Offset<string>("AircraftInfo", 0x3500, 24);
        private Offset<ushort> manifoldPressure1 = new Offset<ushort>("EngineData", 0x08C0);
        private Offset<ushort> manifoldPressure2 = new Offset<ushort>("EngineData", 0x0958);

Here I've declared the 4 offsets I need and placed them into 2 groups, AircraftInfo and EngineData.

Please see the "Example Code Applications" - Section "BC005_GroupingOffsets". You can download this from the website:

http://fsuipc.paulhenty.com/#downloads

Paul

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.