R Cowl Flap Closing Issue
-
When using the following Lua script to close the Right Cowl Flap in the Grand Duke:
ipc.writeLvar("var_cowlFlapSwitch_R",0)
the Right Cowl Flap closes immediately (instead of slowly).
I am using FSUIPC, along with a Leo Bodnar BUO836X wired to physical toggle switches, for opening/closing the Cowl Flaps in the Grand Duke.
The Left Cowl Flap closes slowly when using the similar Lua script:
ipc.writeLvar("var_cowlFlapSwitch_L",0)
Also, there is no issue when opening either of the Cowl Flaps.
Any suggestions for correcting this would be most appreciated.
-
Unfortunately, I can't reproduce this on my end; however, are you sure you're using the correct values to open and close the cowl flaps? A value of 2 should extend the cowl flaps, while 1 should retract them, with 0 being the switch's neutral position. Is it possible that you have some hardware binding that's interfering with the cowl flap position?
-
@delta14sierra I use spad.next maybe you can convert the code below to whatever script you use
Basically I have a 3 position switch (rest in the middle position).
1 => CLOSED position
0 => OFF position
2 => OPEN positionWhen I move the switch UP it can move from
OPEN => OFF
or
OFF => CLOSED
When I move the switch DOWN it can move from
CLOSED => OFF
or
OFF => OPEN
Hope it helps you.
-
I went back and checked my Lua script and found an old Lua setting left over from the script I had written for the Beech Baron. Everything works as it should. Thank you for all the insight which helped my find the error of my ways.
-
Here is my setting of the cowl flaps on SPAD.neXt for X-Touch mini.
Show the "close left" action, the same is for the right and for open.
The action is as follow:
The condition is Battery ON. On pressing short and releasing the button, the cowl flap begin to close, the button light blink, after 16 seconds, the flap is just closed and the button light remain on.