
Machine Vision Camera SDK (C) Developer Guide
will wait to return until data appears. This function will increase the streaming stability, which
can be used in the situation with high stability requirement.
● This API is supported by both the USB3Vision and GIGE camera.
● This API is not supported by CameraLink device.
4.4.7 MV_CC_RegisterImageCallBackEx
Register image data callback function, supporting getting chunk information.
API Definition
int MV_CC_RegisterImageCallBackEx(
void
*handle,
void
*cbOutput,
void
*pUser
);
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
cbOutput
[IN] Image data callback function, see the details below:
void(__stdcall* cbOutput)(
unsigned char
*pData,
MV_FRAME_OUT_INFO_EX *pFrameInfo,
void
*pUser
);
pData
Address of buffer that saves image data
pFrameInfo
Obtained frame information, including width, height and pixel format. See the structure
MV_FRAME_OUT_INFO_EX for details
pUser
User data
pUser
[IN] User data
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
95



































































































































































































































































































































































































