imaq1394SetupSequenceImage

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394SetupSequenceImage

Format

rval = imaq1394SetupSequenceImage (SESSION_ID sessionID, Image **images, unsigned long bufferCount, int skipCount, Rect rectangle);

Purpose

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

Parameters

Parameter Type Description
sessionId SESSION_ID A valid Session ID, which you can obtain using imaq1394CameraOpen2.
images Image ** An array of images. Each element in the array must be a pointer to a valid image.
bufferCount unsigned long The number of buffers in the images array.
skipCount int Reserved for future use. Set to 0.
rectangle Rect The area of the acquisition window to acquire. Set this parameter to IMAQ_NO_RECT to acquire the entire acquisition window.

Return Value

On success, this function returns IMG1394_ERR_GOOD. On failure, this function returns an error code. You can obtain a more detailed error message with imaq1394ShowError.