imgCreateBufList

NI IMAQ Function

imgCreateBufList

Usage

rval imgCreateBufList(uInt32 numElements, BUFLIST_ID* bid);

Purpose

Creates a buffer list. You must initialize the buffer list before calling imgSessionConfigure. Use imgSetBufferElement to initialize the buffer list.

Parameters

Name Type Direction
numElements uInt32 input
bid BUFLIST_ID* output
rval Int32 output

Parameter Discussion

numElements: number of elements the buffer list should contain.

bid: pointer to an area of memory that contains a BUFLIST_ID variable.

Return Value

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