
Machine Vision Camera SDK (C) Developer Guide
Macro Definition
Description
Note
● You can set the OutputQueueSize via API .
● You can set the ImageNodeNum via API MV_CC_SetImageNodeNum
UpcomingImage
Ignore all the images in the output buffer list and wait for the next
upcoming frame.
Note
This strategy is supported only by GigE camera.
Example
The following sample code is for reference only.
#include "stdio.h"
#include "Windows.h"
#include "process.h"
#include "conio.h"
#include "MvCameraControl.h"
//Wait for key press
void WaitForKeyPress(void)
{
while(!_kbhit())
{
Sleep(10);
}
_getch();
}
bool PrintDeviceInfo(MV_CC_DEVICE_INFO* pstMVDevInfo)
{
if (NULL == pstMVDevInfo)
{
printf("The Pointer of pstMVDevInfo is NULL!\n");
return false;
}
if (pstMVDevInfo->nTLayerType == MV_GIGE_DEVICE)
{
int nIp1 = ((pstMVDevInfo->SpecialInfo.stGigEInfo.nCurrentIp &
0xff000000) >> 24);
int nIp2 = ((pstMVDevInfo->SpecialInfo.stGigEInfo.nCurrentIp &
0x00ff0000) >> 16);
int nIp3 = ((pstMVDevInfo->SpecialInfo.stGigEInfo.nCurrentIp &
0x0000ff00) >> 8);
int nIp4 = (pstMVDevInfo->SpecialInfo.stGigEInfo.nCurrentIp &
49



































































































































































































































































































































































































