Stopwatch
Operator Menu Location: Generic Hardware Operators -> Time
Operator Bitmap:
Functional Description:
The Stopwatch generic hardware operator provides access to a real-time clock resource in the physical hardware. When the generic operator is linked to a specific hardware resource, the operator performs event-timing functions. The Stopwatch measures long-duration events (e.g., years) with a one-second resolution.
The operator has three digital inputs and four analog outputs. The outputs indicate the cumulative duration of timed events since the stopwatch was last reset, measured in days ( ), hours ( ), minutes ( ), and seconds ( ). The output ranges are:
Start/stop input enables the timer. When , the stopwatch is activated (e.g., the clock is running); when , the stopwatch is stopped. If the stopwatch is started, then stopped, and then started again, the timer is not cleared---it maintains the cumulative duration of time that the stopwatch has been active.
Reset input clears the timer (i.e., sets for i=1,2,3,4).
Track & hold input can freeze the output values while the timer remains activated. When , the outputs follow the internal clock count. When , the output values are fixed even while the stopwatch continues to run (while ). When switches from HIGH to LOW while the stopwatch remains active, the outputs will be discontinuous (i.e., they will jump from their frozen values to the current internal timer duration).
User-Defined Properties:
Object Name. A string label that identifies the operator
Display "Track_Hold" Input. Display the Pin for tracking and holding the stopwatch. This property determines if input pin is visible in the schema diagram. Design Pad issues a warning upon processing the schema when the pin is visible but not connected. The warning message is not issued when the pin is not visible (when this property is not checked).
Reset. Indicates when the stopwatch should be reset (HIGH). Display the Reset pin This property determines if input pin is visible in the schema diagram. Design Pad issues a warning upon processing the schema when the pin is visible but not connected. The warning message is not issued when the pin is not visible (when this property is not checked).
Comments: None.
See Also:
Time-of-Day Clock, Set Clock, Alarm Clock, Timer, Event Timer Digital Input