Jump to content
The simFlight Network Forums

CXA001

Members
  • Posts

    245
  • Joined

  • Last visited

Posts posted by CXA001

  1. 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

  2. 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

  3. 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

    FSVersionCorrect.png

    FSVersionIncorrect.png

  4. 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.

  5. 15 minutes ago, FeelThere Ariel said:

    @CXA001 the Upgrade you wish to purchase is only for owners of the previous Ejets version for P3D. The old version of these Ejets for P3D was this one: 

    ejetsv1-p3d4-v3.exe

    If you do not possess this ejets version, then this upgrade is not applicable to you. You will need to purchase the Embraer E-jets E170 and E190 V3

    The link you 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.

     

  6. 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,

  7. 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

     

  8. 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.

    imageCXAcars-FlightStatus.jpg

    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

     

     

     

  9. 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

     

×
×
  • 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.