Results 1 to 5 of 5

Thread: [LOGIC] elapsed

  1. #1
    null null
    Guest

    [LOGIC] elapsed

    Hello Enrico

    Could you explain "elapsed"

    HydPress1 = HydPress1 + (elapsed * 80)

    David


  2. #2
    Enrico Schiratti
    Guest

    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
    >



  3. #3
    Peter Dowson
    Guest

    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


  4. #4
    Enrico Schiratti
    Guest

    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


  5. #5
    Enrico Schiratti
    Guest

    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

  1. SixPack Logic
    By Potrohkocsonya in forum PMSystems
    Replies: 2
    Last Post: 04-18-2009, 12:41 PM
  2. 777 logic file?
    By sbecker777 in forum PMSystems
    Replies: 6
    Last Post: 02-05-2008, 01:23 AM
  3. Logic circuit
    By gokhotit in forum FS2Phidget Users
    Replies: 9
    Last Post: 09-23-2007, 11:49 PM
  4. Airbus logic
    By 3202b in forum PMSystems
    Replies: 3
    Last Post: 02-08-2007, 03:36 PM
  5. [LOGIC] Center logic 0 Three position toggle switch
    By null null in forum PM General Q & A
    Replies: 2
    Last Post: 11-24-2004, 03:42 PM