imaq1394SetupGrabCW

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394SetupGrabCW

Format

imaq1394SetupGrabCW(sessionId As SESSION_ID) As IMG_ERR

Purpose

Configures and starts a grab acquisition. A grab performs an acquisition that loops continually on a ring of 3 buffers. Use imaq1394Grab2CW to copy an image out of the buffer. Use imaq1394ClearAcquisition to unconfigure the acquisition.

Parameters

Parameter Type Description
sessionId SESSION_ID A valid Session ID, which you can obtain using imaq1394CameraOpen2.

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.