imgGrabSetup

NI IMAQ Function

imgGrabSetup

Usage

rval imgGrabSetup(SESSION_ID sid, uInt32 startNow);

Purpose

Configures and optionally starts a continuous acquisition.

Parameters

Name Type Direction
sid SESSION_ID input
startNow uInt32 input
rval Int32 output

Parameter Discussion

sid: valid SESSION_ID.

startNow: non-zero value specifies that the continuous acquisition should start immediately. If the value is zero, you must manually start the acquisition with imgSessionStartAcquisition.

Return Value

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