imaq1394ConfigureAcquisitionCW

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394ConfigureAcquisitionCW

Format

imaq1394ConfigureAcquisitionCW (sessionId As SESSION_ID, continuous As Long, bufferCount As Long) As IMG_ERR

Purpose

Configures a low-level acquisition previously opened with imaq1394CameraOpen2. The acquisition type is specified with the parameters continuous and bufferCount.

Snap Continuous = 0 Buffer Count = 1
Sequence Continuous = 0 Buffer Count > 1
Grab Continuous = 1 Buffer Count ³ 1

Use imaq1394ClearAcquisition to unconfigure the acquisition.

Parameters

Parameter Type Description
sessionId SESSION_ID A valid Session ID, which you can obtain using imaq1394CameraOpen2.
continuous long Set this parameter to 1 for a continuous acquisition.
bufferCount long For a non-continuous acquisition, this parameter specifies the number of images to acquire. For a continuous acquisition, use this parameter to specify the number of buffers the driver uses internally.

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.