imgSessionConfigure

NI IMAQ Function

imgSessionConfigure

Usage

rval imgSessionConfigure(SESSION_ID sid, BUFLIST_ID buflist);

Purpose

Configures the hardware in preparation for an acquisition using the given buffer list. You must pass a valid BUFLIST_ID. Upon successful completion of this call, you can call imgSessionAcquire.

Parameters

Name Type Direction
sid SESSION_ID input
buflist BUFLIST_ID input
rval Int32 output

Parameter Discussion

sid: valid SESSION_ID.

buflist: valid BUFLIST_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.