11-23-2011 03:02 AM
I'm now planning to make a system using two USB 6008.
In this case, how can I distinguish two 6008s? I mean, which one becomes "dev1"?
Also, is there any way to fix the assignment of the physical channl name for each device?
If I could read the serial number (or machine id) of each DAQ, it would be helpful...
(I am using VB.NET).
Thanks in advance...
Solved! Go to Solution.
11-23-2011 07:05 AM
Dim Devices() As String = NationalInstruments.DAQmx.DaqSystem.Local.Devices
Dim DeviceInfo As NationalInstruments.DAQmx.Device
Dim X As Integer
For X = 0 To Devices.GetUpperBound(0)
DeviceInfo = NationalInstruments.DAQmx.DaqSystem.Local.LoadDevice(Devices(X))
MsgBox(DeviceInfo.DeviceID & " SN = " & DeviceInfo.SerialNumber.ToString)
Next
Make sure to add references to NationalInstruments.Common and NationalInstruments.DAQmx to the project.
There is other information in the DeviceInfo structure that me be helpfull as well
11-24-2011 04:46 AM
Thank you!! It worked very well!!