imaqIOQueryShutdown Method

NI-IMAQ I/O Visual Basic

imaqIOQueryShutdown Method

Syntax

imaqIOQueryShutdown id, enableShutdown

Purpose

Queries the shutdown functionality of the NI-IMAQ I/O device to determine if it is enabled or disabled.

Parameters

id As IMAQIO_SESSION

The ID of the session to query shutdown on.

shutdownEnabled As Long

(Output Parameter) The return data that indicates if the shutdown functionality of the NI-IMAQ I/O device is enabled. 1 indicates that the shutdown functionality is enabled, and 0 indicates that the shutdown functionality is disabled.

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

imaqIOGetShutdownState

imaqIOSetShutdownState