flex_load_delay

NI-Motion Functions

flex_load_delay

Device Compatibility

Device Compatibility
7330
N
7340
Y
7344
Y
7350
Y
7390
N
NI SoftMotion Controller for CANopen—Xenus
N
NI SoftMotion Controller for CANopen—Accelnet
N

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.