Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Door Offset Support Request

Featured Replies

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

  • Commercial Member
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

 

  • Author

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

  • Commercial Member

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.

  • Author
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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.