imaqIOSetShutdownState Method

NI-IMAQ I/O Visual Basic

imaqIOSetShutdownState Method

Syntax

imaqIOSetShutdownState id, signalType, signalNumber, value

Purpose

Sets the shutdown state of one of the output signals on the NI-IMAQ I/O device.

Parameters

id As IMAQIO_SESSION

The ID of the session to set the shutdown state on.

signalType As IMAQIOSignalType

The type of signal to set the shutdown state on.

signalNumber As Long

The line number to set the shutdown state on.

value As IMAQIOSignalState

The shutdown state to set the device 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.

 


See Also

imaqIOEnableShutdown

imaqIOQueryShutdown

imaqIOGetShutdownState