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
(2,538 Views)

 

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

 

devices.png

 

0 Kudos
Message 2 of 5
(2,524 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 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 3 of 5
(2,506 Views)

thanks to all !

0 Kudos
Message 4 of 5
(2,498 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,493 Views)