IMAQdxCloseCamera

NI-IMAQdx Function Reference

IMAQdxCloseCamera

Format

rval = IMAQdxCloseCamera (IMAQdxSession id);

Purpose

Stops an acquisition in progress, releases resources associated with an acquisition, and closes the specified session.

Parameters

Parameter Type Description
id IMAQdxSession A valid Session ID.

Return Value

On success, this function returns IMAQdxErrorSuccess. On failure, this function returns an error code. You can obtain a more detailed error message with IMAQdxGetErrorString or, if you are using Microsoft Visual Basic, IMAQdxGetErrorStringCW.