imaqIOQueryShutdown

NI-IMAQ I/O C Function

imaqIOQueryShutdown

Format

rval = imaqIOQueryShutdown(IMAQIO_SESSION id, unsigned long* shutdownEnabled);

Purpose

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

Parameters

Name Type Direction
id IMAQIO_SESSION input
shutdownEnabled unsigned long* output

Parameter Discussion

id is the ID of the session to query.

shutdownEnabled is a pointer to return data that indicates if the shutdown functionality of the NI-IMAQ I/O device is enabled. 0 indicates that the shutdown functionality is disabled, and 1 indicates that the shutdown functionality is enabled.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imaqIOGetErrorText.