-
Posts
245 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by CXA001
-
Thanks for the quick response. Your suspicions that this was written a long time ago is correct. I think it was about 5 years ago Setting the last boolean parameter to true resolved the issue. Thanks for you help. Marc
-
Our Acars program does not allow pilots to slew, use time acceleration or pause their flight simulator. I am having an issue where I am using offset 0X0262 to send a value of 0 to the simulator if a pause is detected. I have declared my offsets as follows: Offset<short> FSUIPCUnPause = new Offset<short>("FSUIPCUnPause", 0x0262, false); //Prevents flight simulator from being paused. Offset<short> FSUIPCNoAcceleraton = new Offset<short>("FSUIPCNoAcceleration", 0x0C1A, false); //Prevents flight simulator from increasing or decreasing sim rate. Offset<short> FSUIPCNoSlew = new Offset<short>("FSUIPCNoSlew", 0x05DC, false); //Prevents flight simulator from slewing. All three offsets are executed at the same time: FSUIPCConnection.Process(new string[] { "FSUIPCUnPause", "FSUIPCNoSlew", "FSUIPCNoAcceleration" }); FSUIPCUnPause.Value = 0; FSUIPCNoSlew.Value = 0; FSUIPCNoAcceleraton.Value = 256; If I look at the FSUIPC.log the values are be sent for NoSlew & NoAcceleration but not for UnPause: 657547 WRITEex 0C1A, 2 bytes: 00 01 664563 WRITEex 05DC, 2 bytes: 00 00 671157 ### Mode: PAUSE on This did work in the past, but it does not seem to work anymore. Any assistance would be appreciated. Thanks in advance, Marc
-
Hi Paul, You are correct, I had declared the offset as a short instead of a byte. 😞 Reading your explanation, this makes perfect sense. I have changed the offset from a short to a byte in my code and as expected, I am now getting the correct values on a consistent basis. Not sure how I missed that, but thanks for pointing out my error. Regards, Marc
-
I have noticed some strange behavior with offset 0X3124 to detect a flight simulator platform both with FSUIPC6 & FSUIPC7 (latest versions). Usually, when I load a flight whether FS20 or P3Dv5.2, offset 0X3124 will return the following values: 52 for P3Dv5.2 110 for FS20 However sometimes when I load a flight, it will return a weird value of 820. 803, 806, etc. I have also noticed that this happens mid-flight on flights over 3 hours which plays havoc with my applications. I do not have this issue with offset 0X3308, but unfortunately it does not provide the detailed flight simulator platforms that I am looking for. Any ideas? I have attached a couple of raw data screenshots of the raw data. Regards, Marc
-
Hi Paul, 0x0C18 is the correct offset and I can also confirm that is does work with FSUIPC7/MSFS. At least I can determine what Unit of Measure is being used. Being able to change it, is a nice to have, but I can work around this. Thanks for your help! Marc
-
Are there offsets to determine what the Unit of Measure is in the flight simulator and to change it from Metric to Imperial and vice versa? Thanks in advance, Marc
-
Thank you!
-
The link that he provided indicates: Your purchase doesn’t include a keycode. You need to be the owner of the previous version of the product named ejetsv1-p3d4-v3.exe. Please use the keycode that you received with that purchase to unlock this installer. If you do not have a previous version which product do you need to purchase to get the v3 E190 for P3Dv4/5? ejetsv1-p3d4-v3.exe does not really tell which product you need to purchase.
-
Yes I do. Regards,
-
I am interested in purchasing Embraer E-jets E170 and E190 V3 Upgrade for P3Dv4/5 and according to your web site, it indicates that I need to also purchase ejetsv1-p3d4-v3.exe. Which product is ejetsv1-p3d4-v3.exe? Thanks in advance,
-
What would be the offset for FS9 or would I have to use offset 3308 to determine if it is being used? Regards, Marc
-
As you suspected: FSUIPCConnection.SendControlToFS(FsControl.PAUSE_OFF, 0); Has no affect on Active Pause. Marc
-
With all flight sim platforms including all versions of Microsoft Flight Simulator, Lockheed Martin Prepar3D and Laminar Research X-Plane, if my application detects a pause in the sim, it will immeadately unpause the simulation. This is necessary as all our flights are flown online and pausing the sim while online is a big no-no. Code is as follows (C#): Offset<short> FSUIPCUnPause = new Offset<short>("FSUIPCUnPause", 0x0262, false); FSUIPCConnection.Process(new string[] { "FSUIPCUnPause" }); FSUIPCUnPause.Value = 0; This does not work with Microsoft Flight Simulator 2020. Any ideas as to why this works with all other flight simulator platforms except MSFS 2020? Thanks in advance, Marc
-
Ok thanks John. Marc
-
Would offset 0x3124 also work with X-Plane versions? Marc
-
I had the same issue and I am using offset 0x3D00, which is Aircraft Name String (256 bytes). Results are Cessna 208B Grand Caravan EX instead of TT:ATCCOM.AC_MODEL C208. Regards, Marc
-
Ok thanks guys. This will help me get ready for v5. Marc
-
I know it has not yet been released, but I am trying to get ahead on updating my applications that work with FSUIPC. Do you know what the FSUIPCFSVersion.Value will be for Lockheed Martin Prepar3D v5? Thanks in advance, Marc
-
Offsets for Fuel Flow for Majestic Dash 8
CXA001 replied to CXA001's topic in FSUIPC Client DLL for .NET
No, I haven't that will be my next step, but I thought I would check here first. Regards, Marc -
Hi all, Our Acars system displays the fuel flow per hour using offsets 0918, 09B0, 0A48 & 0AE0 and this works for every aircraft in our fleet except for the Majestic Dash 8. Does anyone have any idea how to get the fuel flow per hour for this aircraft? Thanks in advance, Marc
-
Lockheed Martin has announced that P3D v4 which is 64-bit will be released on May 30th. As FSUIPC is a 32-bit DLL any idea if it will work in P3D v4. Are there any plans to support P3D v4?
-
After many months of coding, we have finally released our new Acars system called CXAcars which replaces FSAcars. The response from our pilots has been extremely positive. I wanted to take a moment to personally thank Pete Dawson, Thomas Richter & Paul Henty. You have been absolutely fantastic in answering my question and I could not have done this without your assistance. Thanks again! Marc Wheeler (CXA001) Chief Executive Officer Canadian Xpress Virtual Airline® ~ Fly Virtually Anywhere! ™ ~ Web: http://www.CanadianXpress.ca
-
Lat & Longs between returned with comma instead of decimal
CXA001 replied to CXA001's topic in FSUIPC Client DLL for .NET
Ah Ha! Thanks for resolving the mystery! Regards, Marc -
We are in the process of beta-testing our new ACARs software and over all it is going very well. However, I have a very particular case where FSUIPC is returning the current latitude and longitude for one pilot only with commas instead of decimals. LAT= 47,464698792 instead of 47.464698792 LONG = 8,5491695404 instead of 8.5491695404 Offset<long> FSUIPCLatitude = new Offset<long>("FSUIPCLatitude", 0x0560); // Offset for Latitude. Offset<long> FSUIPCLongitude = new Offset<long>("FSUIPCLongitude", 0x0568); // Offset for Longitude. //Current latitude and longitude from FSUPIC. stringCurrentLatitude = Convert.ToString(FSUIPCLatitude.Value * 90m / (10001750m * 65536m * 65536m)); doubleCurrentLatitude = Convert.ToDouble(stringCurrentLatitude); stringCurrentLongitude = Convert.ToString(FSUIPCLongitude.Value * 360m / (65536m * 65536m * 65536m * 65536m)); doubleCurrentLongitude = Convert.ToDouble(stringCurrentLongitude); Worse case, I could put in some code to replace the comma in the string with a decimal, but I found this very strange especially since only one pilot is experiencing this. Any ideas on what would cause this? Regards, Marc