Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

get device product number using c#

Hi all,

In C, we can use "Get/Set/Reset Dev_ProductNum" to get the device product number.

int32 __CFUNC DAQmxGetDevProductNum(const char device[], uInt32 *data);

For USB 6211

Device ID

Device Name

0x7270

NI USB-6211

 

How can I use C# to get the device product number?

 

Thank you 

0 Kudos
Message 1 of 3
(3,608 Views)

Hi wenjie,

 

It's something like this:

NationalInstruments.DAQmx.DaqSystem.Local.LoadDevice("Dev1").ProductNumber

 

Brad

---
Brad Keryan
NI R&D
0 Kudos
Message 2 of 3
(3,591 Views)

Thank you

0 Kudos
Message 3 of 3
(3,577 Views)