Time, Dialog & Error VIs and Functions

LabVIEW 2011 Embedded Module for ARM Microcontrollers Help

Edition Date: June 2011

Part Number: 372459E-01

»View Product Info
Download Help (Windows Only)

Requires: Embedded Module for ARM Microcontrollers. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Time, Dialog & Error VIs and functions to manipulate the speed at which an operation executes, retrieve time and date information from the computer clock, and create dialog boxes to prompt users with instructions.

Palette ObjectDescription
CCG Console OutputPrints the text you specify to the standard output stream, stdout, of the operating system on the target.
CCG Error HandlerIndicates whether an error occurred. If an error occurred, this VI displays a printf statement that describes the error.
Date/Time To SecondsConverts 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 TimeIndicates the amount of time that has elapsed since the specified start time.
Format Date/Time StringDisplays a timestamp value or a numeric value as time in the format you specify using time format codes. For example, %c displays locale-specific date/time. Time-related format codes include the following: %X (locale-specific time), %H (hour, 24-hour clock), %I (hour, 12-hour clock), %M (minute), %S (second), %<digit>u (fractional seconds with <digit> precision), and %p (a.m./p.m. flag). Date-related format codes include the following: %x (locale-specific date), %y (year within century), %Y (year including century), %m (month number), %b (abbreviated month name), %d (day of month), and %a (abbreviated weekday name).
Get Date/Time In SecondsReturns 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 StringConverts 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.
One Button DialogDisplays a dialog box that contains a message and a single button.
Seconds To Date/TimeConverts a timestamp value or a numeric value to a cluster of time values.
Tick Count (ms)Returns the value of the millisecond timer.
Time DelayInserts a time delay into the calling VI.
To Time StampConverts a number to a timestamp.
Wait (ms)Waits the specified number of milliseconds and returns the value of the millisecond timer. Wiring a value of 0 to the milliseconds to wait input forces the current thread to yield control of the CPU.
Wait Until Next ms MultipleWaits 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.

WAS THIS ARTICLE HELPFUL?

Not Helpful