|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Programming VIs and Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Timing VIs and Functions to manipulate the speed at which an operation executes and to retrieve time and date information from the computer clock.
|Date/Time To Seconds||Converts a cluster of time values into a timestamp measured as the number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time, assuming is DST is set to 1.|
|Elapsed Time||Indicates the amount of time that has elapsed since the specified start time.|
|Format Date/Time String||Displays a timestamp value or a numeric value as time in the format you specify using time format codes.|
|Get Date/Time In Seconds||Returns a timestamp of the current time. LabVIEW calculates this timestamp using the number of seconds elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time.|
|Get Date/Time String||Converts a timestamp value or a numeric value to a date and time string in the time zone configured for the computer. The function interprets timestamp and numeric values as the time-zone-independent number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time.|
|High Resolution Polling Wait||Waits the specified number of seconds with higher resolution than you can obtain with the Wait (ms) function. For example, use this VI in applications that require waiting with sub-millisecond resolution between steps. The resolution of the timer this VI uses varies with different operating systems and CPU types.
Unlike the Wait (ms) function, if the number of seconds you specify is 0, this VI does not force the current thread to yield control of the CPU. Use this VI with caution if you are concerned about high CPU loads: this VI may use polling to achieve high timing resolution for all or a portion of the wait time.
|High Resolution Relative Seconds||Returns the relative current time in seconds. Use the difference between two successive values to measure the elapsed |
time between the calls. Use this VI to measure time spans with much higher resolution than you can obtain from the Tick Count (ms) function. The time resolution of this VI may vary with different operating systems and CPU types.
|Seconds To Date/Time||Converts a timestamp value or a numeric value to a cluster of time values.
This function loses fractional seconds of precision when converting the timestamp. If you convert date time rec back into a time stamp, the timestamp may not display the exactly correct value.
|Stall Data Flow||Delays the data flow of the wire for a specified period of time.|
|Tick Count (ms)||Returns the value of the millisecond timer.|
|Time Delay||Inserts a time delay into the calling VI.|
|Time Stamp Constant||Use the time stamp constant to pass a time and date value to the block diagram.|
|To Time Stamp||Converts a number to a timestamp.|
|Wait (ms)||Waits the specified number of milliseconds and returns the value of the millisecond timer.|
|Wait Until Next ms Multiple||Waits until the value of the millisecond timer becomes a multiple of the specified millisecond multiple. Use this function to synchronize activities. You can call this function in a loop to control the loop execution rate. However, it is possible that the first loop period might be short. Wiring a value of 0 to the milliseconds multiple input forces the current thread to yield control of the CPU.|