|Download Help (Windows Only)|
Owning Class: rt
Requires: Real-Time Module and MathScript RT Module
t = rt_wait(count)
t = rt_wait(count, unit)
Delays execution of the thread in which the current MathScript Node runs. The thread sleeps for the count time you specify, then this function returns the value of a free-running counter and the thread continues execution. Both the t output and the free-running counter are 32-bit unsigned integers.
|count||Specifies the amount of time to wait. count is a 32-bit unsigned integer.|
|unit||Specifies the unit to use for the internal counter and the t output of this function. unit is a string that accepts the following values.
|t||Returns the value of the free-running counter in the unit you specify.|
This function is equivalent to the Wait Express VI.
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = 1;
X = 1;
A = A+1;
X = X+1;