Hi,
i try to connect my switches to the 737 EventVars
2323 EVT_CONTROL_STAND_ENG1_START_LEVER
2324 EVT_CONTROL_STAND_ENG2_START_LEVER
with the follow script
Var 2323, name StartV_L_FS, static
Var 0811, name StartValve_L, Link IOCARD_SW, Device 31, Input 63, Type I
{
IF &StartValve_L = 1
{
&StartV_L_FS = 1
}
ELSE
{
&StartV_L_FS = 0
}
}
but nothing happens. What gets wrong? Is the value 0,1 (i try also other values) not right or what else?
Is somebody who takes the Event Var 2323 or 2324 for the EngineStartLever?
Greetings Uwe
EVT_CONTROL_STAND_ENG*_START_LEVER
Re: EVT_CONTROL_STAND_ENG*_START_LEVER
If you start up OCP4NGX with your special script and go to SIOC.exe/IOCPConsole
scroll down to Var 2323
write 1 and 0 to this Var and you should see that the lever is moving
test also your script by writing 1 and 0 to var StartValve_L to check your script
try without the TYPE 1 parameter
scroll down to Var 2323
write 1 and 0 to this Var and you should see that the lever is moving
test also your script by writing 1 and 0 to var StartValve_L to check your script
try without the TYPE 1 parameter
Re: EVT_CONTROL_STAND_ENG*_START_LEVER
Thanks,
that's what i have done, but without success.
Ok, if you confirm that the Variable works correct and the value is 0 and 1 it is
my own Problem and i will try it again.
Best regards Uwe.
that's what i have done, but without success.
Ok, if you confirm that the Variable works correct and the value is 0 and 1 it is
my own Problem and i will try it again.
Best regards Uwe.
Re: EVT_CONTROL_STAND_ENG*_START_LEVER
The OCP4NGX driver will send the correct info to PMDG when you send 1 and 0 to Var 2323 and thereby moving the lever.
Re: EVT_CONTROL_STAND_ENG*_START_LEVER
Hi,
thanks for your hints.
It works. Maybe i had not restart the Driver correctly.
But onother question:
now i have change to OCP4NGX V3.3.0.0 with my old script 2.0 (with changes in the assignment of harware, other numbering of In- and Outputs).
All works fine MIP, OVH, MCP, EFIS but i can't change the frequency of NAV1 and NAV2 (COM not testet due a hardwaredefect) . Changebutton works and the actuel Frequency will Switch over and also send to FS,
but no changes of frequency with the rotarybutton is possible.
Does the V3.3 Driver works with the modify V2.0 script or should i switch also to a newer Version of script (many changes in numbering of In- and Outputs)?
Best regards Uwe
thanks for your hints.
It works. Maybe i had not restart the Driver correctly.
But onother question:
now i have change to OCP4NGX V3.3.0.0 with my old script 2.0 (with changes in the assignment of harware, other numbering of In- and Outputs).
All works fine MIP, OVH, MCP, EFIS but i can't change the frequency of NAV1 and NAV2 (COM not testet due a hardwaredefect) . Changebutton works and the actuel Frequency will Switch over and also send to FS,
but no changes of frequency with the rotarybutton is possible.
Does the V3.3 Driver works with the modify V2.0 script or should i switch also to a newer Version of script (many changes in numbering of In- and Outputs)?
Best regards Uwe
Re: EVT_CONTROL_STAND_ENG*_START_LEVER
I have sent you the latest updates pr. Desember 2015
Use OCP4NGX_PP_MIP_v1.2.ssi as a base for your own modification (changed input/outputs for non P&P modules)
Use OCP4NGX_PP_MIP_v1.2.ssi as a base for your own modification (changed input/outputs for non P&P modules)