imgSessionStopAcquisition

NI IMAQ Function

imgSessionStopAcquisition

Usage

rval imgSessionStopAcquisition(SESSION_ID sid);

Purpose

Stops the acquisition in the session identified by sid. This function performs the least amount of work necessary to stop the acquisition, and also maintains configuration information. The configuration time of subsequent acquisitions is minimized as long as no acquisition parameters change. The buffer list configuration is also preserved. To disassociate the buffer list and clear the acquisition configuration, use imgSessionAbort.

Parameters

Name Type Direction
sid SESSION_ID input
rval Int32 output

Parameter Discussion

sid: valid SESSION_ID.

Return Value

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