Jump to content
The simFlight Network Forums

A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE error


SpiekerHoiting

Recommended Posts

Hello,

In VB.Net I'm trying to read L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE (and nr2) through FSUIPC. I declared it in FSUIPC7.ini as

105=L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE=F0xA350
106=L:A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE=F0xA358

If I list the Lvars in FSUIPC7 (A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE = 39.017968), I can see they have values of about 40 (PSI). But if I read them in VB.Net, they turn op 0. Also in FSInterrogate.

 

Greetings,

Harrie

Link to comment
Share on other sites

Why are you using offset 0xA350/0xA358? Those are in an area documented as Reserved. Not sure what that offset area is reserved for without checking, but can first try with offsets free for general use. If you get the same issue, please attach your FSUIPC7.ini and FSUIPC7.log files, the latter generated with WAPI debug level logging activated, as well as offset monitoring for the offsets you are using. Just load the aircraft, list the lvars, then exit.

Link to comment
Share on other sites

Hello John, I now read the values through 

105=L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE=F0x679C
106=L:A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE=F0x67A4

But they both show '0', though if I list the LVars, it shows:

A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE = 34.836354
A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE = 33.881522

 

tmp.png

Link to comment
Share on other sites

17 hours ago, SpiekerHoiting said:

AxA000 is mentioned in the FSUIPC7 user guide..

Yes,   of course, but if you look at the offset status guide, you will see:

0xA000 512
0xA200 3584 Reserved

i.e. there are 512 bytes available starting at offset 0xA000, so 0xA000 - 0xA1FF. The ones you are using are in the reserved area, and I cannot predict the behavior when using such offsets. Please always check the Offset Status document when using offsets.

15 hours ago, SpiekerHoiting said:

I think I found it: I declared them twice..

Yes, this is the issue:

Quote

74=L:A32NX_PNEU_ENG_1_REGULATED_TRANSDUCER_PRESSURE=F0xA250
75=L:A32NX_PNEU_ENG_2_REGULATED_TRANSDUCER_PRESSURE=F0xA258

John

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.