imaq1394GrabCW

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394GrabCW

Format

imaq1394GrabCW(sessionId As SESSION_ID, dispatch As Object) As IMG_ERR

Purpose

Acquires the most current frame into a valid CWIMAQImage. Call this function only after calling imaq1394SetupGrabCW.

Parameters

Parameter Type Description
sessionId SESSION_ID A valid Session ID, which you can obtain with the function imaq1394CameraOpenimaq1394CameraOpen.html.
dispatch Object A valid CWIMAQImage.

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.