imaq1394Grab

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394Grab

Format

rval = imaq1394Grab (SESSION_ID sessionId, void **buffer);

Purpose

Acquires the most current frame into a previously allocated buffer. Call this function only after calling imaq1394SetupGrab.

Parameters

Parameter Type Description
sessionID SESSION_ID A valid Session ID, which you can obtain with the function imaq1394CameraOpen.
image void * (passed by reference) The image into which to acquire. If image is NULL, imaq1394Grab creates a new image.

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.