From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

check device name

Solved!
Go to solution

Hello,

 

i have ni usb-6008 card a installed ni-DAQmx 9.3.5 driver software, name of device is autamatically "Dev1", how can

i automatically read name of the other device: For example ,I need connect new ni usb-6009 and in my program i need find this new device automatically ?

 

thanks

0 Kudos
Message 1 of 5
(3,031 Views)

 

Not quite sure what you want to do but this wil list all connected devices:

 

devices.png

 

0 Kudos
Message 2 of 5
(3,017 Views)
Solution
Accepted by topic author Ondik

Here is a similar topic that might help:

 

http://forums.ni.com/t5/LabVIEW/How-can-I-read-the-active-plugged-in-DAQs-and-then-send-that-to/td-p...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 5
(2,999 Views)

thanks to all !

0 Kudos
Message 4 of 5
(2,991 Views)

You are going about it the wrong waySmiley Very Happy

 

The smarter way is to detect the device insertion and use a custom exe to rename the device alias

 

Here is an example of the code to rename the device

Here are the instructions on how to get NI Devmon to find your cool app.

 

It is well worth the effort


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(2,986 Views)