imaqIORead Method
Syntax
imaqIORead id, signalType, signalNumber, value
Purpose
Reads general-purpose digital inputs from the static I/O of the NI-IMAQ I/O device.
Parameters
id As IMAQIO_SESSION
The ID of the session to read from.
signalType As IMAQIOSignalType
The type of signal to read from.
signalNumber As Long
The line number of the signal to read from.
value As IMAQIOSignalState
(Output Parameter) The signal state read from the NI-IMAQ I/O device.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imaqIOGetErrorTextVB.