
Machine Vision Camera SDK (C) Developer Guide
MV_FRAME_OUT_INFO_EX
);
*pFrameInfo
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
pData
[IN] Buffer address used to save image data
nDataSize
[IN] Buffer size
pFrameInfo
[OUT] Obtained frame information, see the structure MV_FRAME_OUT_INFO_EX for details.
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
● Before calling this API to get image data frame, call MV_CC_StartGrabbing to start image
acquisition. The API actively gets frame data. The frequency of calling this API should be
controlled by upper layer application according to frame rate.
● This API is discarded, and you can use MV_CC_GetOneFrameTimeout to replace it for getting
chunk information and setting timeout.
● This API is not supported by CameraLink device.
See Also
MV_CC_StartGrabbing
Example
The following sample code is for reference only.
#include "MvCameraControl.h"
#define MAX_BUF_SIZE (1920*1080*3)
void main()
{
int nRet = -1;
void* m_handle = NULL;
//Enumerate all devices corresponding to specified transport protocol
within subnet
unsigned int nTLayerType = MV_GIGE_DEVICE | MV_USB_DEVICE;
MV_CC_DEVICE_INFO_LIST m_stDevList = {0};
int nRet = MV_CC_EnumDevices(nTLayerType, &m_stDevList);
148



































































































































































































































































































































































































