From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

how can i get the serial and the tipe of model of the target i have inserted in the pc

Solved!
Go to solution

You can take what P Anand did and expand it just a little to get more out of it.

 

In the top example you use a for loop to iterate through the attached devices and make arrays of the devices.

 

In the bottom example we create a cluster and add the information to this cluster and get a cluster array of the data.

 

Doing it this way may be useful in the future if you want the operator or user to select a device or you just want your code to be easier to use in the future.

 

Example.png

Tim
GHSP
Message 11 of 16
(575 Views)

Good and clear explanation aeastet.. I am always a lover of these king of Art.

-----

The best solution is the one you find it by yourself
Message 12 of 16
(573 Views)

Thanks

Tim
GHSP
Message 13 of 16
(571 Views)

and what happens if i want to get the info of a cDAQ?

0 Kudos
Message 14 of 16
(567 Views)

i now how to make to get a signal from a cdaq, using the daq assistant, but can i take the information of it what kind of NI card is, the serial or something??

 

 

mi idea is to do a program that recognizes all kind of NI cars, 6009, 6210, cdaq 9172... can be possible????

 

 

THANKS!

0 Kudos
Message 15 of 16
(556 Views)

Yes you get the product type and the serial number in the information that you get from this VI. I am not sure of the interface that you are looing to use. I think what I believe that you are trying to do is to find the attached Daq device and make your program work with that. Is this correct?

 

If so then you really do not need the model or serial number you will instead need the device name. When you set up your task. Set up every thing but the task name and when the program starts look to see what is connect find the device name and send that to your task.

Tim
GHSP
0 Kudos
Message 16 of 16
(540 Views)