IMAQdxSequenceCW

NI-IMAQdx Function Reference

IMAQdxSequenceCW

Format

IMAQdxSequenceCW (id As IMAQdxSession, images() As CWIMAQImage, count As Long) As IMAQdxError

Purpose

Configures, starts, acquires, stops, and unconfigures a sequence acquisition. Use this function to capture multiple images. If you call this function before calling IMAQdxOpenCamera, IMAQdxSequence uses cam0 by default.

Parameters

Parameter Type Description
id IMAQdxSession A valid Session ID, which you can obtain using IMAQdxOpenCamera.
images CWIMAQImage [] The image array that receives the captured pixel data.
count Long The number of images in the image array. This value must be less than or equal to the number of allocated images in the image array.

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 IMAQdxGetErrorStringCW.