Jump to content
Sign in to follow this  
artox67

Door Offset Support Request

Recommended Posts

Hi,

 

I need a little hint how to address the door status (Door 2L) at a 777 PMDG

 

door=ipc.readUB("65DC")            --get status of 777 Door

The above just read door 1L but I need 2L

Thx

 

Frank J. Herter

Edited by artox67

Frank J. Herter

Share this post


Link to post
Share on other sites
40 minutes ago, artox67 said:

Hi,

 

I need a little hint how to address the door status (Door 2L) at a 777 PMDG

 

door=ipc.readUB("65DC")            --get status of 777 Door

The above just read door 1L but I need 2L

Thx

 

Frank J. Herter

Frank,

Our SDK has all the door status. Check the PMDG_777X_SDK.h file for all possible status


Chris Makris

PLEASE NOTE PMDG HAS DEPARTED AVSIM

You can find us at http://forum.pmdg.com

 

Share this post


Link to post
Share on other sites

Hi Chris,

 

thx for reply.

I saw all the status but at the moment I don't know how to address the relevant door (2L) to get the right value.

 

Frank J. Herter


Frank J. Herter

Share this post


Link to post
Share on other sites

Each door is a different byte in the array. You can either read the whole array, or add the offset to 0x65DC and read a single byte from there.

Cheers!


Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

Share this post


Link to post
Share on other sites
1 hour ago, Luke said:

Each door is a different byte in the array. You can either read the whole array, or add the offset to 0x65DC and read a single byte from there.

Cheers!

Hi Chris, 

thx for reply. I'm currently learning to script with LUA and I don't know how to address the single byte with the door=ipc.readUB("65DC") 

I know there is something missing but I didn't get it addressed.

 

Frank J. Herter


Frank J. Herter

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...