Specifications

sharpVISION™ Camera
sharpVISION VISION SDK
59
4.2.19. GetFrames
long GetFrames (long nFrames, long nStartIndex, long pDataBuff )
Return values
SVC_SUCCESS, if successful, otherwise
SVC_GENERICERROR, if an error occurs.
Parameters
nFrames
Specifies the number of frames to read.
nStartIndex
Specifies the index of the first frame to read.
pDataBuff
Specifies the pointer to data buffer.
Remarks
This function reads one or more frames from the controls memory to a data buffer specified
by the pDataBuff parameter. The values of nStartIndex and nStartIndex + nFrames must
be lower than the number of total frames that can be read by GetFramesNumber.
See also: GetFramesNumber