Results 51 to 60 of 90
Thread: SIOC "IF" Question
-
08-21-2010, 05:59 AM #51
Re: SIOC "IF" Question
Code:{ IF v9888 >= 3 { &REF = 0 &BlinkLed = 500000 // Begin value of timer &BlinkLed = TIMER 0 -1 40 } } { L0 = MOD &BlinkLed 2 IF L0 = 0 { &REF = 0 } ELSE { &REF = 1 }
-
08-21-2010, 10:38 AM #52
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC "IF" Question
__________________________________
-
08-21-2010, 11:15 AM #53
Re: SIOC "IF" Question
Code:Var 222 { IF v9888 >= 3 { &REF = 0 &BlinkLed = 500000 // Begin value of timer &BlinkLed = TIMER 0 -1 40 } } Var 333 name BlinkLed // Var 222 { IF v9888 <= 3 { &REF = 1 { &BlinkLed = 1 // equal to end value of timer (0) + 1 } } } // Var 222 { IF v9888 = 0 { &REF = 0 } }
-
08-21-2010, 02:02 PM #54
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC "IF" Question
_______________________________
-
08-21-2010, 02:05 PM #55
Re: SIOC "IF" Question
Code:{ IF v9888 >= 3 { &REF = 0 &BlinkLed = 500000 // Begin value of timer &BlinkLed = TIMER 0 -1 40 } } // { IF v9888 <= 3 { &REF = 1 { &BlinkLed = 1 // equal to end value of timer (0) + 1 } } } // { IF v9888 = 0 { &REF = 0 } }
-
08-21-2010, 02:33 PM #56
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC "IF" Question
____________________________________
-
08-21-2010, 03:12 PM #57
Re: SIOC "IF" Question
Code:IF v9888 >= 3 { &REF = 0 &BlinkLed = 500000 // Begin value of timer &BlinkLed = TIMER 0 -1 40 } IF v9888 < 3 { &REF = 1 &BlinkLed = 1 } IF v9888 = 0 { &REF = 0 }
-
08-21-2010, 03:28 PM #58
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC "IF" Question
_________________________________
-
08-21-2010, 03:34 PM #59
Re: SIOC "IF" Question
Hi Jim,
I *think* that meets my requirements. Could you just confirm?
Everything looks okay from here, timer starts if it's more than 3, stops if less than 3 & lights, off if 0. Looks good.
-
08-21-2010, 04:53 PM #60
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC "IF" Question
_____________________________
Similar Threads
-
"Inner Circle" HSI - SIOC DC Motors Card Script
By Boeing 747 Flyer in forum OpenCockpits General DiscussionReplies: 64Last Post: 04-21-2011, 10:59 AM -
Looking for "Below GS" and "Spoilers armed" annunciator light offset
By PeterH in forum PM General Q & AReplies: 17Last Post: 03-05-2008, 12:39 PM -
A question for "Bus Drivers"
By mpl330 in forum General Builder Questions All Aircraft TypesReplies: 2Last Post: 01-31-2008, 06:56 PM -
PM updates and a question for "proof of concept"
By pap in forum PM General Q & AReplies: 4Last Post: 01-27-2008, 06:22 AM
Candid connections: Platform for casual relationships Live Women Prime Сasual Dating
Super Сasual Dating - Genuine...