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 to know the device number of USB daq

Solved!
Go to solution

There are 2 devices, and user may plug in them to different port each time.

 

But the program is using the same device string and may have error.

 

Can they auto detect and generate the device string, thanks.

0 Kudos
Message 1 of 4
(2,602 Views)
Solution
Accepted by topic author alex.

Is it something similar like this (help) you need? If so please go through the link from Andrew's post (2nd one). Post if still you need something else.

 

Thanks,

Mathan

 

Message 2 of 4
(2,589 Views)

Thanks, after detection, may i know how to convert a text string 'Dev1/ai0:2' to the task string.

 

Thanks.

0 Kudos
Message 3 of 4
(2,576 Views)
Just simply wire this string to physical channel terminal should be fine.
Message 4 of 4
(2,550 Views)