Heron 1B
10-30-2012, 02:12 AM
Hi Guys,
Came across Mattia Lambreschi's fix (on My Cockpits) to make the OpenCockpit ATC XPDR rotary switch functional in FS2004 with PMDG 737NG but it is not compatible in FSX with the PMDG 737NGX.
I have the latest registered version of FSUIPC and the OpenCockpits SIOC and IOCModules. Also created mouse macros within FSUIPC for the keypesses so at the moment I can activate the XPDR switch using shift+X for SW+ and shift+U for SW-. The equiv keypresses in SIOC being \1X\2 for shift+X and \1U\2 for shift+U.
I have a script error when using Mattia's version which is as below here:
// *****************************************************************************
// * Config_SIOC - By Mattia Lambreschi
// *****************************************************************************
// * FileName : sioc.txt
// * Date : 03/02/2011
Var 405, name STATUS
Var 399, name TASTO, Link KEYS
Var 406, name I_R_STB, Link IOCARD_SW, Input 0
{
IF &I_R_STB = 1
{
V420 = 10
}
}
Var 408, name I_R_ALT, Link IOCARD_SW, Input 1
{
IF &I_R_ALT = 1
{
V420 = 20
}
}
Var 410, name I_R_XPN, Link IOCARD_SW, Input 2
{
IF &I_R_XPN = 1
{
V420 = 30
}
}
Var 412, name I_R_TAO, Link IOCARD_SW, Input 3
{
IF &I_R_TAO = 1
{
V420 = 40
}
}
Var 414, name I_R_TAR, Link IOCARD_SW, Input 4
{
IF &I_R_TAR = 1
{
V420 = 50
}
}
Var 0420, Link SUBRUTINE
{
IF V0405 >= V0420
{
&TASTO = 1
&TASTO = 0
V0405 = V0420
}
ELSE
{
&TASTO = 2
&TASTO = 0
V0405 = V0420
}
}
The question is, does anyone have the ATC XPDR switch functional in FSX with the PMDG 737 NGX using the OpenCockpits ATC module. Can you advise details of your FSUIPC keypresses, SIOC PMDG script with the sioc.ini settings Please.
Cheers,
Delf
Came across Mattia Lambreschi's fix (on My Cockpits) to make the OpenCockpit ATC XPDR rotary switch functional in FS2004 with PMDG 737NG but it is not compatible in FSX with the PMDG 737NGX.
I have the latest registered version of FSUIPC and the OpenCockpits SIOC and IOCModules. Also created mouse macros within FSUIPC for the keypesses so at the moment I can activate the XPDR switch using shift+X for SW+ and shift+U for SW-. The equiv keypresses in SIOC being \1X\2 for shift+X and \1U\2 for shift+U.
I have a script error when using Mattia's version which is as below here:
// *****************************************************************************
// * Config_SIOC - By Mattia Lambreschi
// *****************************************************************************
// * FileName : sioc.txt
// * Date : 03/02/2011
Var 405, name STATUS
Var 399, name TASTO, Link KEYS
Var 406, name I_R_STB, Link IOCARD_SW, Input 0
{
IF &I_R_STB = 1
{
V420 = 10
}
}
Var 408, name I_R_ALT, Link IOCARD_SW, Input 1
{
IF &I_R_ALT = 1
{
V420 = 20
}
}
Var 410, name I_R_XPN, Link IOCARD_SW, Input 2
{
IF &I_R_XPN = 1
{
V420 = 30
}
}
Var 412, name I_R_TAO, Link IOCARD_SW, Input 3
{
IF &I_R_TAO = 1
{
V420 = 40
}
}
Var 414, name I_R_TAR, Link IOCARD_SW, Input 4
{
IF &I_R_TAR = 1
{
V420 = 50
}
}
Var 0420, Link SUBRUTINE
{
IF V0405 >= V0420
{
&TASTO = 1
&TASTO = 0
V0405 = V0420
}
ELSE
{
&TASTO = 2
&TASTO = 0
V0405 = V0420
}
}
The question is, does anyone have the ATC XPDR switch functional in FSX with the PMDG 737 NGX using the OpenCockpits ATC module. Can you advise details of your FSUIPC keypresses, SIOC PMDG script with the sioc.ini settings Please.
Cheers,
Delf