
Machine Vision Camera SDK (C) Developer Guide
MV_XML_InterfaceType *pInterfaceType
);
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
pstrName
[IN] Node name
pInterfaceType
[OUT] API type corresponds to each node, see the enumeration MV_XML_InterfaceType for
details.
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
You can call this API to get the node type before getting or setting node value.
Example
The following sample code is for reference only.
#include
#include
#include
#include
#include "MvCameraControl.h"
bool g_bExit = false;
unsigned int g_nPayloadSize = 0;
//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;
125



































































































































































































































































































































































































