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

NameType

M/O

Description
StartStopItemID

M

A boolean data point that starts and stops the stopwatch.
ResetItemIDMA boolean data point. If set to True the output is set to 0 and the Reset data point is also reset to False.

Outputs

NameTypeM/ODescription
RuntimeNumeric or TimeMThe time for which the stopwatch has been running.

Parameters

None.

Possible trigger types

  • Timer (1 s)

Applies to

  • XLogic Library 1.0.15+