flex_load_delay |
Load Program Delay
Usage
status = flex_load_delay(u8 boardID, u32 delayTime);
Purpose
Loads a delay into a program sequence.
Parameters
Name | Type | Description |
---|---|---|
boardID | u8 | assigned by Measurement & Automation Explorer (MAX) |
delayTime | u32 | delay time in milliseconds |
Parameter Discussion
delayTime is the specified delay in milliseconds. The range is from 1 to 231–1 ms.
Using This Function
This function suspends program execution for the number of milliseconds loaded. Program execution resumes after the delay. Delays can be as short as one or two milliseconds or as long as hundreds of hours.