Jump to content
The simFlight Network Forums

PMDG 737 for MSFS: irs_display_left/right


Andy B.

Recommended Posts

I tried the new PMDG 737 MSFS offsets yesterday. Everything seems to be working just fine. The only problem is an error I get while building with the MSFS offsets. It appears the PMDG 737 SDK states that irs_display_left and irs_display_right are character strings as they were for P3D. Building the project gives me the following error:

 

Cannot convert Offset<byte> to string.

 

The code referenced is below:

 

leftIRSDisplayTextBox.Text = Aircraft.PMDG737.IRS_DISPLAY_LEFT.Value;

rightIRSDisplayTextBox.Text = Aircraft.PMDG737.IRS_DISPLAY_RIGHT.Value;

 

Is it possible to fix this?

Link to comment
Share on other sites

Yes, I'll fix it. The documentation says this is a byte array instead of a character array so that's why it's wrong.

I'll have a new beta version out soon. I'll be getting rid of the new MSFS version of the 737 offsets class and amending the original 'NGX' to intelligently switch to the MSFS offsets when connected to MSFS. The offsets names will be the same, you'll just have to change the class name where you instantiate it.

Paul

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.