Machine Vision Camera SDK (C) Developer Guide
[IN] Device information structure, see MV_CC_DEVICE_INFO for details.
pStatus
[OUT] Status: "true"-in multicast, "false"-not inmulticast
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
When enumerating the device, you can call this API to check if the device is in multiple status
without opening the device.
Example
The following sample code is for reference only.
MV_CC_DEVICE_INFO_LIST stDeviceList = {0};
nRet = MV_CC_EnumDevices(MV_GIGE_DEVICE, &stDeviceList);
if (MV_OK != nRet)
{
printf("Enum Devices fail! nRet [0x%x]\n", nRet);
break;
}
if (stDeviceList.nDeviceNum > 0)
{
bool bState = false;
MV_GIGE_GetMulticastStatus(stDeviceList.pDeviceInfo[i], &nState);
printf("nState[%d]\n", nState);
}
MV_GIGE_GetNetTransInfo
Get network transmission information, including received data size, number of lost frames.
API Definition
int MV_GIGE_GetNetTransInfo(
void
*handle,
MV_NETTRANS_INFO *pstInfo
);
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
pstInfo
70
    "