imaq1394GrabImage

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394GrabImage

Format

rval = imaq1394GrabImage (SESSION_ID sessionId, Image *image);

Purpose

Acquires the most current frame into the specified IMAQ Vision image buffer. Call this function only after calling imaq1394SetupGrab. If the image type does not match the video format of the camera, this function changes it to a suitable format.

Parameters

Parameter Type Description
sessionID SESSION_ID A valid Session ID, which you can obtain with the function imaq1394CameraOpen.
Image Image * (passed by reference) The image into which to acquire.

Return Value

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