Time.Stopwatch

Time.Stopwatch

A simple stopwatch.

Description

This logic counts up the output every time it is called if the StartStop input is set to True.

Inputs

Name

Type

M/O

Description

Name

Type

M/O

Description

StartStop

ItemID

M

A boolean data point that starts and stops the stopwatch.

Reset

ItemID

M

A boolean data point. If set to True the output is set to 0 and the Reset data point is also reset to False.

Outputs

Name

Type

M/O

Description

Runtime

Numeric or Time

M

The time for which the stopwatch has been running.

Parameters

None.

Possible trigger types

  • Timer (1 s)

Applies to

  • XLogic Library 1.0.15+