03-04-2015 03:34 AM
Hi all,
the VI IMAQdx Enumerate Cameras returns the list of available cameras. For each camera, it returns Interface name, model name, Bus type number, etc...
Obviously, an USB camera and a GigEthenet camera have different Bus type numbers.
But is there a way to know the lisf of all But type codes and the correspondences between code and a description string?
I've found anything in the documentation.
Thanks all
Solved! Go to Solution.
03-05-2015 07:52 AM
Hi AC,
I found what you're looking for. In the following you can read IMAQdx bus type enumeration:
//==============================================================================
// Bus Type Enumeration
//==============================================================================
typedef enum IMAQdxBusType_enum {
IMAQdxBusTypeFireWire = 0x31333934,
IMAQdxBusTypeEthernet = 0x69707634,
IMAQdxBusTypeSimulator = 0x2073696D,
IMAQdxBusTypeDirectShow = 0x64736877,
IMAQdxBusTypeIP = 0x4950636D,
IMAQdxBusTypeSmartCam2 = 0x53436132,
IMAQdxBusTypeUSB3Vision = 0x55534233,
IMAQdxBusTypeUVC = 0x55564320,
IMAQdxBusTypeGuard = 0xFFFFFFFF,
} IMAQdxBusType;
I hope this will help you.
Kind regards.
Cla_CUP
NI ITALY
Tech. Support
03-05-2015 08:45 AM
Yeah!
It is exactly what I was looking for.
Thanks