LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reserve a device with Name / Host-Name ?

Hi,

 

is there a way to reserve a device (cDAQ) using only the "host-name" and not the "name" (which is - up until now - always the same in my case)?

 

I wanted to use the "name" as a useful description and the "host-name" (which is always something like "cDAQ9xxx-Serial") as a means of adressing the device. Unfortunately, changing the "name" to "Device 4 - Production Line" leads to my program not being able to reserve the device.

 

Thanks

0 Kudos
Message 1 of 2
(1,296 Views)

Hi mw,

 

you could read a list of available devices (using DAQmx properties) and determine their serial numbers.

Your program can then select the correct device by its serial number - which never changes…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(1,287 Views)