April 4, 20188 yr 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 April 4, 20188 yr by artox67 Frank J. Herter
April 4, 20188 yr 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
April 4, 20188 yr 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
April 4, 20188 yr 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.
April 4, 20188 yr 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.