imaqIODrive Method
Syntax
imaqIODrive id, signalType, signalNumber, value
Purpose
Drives general-purpose digital outputs with the static I/O on the NI-IMAQ I/O device.
Parameters
id As IMAQIO_SESSION
The ID of the session to drive.
signalType As IMAQIOSignalType
The type of signal to drive.
signalNumber As Long
The line number of the signal you want to drive.
value As IMAQIOSignalState
The state you want to drive the line to.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imaqIOGetErrorTextVB.