Results 1 to 5 of 5
Thread: [LOGIC] elapsed
-
12-01-2004, 05:55 PM #1null nullGuest
[LOGIC] elapsed
Hello Enrico
Could you explain "elapsed"
HydPress1 = HydPress1 + (elapsed * 80)
David
-
12-02-2004, 06:57 AM #2Enrico SchirattiGuest
Re: [LOGIC] elapsed
Hi,
this is indeed a useful one. It will return the elapsed time since the last
loop and allows smooth increments independently of the cycle times...
Ciao
Enrico
"David Allen" wrote in message
news:273535.54342@wb.onvix.com...
> Hello Enrico
>
> Could you explain "elapsed"
>
> HydPress1 = HydPress1 + (elapsed * 80)
>
> David
>
-
12-02-2004, 11:49 AM #3Peter DowsonGuest
Re: [LOGIC] elapsed
On 12/2/2004 5:57:31 AM, Enrico Schiratti wrote:
>Hi,
>
>this is indeed a useful one.
>It will return the elapsed
>time since the last
>loop and allows smooth
>increments independently of
>the cycle times...
Units? Seconds, Millisecinds, Microseconds? Or is this one of those things
where you try any value, then double or halve it, and so on?
Best regards,
Pete
-
12-08-2004, 03:01 PM #4Enrico SchirattiGuest
Re: [LOGIC] elapsed
Hi,
> Units? Seconds, Millisecinds, Microseconds? Or is this one of those
things
> where you try any value, then double or halve it, and so on?
The unit for the "elapsed" value is seconds.
Thus if you want something to go from 0 to 100 in ten seconds, you use:
myValue = myValue + ( elapsed * 10 )
Ciao
Enrico
-
12-08-2004, 03:05 PM #5Enrico SchirattiGuest
Re: [LOGIC] elapsed
Come to think of it, I could add a more explicit
seconds
and
milliseconds
Ciao
Enrico
"Enrico Schiratti" wrote in message
news:275403.54342@wb.onvix.com...
> Hi,
>
>> Units? Seconds, Millisecinds, Microseconds? Or is this one of those
> things
>> where you try any value, then double or halve it, and so on?
>
> The unit for the "elapsed" value is seconds.
>
> Thus if you want something to go from 0 to 100 in ten seconds, you use:
>
> myValue = myValue + ( elapsed * 10 )
>
> Ciao
>
> Enrico
>
Similar Threads
-
777 logic file?
By sbecker777 in forum PMSystemsReplies: 7Last Post: 10-18-2018, 02:07 PM -
SixPack Logic
By Potrohkocsonya in forum PMSystemsReplies: 2Last Post: 04-18-2009, 12:41 PM -
Logic circuit
By gokhotit in forum FS2Phidget UsersReplies: 9Last Post: 09-23-2007, 11:49 PM -
Airbus logic
By 3202b in forum PMSystemsReplies: 3Last Post: 02-08-2007, 04:36 PM -
[LOGIC] Center logic 0 Three position toggle switch
By null null in forum PM General Q & AReplies: 2Last Post: 11-24-2004, 04:42 PM
It was great listening to this, remembering what a wonderful person and great influence Ian was to...
MyCockpit Podcast "Tips And...