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
Interfacing MIP main lower panels?
Re: Interfacing MIP main lower panels?
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
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?
excellent, thank you!
Re: Interfacing MIP main lower panels?
Can you share the script with us? I would like to have it to make my flightdeck complete.twisted8 wrote:excellent, thank you!
Thanks
Remco
Re: Interfacing MIP main lower panels?
Will do Remco!
Re: Interfacing MIP main lower panels?
Thanks, you made my day!
Best regards Remco
Best regards Remco
Re: Interfacing MIP main lower panels?
Hi Twisted8
did you already managed to have the lower panels scripted?
Thanks
Best regards
Remco
did you already managed to have the lower panels scripted?
Thanks
Best regards
Remco
Re: Interfacing MIP main lower panels?
Not yet, sorry still working on the overhead.
Re: Interfacing MIP main lower panels?
Take your time and enjoy building the overhead despite the huge amount of work
-
- Posts: 54
- Joined: Tue Jun 30, 2020 4:26 pm
- Location: Guildford
Re: Interfacing MIP main lower panels?
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
Regards James Curry
James Curry
Loadmaster
Loadmaster