LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQdx Enumerate Cameras - bus type codes

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,853 Views)
Solution
Accepted by sqrt(-1)

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

Message 2 of 3
(2,821 Views)

Yeah!

It is exactly what I was looking for.

 

Thanks

 

 

0 Kudos
Message 3 of 3
(2,816 Views)