Elapsed Time Express VI

Owning Palette: Execution Control Express VIs and Structures

Requires: Base Development System

Indicates the amount of time that has elapsed since the specified start time.

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Add to the block diagram  Find on the palette

Dialog Box Options

ParameterDescription
Elapsed time (seconds)Specifies how much time must elapse before the Time has Elapsed Boolean is set to TRUE. The default is 1.000.
Automatically reset after time targetResets the elapsed time marker.

Block Diagram Inputs

ParameterDescription
Set Start Time (s)Uses the current time or a time offset from 12:00 a.m., Friday, January 1, 1904 [01-01-1904 00:00:00] as the start time instead of the time this VI first ran. If the value is 0, the Express VI uses the current time as the start time. The Express VI uses any other value as the number of seconds offset from 12:00 a.m., Friday, January 1, 1904 [01-01-1904 00:00:00]. For example if the value is 1, the Express VI measures the elapsed time since 12:00:01 a.m., Friday, January 1, 1904 [01-01-1904 00:00:01]. You can wire this input to the Present (s) output of another Elapsed Time Express VI to get this value.
Time Target (s)Specifies how much time must elapse before the Time has Elapsed Boolean is set to TRUE. The default is 1.
ResetControls the initialization of the internal state of the VI. The default is FALSE.
Auto ResetResets the start time to the value in Present (s) when the Express VI reaches the Time Target (s).
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
Present (s)Displays the present time in seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00].
Present TextDisplays the present date and time in text format.
Elapsed Time (s)Displays the amount of time in seconds that has elapsed since the start time and the Present (s) time.
Time has ElapsedIndicates if the Elapsed Time (s) is greater than the start time plus Time Target (s).
Elapsed Time TextDisplays the amount of time in seconds that has elapsed since the start time.
error outContains error information. This output provides standard error out functionality.
Start Time TextIf Automatically reset after time target is FALSE, displays (in text format) the date and time the VI first ran or the time you wire to the Set Start Time (s) input. Otherwise displays the date and time of the last reset.
Get Start Time (s)If Automatically reset after time target is FALSE, displays the date and time the VI first ran or the time you wire to the Set Start Time (s) input. Otherwise displays the date and time of the last reset.

This Express VI operates similarly to the following VIs and functions:

Get Date/Time In Seconds