July 18, 20241 yr Hey Guys, just wanted to ask if it's possible to read the door status? As per the SDK // Door state // Possible values are, 0: open, 1: closed, 2: closed and armed, 3: closing, 4: opening. however when reading the switch (L:7X7XCabinDoor1L, number) for example it goes between 0 and 100 when reading varriables. This is fine for open and closed, however not possible for armed or disarmed or opening closing for example. Basically trying to display it on a stream deck. Thanks! Clinton Royston Fernandes. Vabb-Mumbai India.
July 18, 20241 yr Commercial Member Hello, this is a bug in AAO, the data structure doesn't fit. It will be corrected in version 4.40 If you want, send me an email with your proof of purchase to the support address (last page of the manual) and you can have the development version, where all this should work. Edited July 18, 20241 yr by Lorby_SI LORBY-SI
July 18, 20241 yr Commercial Member 11 minutes ago, Falconfly said: As per the SDK // Door state // Possible values are, 0: open, 1: closed, 2: closed and armed, 3: closing, 4: opening. Edit: the LVars and ROTOR_BRAKE codes are not part of the SDK! You have to use the PMDG: variables in AAO if you want the SDK info - which is where the above mentioned bug comes in. There is a chapter about the interaction with PMDG planes via their SDK in the AAO manual too! TMBK the LVars only control the animation and illumination of things. Edited July 18, 20241 yr by Lorby_SI LORBY-SI
July 18, 20241 yr Author 4 minutes ago, Lorby_SI said: Edit: the LVars and ROTOR_BRAKE codes are not part of the SDK! You have to use the PMDG: variables in AAO if you want the SDK info - which is where the above mentioned bug comes in. There is a chapter about the interaction with PMDG planes via their SDK in the AAO manual too! TMBK the LVars only control the animation and illumination of things. Hey thanks for getting back to me so quickly! So just to clarify how could I read the state of the doors? Since if I read (L:7X7XCabinDoor1L, number) it just goes from 0 to 100. If I want to know the state of the door, what would I need to read? Very sorry for the questions, I'm quite new to this. Thanks Clinton Royston Fernandes. Vabb-Mumbai India.
July 18, 20241 yr Commercial Member 26 minutes ago, Falconfly said: what would I need to read (PMDG:DOOR_state[n]) n going from 0 to 15. But as I wrote above, there is a good chance that this doesn't work in AAO version 4.30 Also, you need to do some configuration work in AAO, this also requires to establish a special Aircraft Automated Script. It is imperative that you study Chapter 18 in the AAO manual, "PMDG Aircraft" Edited July 18, 20241 yr by Lorby_SI LORBY-SI
August 12, 20241 yr Author On 7/18/2024 at 8:41 PM, Lorby_SI said: (PMDG:DOOR_state[n]) n going from 0 to 15. But as I wrote above, there is a good chance that this doesn't work in AAO version 4.30 Also, you need to do some configuration work in AAO, this also requires to establish a special Aircraft Automated Script. It is imperative that you study Chapter 18 in the AAO manual, "PMDG Aircraft" Hi! I got the latest version 4.40 and tried to read the above varriable, however it still shows (PMDG:DOOR_state[0]): [0.000000] even open or closing or arming etc the 1L door. I basically just wanted to create a page on my stream deck that shows the state of the door. Any idea what I'd need to do exactly please Thanks Clinton Royston Fernandes. Vabb-Mumbai India.
August 12, 20241 yr Commercial Member 10 hours ago, Falconfly said: Any idea what I'd need to do exactly please Did you read the chapter about PMDG aircraft in the AAO manual? When requesting data from a PMDG plane, additional steps must be taken. The data transmission must be activated in the aircrafts options.ini file and you have to configure a special autoscript in AAO to read the data from the PMDG SDK. See "Reading PMDG variables" in the AAO manual, page 139 Edited August 12, 20241 yr by Lorby_SI LORBY-SI
Create an account or sign in to comment