Interfacing MIP main lower panels?

This is a new forum for the OC4BAv4.
Post Reply
twisted8
Posts: 9
Joined: Wed Mar 13, 2019 5:19 pm

Interfacing MIP main lower panels?

Post 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
mvr1918
Site Admin
Posts: 1704
Joined: Thu Aug 30, 2012 3:35 pm

Re: Interfacing MIP main lower panels?

Post 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
twisted8
Posts: 9
Joined: Wed Mar 13, 2019 5:19 pm

Re: Interfacing MIP main lower panels?

Post by twisted8 »

excellent, thank you!
PH-JRJ
Posts: 70
Joined: Fri Jul 07, 2017 6:58 pm

Re: Interfacing MIP main lower panels?

Post 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
twisted8
Posts: 9
Joined: Wed Mar 13, 2019 5:19 pm

Re: Interfacing MIP main lower panels?

Post by twisted8 »

Will do Remco!
PH-JRJ
Posts: 70
Joined: Fri Jul 07, 2017 6:58 pm

Re: Interfacing MIP main lower panels?

Post by PH-JRJ »

Thanks, you made my day!

Best regards Remco
PH-JRJ
Posts: 70
Joined: Fri Jul 07, 2017 6:58 pm

Re: Interfacing MIP main lower panels?

Post by PH-JRJ »

Hi Twisted8

did you already managed to have the lower panels scripted?

Thanks

Best regards

Remco
twisted8
Posts: 9
Joined: Wed Mar 13, 2019 5:19 pm

Re: Interfacing MIP main lower panels?

Post by twisted8 »

Not yet, sorry still working on the overhead.
PH-JRJ
Posts: 70
Joined: Fri Jul 07, 2017 6:58 pm

Re: Interfacing MIP main lower panels?

Post by PH-JRJ »

Take your time and enjoy building the overhead despite the huge amount of work :D
James Curry
Posts: 54
Joined: Tue Jun 30, 2020 4:26 pm
Location: Guildford

Re: Interfacing MIP main lower panels?

Post 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
James Curry
Loadmaster
Post Reply