Specifications

sharpVISION™ Camera
sharpVISION SDK Reference
36
3.3.2. SvGrabOneFrame
SV_ERROR SvGrabOneFrame( SV_HANDLE hCamera, PSV_FRAME pFrame )
Return values
SVC_SUCCESS if successful, otherwise
SVC_INVALIDHANDLE, if the camera handle is not valid.
SVC_BUFFERTOOSMALL, if the frame buffer is too small for the image.
SVC_FIREWIREFAULT, if an internal error occurred while calling the firewire driver.
Parameters
hCamera
Specifies the handle to an open camera.
pFrame
Specifies the pointer to a SV_FRAME structure. The structure is used to acquire the frame.
Remarks
This function grabs synchronously a frame from the camera. It returns when the frame has
been acquired.
See also: SvQueueOneFrame