Time.Timer

Time.Timer

A simple timer.

Description

This logic counts down from a given runtime and sets a HasElapsed data point after that time.

Inputs

Name

Type

M/O

Description

Name

Type

M/O

Description

StartStop

ItemID

M

A boolean data point that starts and stops the timer.

Reset

ItemID

M

A boolean data point. If set to True the output RemainingTime is set to the value of input Runtime, the output HasElapsed data point is reset to False and the Reset data point is also reset to False.

Runtime

Numeric or Time

M

The start time at which the timer starts.

Outputs

Name

Type

M/O

Description

RemainingTime

Numeric or Time

M

The time remaining until a running timer will elapse.

HasElapsed

ItemID

O

A boolean data point that is set to True once the timer has elapsed.

Parameters

None.

Possible trigger types

  • Timer (1 s)

Applies to

  • XLogic Library 1.0.15+