imaq1394SetupSequenceCW
Format
imaq1394SetupSequenceCW(sessionId As SESSION_ID, dispatchArray() As Object, bufferCount As Long, skipCount As Long) As IMG_ERR
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. |
dispatchArray | SAFEARRAY (Object) | An valid CWIMAQImage array. |
bufferCount | Long | The number of images in the CWIMAQImage array. This value must be less than or equal to the number of allocated images in the CWIMAQImage array. |
skipCount | Long | Reserved for future use. Set to 0. |
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 imaq1394ShowErrorCW.