Page 1 of 1

Interfacing MIP main lower panels?

Posted: Wed Mar 13, 2019 5:25 pm
by twisted8
Hello, I have been able to interface most of my MIP and working great, but in the SIOC script I don't see any variables for the Lower Main Panels. I see in the PMDG SDK the variables are there:

#define EVT_LWRMAIN_CAPT_MAIN_PANEL_BRT (THIRD_PARTY_EVENT_ID_MIN + 328)
#define EVT_LWRMAIN_CAPT_OUTBD_DU_BRT (THIRD_PARTY_EVENT_ID_MIN + 329)
#define EVT_LWRMAIN_CAPT_INBD_DU_BRT (THIRD_PARTY_EVENT_ID_MIN + 330)
#define EVT_LWRMAIN_CAPT_INBD_DU_INNER_BRT (THIRD_PARTY_EVENT_ID_MIN + 331)
#define EVT_LWRMAIN_CAPT_LOWER_DU_BRT (THIRD_PARTY_EVENT_ID_MIN + 332)
#define EVT_LWRMAIN_CAPT_LOWER_DU_INNER_BRT (THIRD_PARTY_EVENT_ID_MIN + 333)
#define EVT_LWRMAIN_CAPT_UPPER_DU_BRT (THIRD_PARTY_EVENT_ID_MIN + 334)
#define EVT_LWRMAIN_CAPT_BACKGROUND_BRT (THIRD_PARTY_EVENT_ID_MIN + 337)
#define EVT_LWRMAIN_CAPT_AFDS_BRT (THIRD_PARTY_EVENT_ID_MIN + 338)

Can this be simulated with OC4BA?
Thank you

Re: Interfacing MIP main lower panels?

Posted: Wed Mar 13, 2019 9:36 pm
by mvr1918
These PMDG SDK Events are not coded in the OCP4NGX script, but they should be working as they are all implemented in the OCP4NGX driver.

In order to test if they are working in the driver, you can try to use IOCPConsole and set values to one of them.

Here is the SIOC offset to use:

2507 = LWRMAIN_CAPT_AFDS_BRT
2508 = LWRMAIN_CAPT_BACKGROUND_BRT
2509 = LWRMAIN_CAPT_INBD_DU_BRT
2510 = LWRMAIN_CAPT_INBD_DU_INNER_BRT
2511 = LWRMAIN_CAPT_LOWER_DU_BRT
2512 = LWRMAIN_CAPT_LOWER_DU_INNER_BRT
2513 = LWRMAIN_CAPT_MAIN_PANEL_BRT
2514 = LWRMAIN_CAPT_OUTBD_DU_BRT
2515 = LWRMAIN_CAPT_UPPER_DU_BRT
2516 = LWRMAIN_FO_INBD_DU_BRT
2517 = LWRMAIN_FO_INBD_DU_INNER_BRT
2518 = LWRMAIN_FO_MAIN_PANEL_BRT
2519 = LWRMAIN_FO_OUTBD_DU_BRT


Check in PMDG SDK the values to be used as I do not remember.

If this works you can add in the correct script code to the existing script. First export script to txt file, add new code to file, recompile and test

Re: Interfacing MIP main lower panels?

Posted: Wed Mar 13, 2019 11:18 pm
by twisted8
excellent, thank you!

Re: Interfacing MIP main lower panels?

Posted: Thu Mar 14, 2019 11:32 am
by PH-JRJ
twisted8 wrote:excellent, thank you!
Can you share the script with us? I would like to have it to make my flightdeck complete.

Thanks

Remco

Re: Interfacing MIP main lower panels?

Posted: Thu Mar 14, 2019 5:17 pm
by twisted8
Will do Remco!

Re: Interfacing MIP main lower panels?

Posted: Thu Mar 14, 2019 7:38 pm
by PH-JRJ
Thanks, you made my day!

Best regards Remco

Re: Interfacing MIP main lower panels?

Posted: Wed Jun 12, 2019 12:49 pm
by PH-JRJ
Hi Twisted8

did you already managed to have the lower panels scripted?

Thanks

Best regards

Remco

Re: Interfacing MIP main lower panels?

Posted: Tue Sep 17, 2019 4:56 pm
by twisted8
Not yet, sorry still working on the overhead.

Re: Interfacing MIP main lower panels?

Posted: Wed Sep 18, 2019 6:15 pm
by PH-JRJ
Take your time and enjoy building the overhead despite the huge amount of work :D

Re: Interfacing MIP main lower panels?

Posted: Sun Jun 13, 2021 6:38 pm
by James Curry
Hi gents, would you mind sharing the script for this as it looks like what I'm looking for to control the display brightness on my dispays via a pot input.

Regards James Curry