imaq1394Grab2CW
Format
imaq1394Grab2CW(sessionId As SESSION_ID, waitForNextBuffer As Long, actualBufferNumber As Long, 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 using imaq1394CameraOpen2. |
waitForNextBuffer | long | Specifies whether the function returns the image currently being acquired or the last completely acquired image. Specify TRUE (1) to wait for a buffer. Specify FALSE (0) to get the current buffer in memory. |
bufferNumberActual | long (passed by reference) | The actual cumulative buffer number of the image retrieved. |
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.