script flaps

Forum for the OC4BA v2/v3 and OC4BAConfig including the OCP4NGX driver
Post Reply
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

script flaps

Post by sky80033 »

Hello,
First excuse for my bad english.
I have no plugandplay module only opencockpit cards (4 master cards).
I use the script Ocp4ngx_V3.1 ,i’m trying to reprogram,input,idx...
I can not find the lines for the flaps to change the input number.
I write new line with var 2334 for flaps pos5 for example but dont work.
thank you
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: script flaps

Post by mvr1918 »

You are right. I have no script code for FLAPS handle as I use the FSUIPC to handle the FLAPS.

Using Var2325 and alternate between values 8192 and 8193 the FLAP handle moves downwards.
Using Var2325 and alternate between values 0 and 1 the FLAP handle moves upwards.

Using the other Vars for the specific setting you should use a -1 value.

You can try this when you are in IOCPConsole and setting the values to the Vars to check it out before making the script.
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: script flaps

Post by sky80033 »

Hello
Is it possible to use the var 2334 flaps5,2328 flaps10.......or not?It would be so easy.
If not possible with the pmdgngx, what is the var 2334,2328........ in the event list?
thank you
marc
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: script flaps

Post by mvr1918 »

The answer is YES.

as written earlier

Using the other Vars for the specific setting you should use a -1 value.

This means you use 2334 etc with -1 to set a specific FLAPS setting

Try with IOCPConsole and you will find out.

If you are new to SIOC, the best way to learn is to TRY
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: script flaps

Post by sky80033 »

Hello,
I fail to operate the flaps .Can you give me an example of script to program flaps 5.
Var flaps 5 is 2334 in the event list.
Input switch flaps 5 is 216.
This will help me enormously.
thank you
Marc
sky80033
Posts: 16
Joined: Mon Apr 13, 2015 3:25 pm

Re: script flaps

Post by sky80033 »

Hello
The right word "TRY TRY TRY".
After 1 day i found my error.
I run ocp4ngx v2.4.8 in place ocp4ngx v2.5.5 i try with iocpConsol and it works.
Thank you
Marc
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

Re: script flaps

Post by mvr1918 »

Yes, by trying you learning in the most effective way
Post Reply