Hi Roark,
Have installed as stated before OC4BAv4 and when starting from desktop everything works dandy except for the audio modules. A) the script sees only 1 module but there are two coupled. B) But even one I cannot get working. Backlight is there, so power is there. Audio 1 is seen by the software but will not work.
Please advise,
Pieter Veelo
Audio modules will not work
Re: Audio modules will not work
send an image of the SIOC.exe main window and the OC4BAv4/Config window.
I need to see what is detected by SIOC.exe and OC4BAv4/Config in order to help you.
I need to see what is detected by SIOC.exe and OC4BAv4/Config in order to help you.
Re: Audio modules will not work
Hi Roark,
Hope I understood what you wanted. But you are welcome via Teamviewer
Pieter
Hope I understood what you wanted. But you are welcome via Teamviewer
Pieter
- Attachments
-
- 2.PNG (22.25 KiB) Viewed 5316 times
-
- 1.PNG (33.26 KiB) Viewed 5316 times
Re: Audio modules will not work
I can only see 1 AUDIO module detected in the SIOC window and 1 in OC4BAv4/Config.
Are you sure you have 2 Audio modules connected?
Are you sure you have 2 Audio modules connected?
Re: Audio modules will not work
Hi Roark,
Yes I,m sure. They are connected by two flat cables (sorry I don't know the correct name for them) and one of them has the power (5 volt) and USB socket. On the box it says ÄUDIO BOEING 737 SET P&P
But even when you say you see one, none is working
Pieter
Yes I,m sure. They are connected by two flat cables (sorry I don't know the correct name for them) and one of them has the power (5 volt) and USB socket. On the box it says ÄUDIO BOEING 737 SET P&P
But even when you say you see one, none is working
Pieter
-
- Posts: 46
- Joined: Sun May 24, 2015 2:59 pm
Re: Audio modules will not work
Hi Pieter
You have selected OCP4NGX_PP_v4.0.ssi as script. As far as I can see, there is no audio definition inside. The only script I have found with audio definition is OCP4NGX_v4.4OC. But this script does not use the PP interface. So I had to adapt it. See the following script part and insert it into your script. Let us know if it works.
// Audio Pedestal
Var 1450, name micsel_l, static, LINK Subrutine // COMM_SelectedMic[0]
{
IF &COM2_Power_ON > 0
{
IF &micsel_l = 0
{
&AU1VH1MI = 1
&AU1VH2MI = 0
}
IF &micsel_l = 1
{
&AU1VH2MI = 1
&AU1VH1MI = 0
}
}
ELSE
{
&AU1VH2MI = 0
&AU1VH1MI = 0
}
}
Var 1451, name micsel_r, static, LINK Subrutine // COMM_SelectedMic[1]
{
IF &COM2_Power_ON > 0
{
IF &micsel_r = 0
{
&AU2VH1MI = 1
&AU2VH2MI = 0
}
IF &micsel_r = 1
{
&AU2VH2MI = 1
&AU2VH1MI = 0
}
}
ELSE
{
&AU2VH2MI = 0
&AU2VH1MI = 0
}
}
Var 1523, name rec_l, static, LINK Subrutine // COMM_ReceiverSwitches[1]
{
IF &COM2_Power_ON > 0
{
&AU1VH1VO = TESTBIT &rec_l ,0
&AU1VH2VO = TESTBIT &rec_l ,1
&AU1NA1VO = TESTBIT &rec_l ,8
&AU1NA2VO = TESTBIT &rec_l ,9
&AU1AD1VO = TESTBIT &rec_l ,10
&AU1AD2VO = TESTBIT &rec_l ,11
&AU1MKRVO = TESTBIT &rec_l ,12
}
ELSE
{
&AU1VH1VO = 0
&AU1VH2VO = 0
&AU1NA1VO = 0
&AU1NA2VO = 0
&AU1AD1VO = 0
&AU1AD2VO = 0
&AU1MKRVO = 0
}
}
Var 1524, name rec_r, static, LINK Subrutine // COMM_ReceiverSwitches[2]
{
IF &COM2_Power_ON > 0
{
&AU2VH1VO = TESTBIT &rec_r ,0
&AU2VH2VO = TESTBIT &rec_r ,1
&AU2NA1VO = TESTBIT &rec_r ,8
&AU2NA2VO = TESTBIT &rec_r ,9
&AU2AD1VO = TESTBIT &rec_r ,10
&AU2AD2VO = TESTBIT &rec_r ,11
&AU2MKRVO = TESTBIT &rec_r ,12
}
ELSE
{
&AU2VH1VO = 0
&AU2VH2VO = 0
&AU2NA1VO = 0
&AU2NA2VO = 0
&AU2AD1VO = 0
&AU2AD2VO = 0
&AU2MKRVO = 0
}
}
Var 0784, name AU1VH1MI, Link IOCARD_OUT, Device 21, Output 0 // AUDIO1 VHF1 MIC
Var 0785, name AU1VH2MI, Link IOCARD_OUT, Device 21, Output 1 // AUDIO1 VHF2 MIC
Var 0786, name AU1VH1VO, Link IOCARD_OUT, Device 21, Output 2 // AUDIO1 VHF1 VOL
Var 0787, name AU1VH2VO, Link IOCARD_OUT, Device 21, Output 3 // AUDIO1 VHF2 VOL
Var 0788, name AU1NA1VO, Link IOCARD_OUT, Device 21, Output 4 // AUDIO1 NAV1 VOL
Var 0789, name AU1NA2VO, Link IOCARD_OUT, Device 21, Output 5 // AUDIO1 NAV2 VOL
Var 0790, name AU1AD1VO, Link IOCARD_OUT, Device 21, Output 6 // AUDIO1 ADF1 VOL
Var 0791, name AU1AD2VO, Link IOCARD_OUT, Device 21, Output 7 // AUDIO1 ADF2 VOL
Var 0792, name AU1MKRVO, Link IOCARD_OUT, Device 21, Output 8 // AUDIO1 MARKER VOL
Var 0793, name S_AU1VH1MI, Link IOCARD_SW, Device 21, Input 0 // AUDIO1 VHF1 MIC
{
IF &S_AU1VH1MI = 1
{
&AU1VH1MI_I = -1
}
ELSE
{
&AU1VH1MI_I = 0
}
}
Var 0794, name S_AU1VH2MI, Link IOCARD_SW, Device 21, Input 1 // AUDIO1 VHF2 MIC
{
IF &S_AU1VH2MI = 1
{
&AU1VH2MI_I = -1
}
ELSE
{
&AU1VH2MI_I = 0
}
}
Var 0795, name S_AU1VH1VO, Link IOCARD_SW, Device 21, Input 2 // AUDIO1 VHF1 VOL
{
IF &S_AU1VH1VO = 1
{
IF &AU1VH1VO = 0
{
&AU1VH1VO_I = 1
}
ELSE
{
&AU1VH1VO_I = 0
}
}
}
Var 0796, name S_AU1VH2VO, Link IOCARD_SW, Device 21, Input 3 // AUDIO1 VHF2 VOL
{
IF &S_AU1VH2VO = 1
{
IF &AU1VH2VO = 0
{
&AU1VH2VO_I = 1
}
ELSE
{
&AU1VH2VO_I = 0
}
}
}
Var 0797, name S_AU1NA1VO, Link IOCARD_SW, Device 21, Input 4 // AUDIO1 NAV1 VOL
{
IF &S_AU1NA1VO = 1
{
IF &AU1NA1VO = 0
{
&AU1NA1VO_I = 1
}
ELSE
{
&AU1NA1VO_I = 0
}
}
}
Var 0798, name S_AU1NA2VO, Link IOCARD_SW, Device 21, Input 5 // AUDIO1 NAV2 VOL
{
IF &S_AU1NA2VO = 1
{
IF &AU1NA2VO = 0
{
&AU1NA2VO_I = 1
}
ELSE
{
&AU1NA2VO_I = 0
}
}
}
Var 0799, name S_AU1AD1VO, Link IOCARD_SW, Device 21, Input 6 // AUDIO1 ADF1 VOL
{
IF &S_AU1AD1VO = 1
{
IF &AU1AD1VO = 0
{
&AU1AD1VO_I = 1
}
ELSE
{
&AU1AD1VO_I = 0
}
}
}
Var 0800, name S_AU1AD2VO, Link IOCARD_SW, Device 21, Input 7 // AUDIO1 ADF2 VOL
{
IF &S_AU1AD2VO = 1
{
IF &AU1AD2VO = 0
{
&AU1AD2VO_I = 1
}
ELSE
{
&AU1AD2VO_I = 0
}
}
}
Var 0801, name S_AU1MKRVO, Link IOCARD_SW, Device 21, Input 9 // AUDIO1 MARKER VOL
{
IF &S_AU1MKRVO = 1
{
IF &AU1MKRVO = 0
{
&AU1MKRVO_I = 1
}
ELSE
{
&AU1MKRVO_I = 0
}
}
}
Var 0802, name S_AU1RT, Link IOCARD_SW, Device 21, Input 12 // AUDIO1 R-T
{
IF &S_AU1RT = 1
{
&AU1RTIC_I = 0
}
ELSE
{
&AU1RTIC_I = 1
}
}
Var 0803, name S_AU1IC, Link IOCARD_SW, Device 21, Input 13 // AUDIO1 I-C
{
IF &S_AU1IC = 1
{
&AU1RTIC_I = 2
}
ELSE
{
&AU1RTIC_I = 1
}
}
Var 0804, name R_AU1FILTV, Link IOCARD_SW, Device 21, Input 11 // AUDIO1 FILTER V ROTARY
{
IF &R_AU1FILTV = 1
{
&AU1FILT_I = 1
}
ELSE
{
&AU1FILT_I = 0
}
}
Var 0805, name R_AU1FILTR, Link IOCARD_SW, Device 21, Input 10 // AUDIO1 FILTER R ROTARY
{
IF &R_AU1FILTR = 1
{
&AU1FILT_I = 2
}
ELSE
{
&AU1FILT_I = 0
}
}
Var 0806, name S_AU1ALT, Link IOCARD_SW, Device 21, Input 14 // AUDIO1 ALT-NORM
{
IF &S_AU1ALT = 1
{
&AU1ALT_I = 1
}
ELSE
{
&AU1ALT_I = 0
}
}
Var 2012, name AU1VH1MI_I, static
Var 2014, name AU1VH2MI_I, static
Var 2027, name AU1VH1VO_I, static
Var 2028, name AU1VH2VO_I, static
Var 2022, name AU1NA1VO_I, static
Var 2023, name AU1NA2VO_I, static
Var 2017, name AU1AD1VO_I, static
Var 2018, name AU1AD2VO_I, static
Var 2021, name AU1MKRVO_I, static
Var 2030, name AU1RTIC_I, static // ????, Value 1
Var 2001, name AU1FILT_I, static
Var 2002, name AU1ALT_I, static
Var 0807, name AU2VH1MI, Link IOCARD_OUT, Device 21, Output 9 // AUDIO2 VHF1 MIC
Var 0808, name AU2VH2MI, Link IOCARD_OUT, Device 21, Output 10 // AUDIO2 VHF2 MIC
Var 0809, name AU2VH1VO, Link IOCARD_OUT, Device 21, Output 11 // AUDIO2 VHF1 VOL
Var 0810, name AU2VH2VO, Link IOCARD_OUT, Device 21, Output 12 // AUDIO2 VHF2 VOL
Var 0811, name AU2NA1VO, Link IOCARD_OUT, Device 21, Output 13 // AUDIO2 NAV1 VOL
Var 0812, name AU2NA2VO, Link IOCARD_OUT, Device 21, Output 14 // AUDIO2 NAV2 VOL
Var 0813, name AU2AD1VO, Link IOCARD_OUT, Device 21, Output 15 // AUDIO2 ADF1 VOL
Var 0814, name AU2AD2VO, Link IOCARD_OUT, Device 21, Output 16 // AUDIO2 ADF2 VOL
Var 0815, name AU2MKRVO, Link IOCARD_OUT, Device 21, Output 17 // AUDIO2 MARKER VOL
Var 0816, name S_AU2VH1MI, Link IOCARD_SW, Device 21, Input 15 // AUDIO2 VHF1 MIC
{
IF &S_AU2VH1MI = 1
{
&AU2VH1MI_I = -1
}
ELSE
{
&AU2VH1MI_I = 0
}
}
Var 0817, name S_AU2VH2MI, Link IOCARD_SW, Device 21, Input 16 // AUDIO2 VHF2 MIC
{
IF &S_AU2VH2MI = 1
{
&AU2VH2MI_I = -1
}
ELSE
{
&AU2VH2MI_I = 0
}
}
Var 0818, name S_AU2VH1VO, Link IOCARD_SW, Device 21, Input 18 // AUDIO2 VHF1 VOL
{
IF &S_AU2VH1VO = 1
{
IF &AU2VH1VO = 0
{
&AU2VH1VO_I = -1
}
ELSE
{
&AU2VH1VO_I = 0
}
}
}
Var 0819, name S_AU2VH2VO, Link IOCARD_SW, Device 21, Input 19 // AUDIO2 VHF2 VOL
{
IF &S_AU2VH2VO = 1
{
IF &AU2VH2VO = 0
{
&AU2VH2VO_I = 1
}
ELSE
{
&AU2VH2VO_I = 0
}
}
}
Var 0820, name S_AU2NA1VO, Link IOCARD_SW, Device 21, Input 20 // AUDIO2 NAV1 VOL
{
IF &S_AU2NA1VO = 1
{
IF &AU2NA1VO = 0
{
&AU2NA1VO_I = 1
}
ELSE
{
&AU2NA1VO_I = 0
}
}
}
Var 0821, name S_AU2NA2VO, Link IOCARD_SW, Device 21, Input 21 // AUDIO2 NAV2 VOL
{
IF &S_AU2NA2VO = 1
{
IF &AU2NA2VO = 0
{
&AU2NA2VO_I = 1
}
ELSE
{
&AU2NA2VO_I = 0
}
}
}
Var 0822, name S_AU2AD1VO, Link IOCARD_SW, Device 21, Input 22 // AUDIO2 ADF1 VOL
{
IF &S_AU2AD1VO = 1
{
IF &AU2AD1VO = 0
{
&AU2AD1VO_I = 1
}
ELSE
{
&AU2AD1VO_I = 0
}
}
}
Var 0823, name S_AU2AD2VO, Link IOCARD_SW, Device 21, Input 23 // AUDIO2 ADF2 VOL
{
IF &S_AU2AD2VO = 1
{
IF &AU2AD2VO = 0
{
&AU2AD2VO_I = 1
}
ELSE
{
&AU2AD2VO_I = 0
}
}
}
Var 0824, name S_AU2MKRVO, Link IOCARD_SW, Device 21, Input 24 // AUDIO2 MARKER VOL
{
IF &S_AU2MKRVO = 1
{
IF &AU2MKRVO = 0
{
&AU2MKRVO_I = 1
}
ELSE
{
&AU2MKRVO_I = 0
}
}
}
Var 0825, name S_AU2RT, Link IOCARD_SW, Device 21, Input 28 // AUDIO2 R-T
{
IF &S_AU2RT = 1
{
&AU2RTIC_I = 0
}
ELSE
{
&AU2RTIC_I = 1
}
}
Var 0826, name S_AU2IC, Link IOCARD_SW, Device 21, Input 29 // AUDIO2 I-C
{
IF &S_AU2IC = 1
{
&AU2RTIC_I = 2
}
ELSE
{
&AU2RTIC_I = 1
}
}
Var 0827, name R_AU2FILTV, Link IOCARD_SW, Device 21, Input 27 // AUDIO2 FILTER V ROTARY
{
IF &R_AU2FILTV = 1
{
&AU2FILT_I = 1
}
ELSE
{
&AU2FILT_I = 0
}
}
Var 0828, name R_AU2FILTR, Link IOCARD_SW, Device 21, Input 25 // AUDIO2 FILTER R ROTARY
{
IF &R_AU2FILTR = 1
{
&AU2FILT_I = 2
}
ELSE
{
&AU2FILT_I = 0
}
}
Var 0829, name S_AU2ALT, Link IOCARD_SW, Device 21, Input 30 // AUDIO2 ALT-NORM
{
IF &S_AU2ALT = 1
{
&AU2ALT_I = 1
}
ELSE
{
&AU2ALT_I = 0
}
}
Var 2034, name AU2VH1MI_I, static
Var 2044, name AU2VH2MI_I, static
Var 2057, name AU2VH1VO_I, static
Var 2058, name AU2VH2VO_I, static
Var 2052, name AU2NA1VO_I, static
Var 2053, name AU2NA2VO_I, static
Var 2047, name AU2AD1VO_I, static
Var 2048, name AU2AD2VO_I, static
Var 2051, name AU2MKRVO_I, static
Var 2060, name AU2RTIC_I, static
Var 2033, name AU2FILT_I, static
Var 2031, name AU2ALT_I, static
Best regards
Urs
You have selected OCP4NGX_PP_v4.0.ssi as script. As far as I can see, there is no audio definition inside. The only script I have found with audio definition is OCP4NGX_v4.4OC. But this script does not use the PP interface. So I had to adapt it. See the following script part and insert it into your script. Let us know if it works.
// Audio Pedestal
Var 1450, name micsel_l, static, LINK Subrutine // COMM_SelectedMic[0]
{
IF &COM2_Power_ON > 0
{
IF &micsel_l = 0
{
&AU1VH1MI = 1
&AU1VH2MI = 0
}
IF &micsel_l = 1
{
&AU1VH2MI = 1
&AU1VH1MI = 0
}
}
ELSE
{
&AU1VH2MI = 0
&AU1VH1MI = 0
}
}
Var 1451, name micsel_r, static, LINK Subrutine // COMM_SelectedMic[1]
{
IF &COM2_Power_ON > 0
{
IF &micsel_r = 0
{
&AU2VH1MI = 1
&AU2VH2MI = 0
}
IF &micsel_r = 1
{
&AU2VH2MI = 1
&AU2VH1MI = 0
}
}
ELSE
{
&AU2VH2MI = 0
&AU2VH1MI = 0
}
}
Var 1523, name rec_l, static, LINK Subrutine // COMM_ReceiverSwitches[1]
{
IF &COM2_Power_ON > 0
{
&AU1VH1VO = TESTBIT &rec_l ,0
&AU1VH2VO = TESTBIT &rec_l ,1
&AU1NA1VO = TESTBIT &rec_l ,8
&AU1NA2VO = TESTBIT &rec_l ,9
&AU1AD1VO = TESTBIT &rec_l ,10
&AU1AD2VO = TESTBIT &rec_l ,11
&AU1MKRVO = TESTBIT &rec_l ,12
}
ELSE
{
&AU1VH1VO = 0
&AU1VH2VO = 0
&AU1NA1VO = 0
&AU1NA2VO = 0
&AU1AD1VO = 0
&AU1AD2VO = 0
&AU1MKRVO = 0
}
}
Var 1524, name rec_r, static, LINK Subrutine // COMM_ReceiverSwitches[2]
{
IF &COM2_Power_ON > 0
{
&AU2VH1VO = TESTBIT &rec_r ,0
&AU2VH2VO = TESTBIT &rec_r ,1
&AU2NA1VO = TESTBIT &rec_r ,8
&AU2NA2VO = TESTBIT &rec_r ,9
&AU2AD1VO = TESTBIT &rec_r ,10
&AU2AD2VO = TESTBIT &rec_r ,11
&AU2MKRVO = TESTBIT &rec_r ,12
}
ELSE
{
&AU2VH1VO = 0
&AU2VH2VO = 0
&AU2NA1VO = 0
&AU2NA2VO = 0
&AU2AD1VO = 0
&AU2AD2VO = 0
&AU2MKRVO = 0
}
}
Var 0784, name AU1VH1MI, Link IOCARD_OUT, Device 21, Output 0 // AUDIO1 VHF1 MIC
Var 0785, name AU1VH2MI, Link IOCARD_OUT, Device 21, Output 1 // AUDIO1 VHF2 MIC
Var 0786, name AU1VH1VO, Link IOCARD_OUT, Device 21, Output 2 // AUDIO1 VHF1 VOL
Var 0787, name AU1VH2VO, Link IOCARD_OUT, Device 21, Output 3 // AUDIO1 VHF2 VOL
Var 0788, name AU1NA1VO, Link IOCARD_OUT, Device 21, Output 4 // AUDIO1 NAV1 VOL
Var 0789, name AU1NA2VO, Link IOCARD_OUT, Device 21, Output 5 // AUDIO1 NAV2 VOL
Var 0790, name AU1AD1VO, Link IOCARD_OUT, Device 21, Output 6 // AUDIO1 ADF1 VOL
Var 0791, name AU1AD2VO, Link IOCARD_OUT, Device 21, Output 7 // AUDIO1 ADF2 VOL
Var 0792, name AU1MKRVO, Link IOCARD_OUT, Device 21, Output 8 // AUDIO1 MARKER VOL
Var 0793, name S_AU1VH1MI, Link IOCARD_SW, Device 21, Input 0 // AUDIO1 VHF1 MIC
{
IF &S_AU1VH1MI = 1
{
&AU1VH1MI_I = -1
}
ELSE
{
&AU1VH1MI_I = 0
}
}
Var 0794, name S_AU1VH2MI, Link IOCARD_SW, Device 21, Input 1 // AUDIO1 VHF2 MIC
{
IF &S_AU1VH2MI = 1
{
&AU1VH2MI_I = -1
}
ELSE
{
&AU1VH2MI_I = 0
}
}
Var 0795, name S_AU1VH1VO, Link IOCARD_SW, Device 21, Input 2 // AUDIO1 VHF1 VOL
{
IF &S_AU1VH1VO = 1
{
IF &AU1VH1VO = 0
{
&AU1VH1VO_I = 1
}
ELSE
{
&AU1VH1VO_I = 0
}
}
}
Var 0796, name S_AU1VH2VO, Link IOCARD_SW, Device 21, Input 3 // AUDIO1 VHF2 VOL
{
IF &S_AU1VH2VO = 1
{
IF &AU1VH2VO = 0
{
&AU1VH2VO_I = 1
}
ELSE
{
&AU1VH2VO_I = 0
}
}
}
Var 0797, name S_AU1NA1VO, Link IOCARD_SW, Device 21, Input 4 // AUDIO1 NAV1 VOL
{
IF &S_AU1NA1VO = 1
{
IF &AU1NA1VO = 0
{
&AU1NA1VO_I = 1
}
ELSE
{
&AU1NA1VO_I = 0
}
}
}
Var 0798, name S_AU1NA2VO, Link IOCARD_SW, Device 21, Input 5 // AUDIO1 NAV2 VOL
{
IF &S_AU1NA2VO = 1
{
IF &AU1NA2VO = 0
{
&AU1NA2VO_I = 1
}
ELSE
{
&AU1NA2VO_I = 0
}
}
}
Var 0799, name S_AU1AD1VO, Link IOCARD_SW, Device 21, Input 6 // AUDIO1 ADF1 VOL
{
IF &S_AU1AD1VO = 1
{
IF &AU1AD1VO = 0
{
&AU1AD1VO_I = 1
}
ELSE
{
&AU1AD1VO_I = 0
}
}
}
Var 0800, name S_AU1AD2VO, Link IOCARD_SW, Device 21, Input 7 // AUDIO1 ADF2 VOL
{
IF &S_AU1AD2VO = 1
{
IF &AU1AD2VO = 0
{
&AU1AD2VO_I = 1
}
ELSE
{
&AU1AD2VO_I = 0
}
}
}
Var 0801, name S_AU1MKRVO, Link IOCARD_SW, Device 21, Input 9 // AUDIO1 MARKER VOL
{
IF &S_AU1MKRVO = 1
{
IF &AU1MKRVO = 0
{
&AU1MKRVO_I = 1
}
ELSE
{
&AU1MKRVO_I = 0
}
}
}
Var 0802, name S_AU1RT, Link IOCARD_SW, Device 21, Input 12 // AUDIO1 R-T
{
IF &S_AU1RT = 1
{
&AU1RTIC_I = 0
}
ELSE
{
&AU1RTIC_I = 1
}
}
Var 0803, name S_AU1IC, Link IOCARD_SW, Device 21, Input 13 // AUDIO1 I-C
{
IF &S_AU1IC = 1
{
&AU1RTIC_I = 2
}
ELSE
{
&AU1RTIC_I = 1
}
}
Var 0804, name R_AU1FILTV, Link IOCARD_SW, Device 21, Input 11 // AUDIO1 FILTER V ROTARY
{
IF &R_AU1FILTV = 1
{
&AU1FILT_I = 1
}
ELSE
{
&AU1FILT_I = 0
}
}
Var 0805, name R_AU1FILTR, Link IOCARD_SW, Device 21, Input 10 // AUDIO1 FILTER R ROTARY
{
IF &R_AU1FILTR = 1
{
&AU1FILT_I = 2
}
ELSE
{
&AU1FILT_I = 0
}
}
Var 0806, name S_AU1ALT, Link IOCARD_SW, Device 21, Input 14 // AUDIO1 ALT-NORM
{
IF &S_AU1ALT = 1
{
&AU1ALT_I = 1
}
ELSE
{
&AU1ALT_I = 0
}
}
Var 2012, name AU1VH1MI_I, static
Var 2014, name AU1VH2MI_I, static
Var 2027, name AU1VH1VO_I, static
Var 2028, name AU1VH2VO_I, static
Var 2022, name AU1NA1VO_I, static
Var 2023, name AU1NA2VO_I, static
Var 2017, name AU1AD1VO_I, static
Var 2018, name AU1AD2VO_I, static
Var 2021, name AU1MKRVO_I, static
Var 2030, name AU1RTIC_I, static // ????, Value 1
Var 2001, name AU1FILT_I, static
Var 2002, name AU1ALT_I, static
Var 0807, name AU2VH1MI, Link IOCARD_OUT, Device 21, Output 9 // AUDIO2 VHF1 MIC
Var 0808, name AU2VH2MI, Link IOCARD_OUT, Device 21, Output 10 // AUDIO2 VHF2 MIC
Var 0809, name AU2VH1VO, Link IOCARD_OUT, Device 21, Output 11 // AUDIO2 VHF1 VOL
Var 0810, name AU2VH2VO, Link IOCARD_OUT, Device 21, Output 12 // AUDIO2 VHF2 VOL
Var 0811, name AU2NA1VO, Link IOCARD_OUT, Device 21, Output 13 // AUDIO2 NAV1 VOL
Var 0812, name AU2NA2VO, Link IOCARD_OUT, Device 21, Output 14 // AUDIO2 NAV2 VOL
Var 0813, name AU2AD1VO, Link IOCARD_OUT, Device 21, Output 15 // AUDIO2 ADF1 VOL
Var 0814, name AU2AD2VO, Link IOCARD_OUT, Device 21, Output 16 // AUDIO2 ADF2 VOL
Var 0815, name AU2MKRVO, Link IOCARD_OUT, Device 21, Output 17 // AUDIO2 MARKER VOL
Var 0816, name S_AU2VH1MI, Link IOCARD_SW, Device 21, Input 15 // AUDIO2 VHF1 MIC
{
IF &S_AU2VH1MI = 1
{
&AU2VH1MI_I = -1
}
ELSE
{
&AU2VH1MI_I = 0
}
}
Var 0817, name S_AU2VH2MI, Link IOCARD_SW, Device 21, Input 16 // AUDIO2 VHF2 MIC
{
IF &S_AU2VH2MI = 1
{
&AU2VH2MI_I = -1
}
ELSE
{
&AU2VH2MI_I = 0
}
}
Var 0818, name S_AU2VH1VO, Link IOCARD_SW, Device 21, Input 18 // AUDIO2 VHF1 VOL
{
IF &S_AU2VH1VO = 1
{
IF &AU2VH1VO = 0
{
&AU2VH1VO_I = -1
}
ELSE
{
&AU2VH1VO_I = 0
}
}
}
Var 0819, name S_AU2VH2VO, Link IOCARD_SW, Device 21, Input 19 // AUDIO2 VHF2 VOL
{
IF &S_AU2VH2VO = 1
{
IF &AU2VH2VO = 0
{
&AU2VH2VO_I = 1
}
ELSE
{
&AU2VH2VO_I = 0
}
}
}
Var 0820, name S_AU2NA1VO, Link IOCARD_SW, Device 21, Input 20 // AUDIO2 NAV1 VOL
{
IF &S_AU2NA1VO = 1
{
IF &AU2NA1VO = 0
{
&AU2NA1VO_I = 1
}
ELSE
{
&AU2NA1VO_I = 0
}
}
}
Var 0821, name S_AU2NA2VO, Link IOCARD_SW, Device 21, Input 21 // AUDIO2 NAV2 VOL
{
IF &S_AU2NA2VO = 1
{
IF &AU2NA2VO = 0
{
&AU2NA2VO_I = 1
}
ELSE
{
&AU2NA2VO_I = 0
}
}
}
Var 0822, name S_AU2AD1VO, Link IOCARD_SW, Device 21, Input 22 // AUDIO2 ADF1 VOL
{
IF &S_AU2AD1VO = 1
{
IF &AU2AD1VO = 0
{
&AU2AD1VO_I = 1
}
ELSE
{
&AU2AD1VO_I = 0
}
}
}
Var 0823, name S_AU2AD2VO, Link IOCARD_SW, Device 21, Input 23 // AUDIO2 ADF2 VOL
{
IF &S_AU2AD2VO = 1
{
IF &AU2AD2VO = 0
{
&AU2AD2VO_I = 1
}
ELSE
{
&AU2AD2VO_I = 0
}
}
}
Var 0824, name S_AU2MKRVO, Link IOCARD_SW, Device 21, Input 24 // AUDIO2 MARKER VOL
{
IF &S_AU2MKRVO = 1
{
IF &AU2MKRVO = 0
{
&AU2MKRVO_I = 1
}
ELSE
{
&AU2MKRVO_I = 0
}
}
}
Var 0825, name S_AU2RT, Link IOCARD_SW, Device 21, Input 28 // AUDIO2 R-T
{
IF &S_AU2RT = 1
{
&AU2RTIC_I = 0
}
ELSE
{
&AU2RTIC_I = 1
}
}
Var 0826, name S_AU2IC, Link IOCARD_SW, Device 21, Input 29 // AUDIO2 I-C
{
IF &S_AU2IC = 1
{
&AU2RTIC_I = 2
}
ELSE
{
&AU2RTIC_I = 1
}
}
Var 0827, name R_AU2FILTV, Link IOCARD_SW, Device 21, Input 27 // AUDIO2 FILTER V ROTARY
{
IF &R_AU2FILTV = 1
{
&AU2FILT_I = 1
}
ELSE
{
&AU2FILT_I = 0
}
}
Var 0828, name R_AU2FILTR, Link IOCARD_SW, Device 21, Input 25 // AUDIO2 FILTER R ROTARY
{
IF &R_AU2FILTR = 1
{
&AU2FILT_I = 2
}
ELSE
{
&AU2FILT_I = 0
}
}
Var 0829, name S_AU2ALT, Link IOCARD_SW, Device 21, Input 30 // AUDIO2 ALT-NORM
{
IF &S_AU2ALT = 1
{
&AU2ALT_I = 1
}
ELSE
{
&AU2ALT_I = 0
}
}
Var 2034, name AU2VH1MI_I, static
Var 2044, name AU2VH2MI_I, static
Var 2057, name AU2VH1VO_I, static
Var 2058, name AU2VH2VO_I, static
Var 2052, name AU2NA1VO_I, static
Var 2053, name AU2NA2VO_I, static
Var 2047, name AU2AD1VO_I, static
Var 2048, name AU2AD2VO_I, static
Var 2051, name AU2MKRVO_I, static
Var 2060, name AU2RTIC_I, static
Var 2033, name AU2FILT_I, static
Var 2031, name AU2ALT_I, static
Best regards
Urs
Re: Audio modules will not work
Urs ir right.
There is no Audio script part in the script you are using.
The OCP4NGX_V4.0_OC.ssi has the correct script code for both AUDIOs when they are integrated in the Opencockpits PEDESTAL P&P.
As you are using the standalone AUDIO set that has only 1 USB for both panels, they should work using Urs script modification.
As Opencockpits has many options, there is no way I can make every options as P&P. Some modifications are then needed.
Using the new OC4BAv4 ease the modification editing.
If you understand how to use IDX, DEVICE nbr etc. in the script , modifications is quite simple.
There is no Audio script part in the script you are using.
The OCP4NGX_V4.0_OC.ssi has the correct script code for both AUDIOs when they are integrated in the Opencockpits PEDESTAL P&P.
As you are using the standalone AUDIO set that has only 1 USB for both panels, they should work using Urs script modification.
As Opencockpits has many options, there is no way I can make every options as P&P. Some modifications are then needed.
Using the new OC4BAv4 ease the modification editing.
If you understand how to use IDX, DEVICE nbr etc. in the script , modifications is quite simple.
Re: Audio modules will not work
Roark,Urs,
Thank you for your help so far, but....
I do not have the foggiest idea how to insert the piece of script Urs has send me.
So please be my guest and help me through Teamviewer??
Pieter
Thank you for your help so far, but....
I do not have the foggiest idea how to insert the piece of script Urs has send me.
So please be my guest and help me through Teamviewer??
Pieter
Re: Audio modules will not work
Hi Roark, Urs,
Got it going works on first sight. Will keep you posted. Once more thanks a million
Pieter
Got it going works on first sight. Will keep you posted. Once more thanks a million
Pieter
Re: Audio modules will not work
Here is a short video on how to do it.
https://youtu.be/ySizG1jlSrA
You also have then to make a new configuration file with OC4BAv4/Config that uses the new OCP4NGX_PP_v4.0_Audios.ssi
https://youtu.be/ySizG1jlSrA
You also have then to make a new configuration file with OC4BAv4/Config that uses the new OCP4NGX_PP_v4.0_Audios.ssi