Digit rcp opencockpits module is not fonctional with psxseecon.
where is the problem with my script sioc?
Var 2092 Static
Var 3022 Static name RcpLa
{
CALL &DecBCD6 &RcpLa
&D_COM1L0 = &Digit0
&D_COM1L1 = &Digit1
&D_COM1L2 = &Digit2
&D_COM1L3 = &Digit3
&D_COM1L4 = &Digit4
L0 = TESTBIT &RcpLa 24 // VHF DP
IF L0 = 1
{
&D_COM1L5 = &Digit5
&O_DPCOM1L = 1
}
ELSE
{
L0 = TESTBIT &RcpLa 25 // HF DP
IF L0 = 1
{
&D_COM1L5 = -999999 // blank
&O_DPCOM1L = 1 // same DP as for VHF
}
ELSE
{
&D_COM1L5 = &Digit5
&O_DPCOM1L = 0
}
}
}
Var 3023 Static name RcpLs
{
CALL &DecBCD6 &RcpLs
&D_COM1R0 = &Digit0
&D_COM1R1 = &Digit1
&D_COM1R2 = &Digit2
&D_COM1R3 = &Digit3
&D_COM1R4 = &Digit4
L0 = TESTBIT &RcpLs 24 // VHF DP
IF L0 = 1
{
&D_COM1R5 = &Digit5
&O_DPCOM1R = 1
}
ELSE
{
L0 = TESTBIT &RcpLs 25 // HF DP
IF L0 = 1
{
&D_COM1R5 = -999999 // blank
&O_DPCOM1R = 1 // same DP as for VHF
}
ELSE
{
&D_COM1R5 = &Digit5
&O_DPCOM1R = 0
}
}
}
// active standby toggle
Var 3607 Static Link IOCARD_SW Device 8 Input 6 Type P
// Test button: switch between VHF-L and VHF-R (at this left radio module)
Var 9000 name TestCOM1 Link IOCARD_SW Device 8 Input 2 Type P
{
IF &TestCOM1 = 1
{
&VHFLR_but = CHANGEBITN 0 &VHFLR_but
}
ELSE
{
&VHFLL_but = CHANGEBITN 0 &VHFLL_but
}
}
Var 3601 Static name VHFLL_but
Var 3603 Static name VHFLR_but
// rotary encoders
Var 3691 Static name BigFreqL Link IOCARD_ENCODER Device 8 Input 0 Aceleration 1 Type 2
Var 3692 Static name SmaFreqL Link IOCARD_ENCODER Device 8 Input 4 Aceleration 1 Type 2
// ACTIVE display in COM737
Var 9008 name D_COM1L0 Link IOCARD_DISPLAY Device 8 Digit 0 Numbers 1
Var 9009 name D_COM1L1 Link IOCARD_DISPLAY Device 8 Digit 1 Numbers 1
Var 9010 name D_COM1L2 Link IOCARD_DISPLAY Device 8 Digit 2 Numbers 1
Var 9011 name D_COM1L3 Link IOCARD_DISPLAY Device 8 Digit 3 Numbers 1
Var 9012 name D_COM1L4 Link IOCARD_DISPLAY Device 8 Digit 4 Numbers 1
Var 9013 name D_COM1L5 Link IOCARD_DISPLAY Device 8 Digit 5 Numbers 1
// STANDBY display in COM737
Var 9014 name D_COM1R0 Link IOCARD_DISPLAY Device 8 Digit 6 Numbers 1
Var 9015 name D_COM1R1 Link IOCARD_DISPLAY Device 8 Digit 7 Numbers 1
Var 9016 name D_COM1R2 Link IOCARD_DISPLAY Device 8 Digit 8 Numbers 1
Var 9017 name D_COM1R3 Link IOCARD_DISPLAY Device 8 Digit 9 Numbers 1
Var 9018 name D_COM1R4 Link IOCARD_DISPLAY Device 8 Digit 10 Numbers 1
Var 9019 name D_COM1R5 Link IOCARD_DISPLAY Device 8 Digit 11 Numbers 1
Var 9020 name O_DPCOM1L Link IOCARD_OUT Device 8 Output 20
Var 9021 name O_DPCOM1R Link IOCARD_OUT Device 8 Output 21
You need to use the 1digit file as a second script, otherwise the digits are not converted correctly and do not show up.
So make sioc.lst and include 1_Digit.txt and your RCP txt file.
Cheers,
Alex B
It's your PSXcockpit zip Asboyd.
For my tcas panel, ok
CDU ans EFIS , ok
But RCP, problem digit with script.
And with the program opencockpits IOCModules test ok
Yes i have,
1digit.txt
Rcp.txt
But nothing on my panel