Produces time stamps. The timer can work either with or without a trigger signal. If the trigger is connected, a time stamp will be sent out after a user-specified delay (interval) whenever an object is received. If the trigger is not connected, the timer will launch either repeatedly in interval millisecond intervals or once at startup after interval milliseconds, depending on mode.


  • trigger: An optional trigger input. Trigger signals are not queued: a new time stamp will not be sent until the timer has fired after the previous trigger. In other words, exactly one time will be emitted for each input. If this input is connected, the user is responsible for setting interval to a value that is shorter than the time between successive trigger signals. Failing to do so will block successive trigger calls for at least interval milliseconds.

  • interval: The time-out interval in milliseconds. If the trigger input is connected, this value specifies the delay after which the time stamp will be generated and sent. If not, the timer will fire repeatedly every interval milliseconds.

  • mode: Timer mode.


  • time: A DateTime object that stores the time the timer fired. The accuracy of the time depends on various factors including (but not limited to) the underlying operating system and system load.