Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Listing devices from .net application

Solved!
Go to solution

Hi,

I need to list in my application devices connected. Like in measurment studio explorer.

For example:

- NI-USB-6351"Dev1"

- NI-USB-6351"Dev2"

- CDAQ-9171"CDAQ1"

 

Is it possible in .net ? VB or C# examples ?

Thanks

0 Kudos
Message 1 of 4
(1,908 Views)

up

0 Kudos
Message 2 of 4
(1,869 Views)
Solution
Accepted by topic author Touf2638

Hi, 

 

At the following link, there are two examples. One using LabVIEW and one in C langage. https://forums.ni.com/t5/Example-Programs/Programmatically-Finding-Device-in-System/ta-p/3516200?pro...

 

Does this help you with your problem? 

 

Best regards

Message 3 of 4
(1,859 Views)

Perfect, thanks a lot. 

So in .net

For Each Device In DaqSystem.Local.Devices...

et you have all names connected devices

 

Message 4 of 4
(1,838 Views)