Jump to content
The simFlight Network Forums

longkimari

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by longkimari

  1. Thanks for Pete and Paul. I think they are enhancement indeed . And probably most of them are just control the Hardwares , or may be they are useless and just for appearance.
  2. Hi Paul: I was working on Cessna172 recently. There is a problem, I can't match the audio pannel switchs from FSUIPC, the panel like this: (if you can't discern: left column: COM1MIC,COM2MIC,COM3MIC,COM1/2,PA,MXR MUTE,DME,ADF,AUX,MANSQ,PILOT right column: COM1,COM2,COM3,TEL,SPKR,HI SENS,NAV1,NAV2,PLAY,COPLT ) I only found that in FSUIPC. But those are far from enough(and 3122 is using BitArray ? Is .value[0] means ADF1?). How could I found and match those switchs? Thank you for helping so much Paul. Best regards.
  3. Hi Henty: I'm trying to read and write breakers to make breaker pannel , but I don't find those data in FSUIPC. Could you tell me where should I find them ? thank you
  4. Hi , I'm tring to read and write about light. The documentation says that : Weather means that If I read it with ushort and convert to byte ,then modify it's value and convert back and write ? Any replies will be appriciate.
  5. Thanks for Paul and Pete . Issues are fixed.
  6. I wanna whether if there has some documentation can guide me to know the FSUIPC offsets corresponding to simconnect's data.
  7. Hi Paul : I'm working on an app that reading data from p3d v3 and udp data to another app (writing with QT ,PFD and MFD ). There are some issues : 1、about longitude and latitude . In your example , the code likes this: private Offset<FsLongitude> playerLon = new Offset<FsLongitude>("PerSecond20times", 0x0568, 8); private Offset<FsLatitude> playerLat = new Offset<FsLatitude>("PerSecond20times", 0x0560, 8); And it's result like this: W086° 29.87' But I wish the result likes simconnect in radian , how to do that ? 2、about Ele system , I wrote the code like : private Offset<ulong> EleBusMain = new Offset<ulong>("PerSecond1times", 0x2840); private Offset<ulong> EleBusAmps = new Offset<ulong>("PerSecond1times", 0x2848); private Offset<ulong> EleBattMain = new Offset<ulong>("PerSecond1times", 0x2870); private Offset<ulong> EleBattAmps = new Offset<ulong>("PerSecond1times", 0x2878); Cause those four data's size are 8 , so I put those in "ulong" type , but those appear wrong : All data are very huge numbers . 3、I found that C# type char's lenth is 2(also string), but Qt is 1, so when I copy struct to bytes and upd to my app , the data was wrong too . So far, I found that the data getting from FSUIPC and from simconnect are so different even it's a same data type , and some data can't found in FSUIPC , e.g kohlsmann . Thank you for your help. Best regards.
  8. Hi Paul : I'm working on an app that reading data from p3d v3 and udp data to another app (writing with QT ,PFD and MFD ). There are some issues : 1、about longitude and latitude . In your example , the code likes this: private Offset<FsLongitude> playerLon = new Offset<FsLongitude>("PerSecond20times", 0x0568, 8); private Offset<FsLatitude> playerLat = new Offset<FsLatitude>("PerSecond20times", 0x0560, 8); And it's result like this: W086° 29.87' But I wish the result likes simconnect in radian , how to do that ? 2、about Ele system , I wrote the code like : private Offset<ulong> EleBusMain = new Offset<ulong>("PerSecond1times", 0x2840); private Offset<ulong> EleBusAmps = new Offset<ulong>("PerSecond1times", 0x2848); private Offset<ulong> EleBattMain = new Offset<ulong>("PerSecond1times", 0x2870); private Offset<ulong> EleBattAmps = new Offset<ulong>("PerSecond1times", 0x2878); Cause those four data's size are 8 , so I put those in "ulong" type , but those appear wrong : All data are very huge numbers . 3、I found that C# type char's lenth is 2(also string), but Qt is 1, so when I copy struct to bytes and upd to my app , the data was wrong too . So far, I found that the data getting from FSUIPC and from simconnect are so different even it's a same data type , and some data can't found in FSUIPC , e.g kohlsmann . Thank you for your help. Best regards.
  9. Thanks Paul. I've already understand how to use .But still some questions, I'll post here later .
  10. 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
×
×
  • 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.