03-01-2022 03:35 AM
Hi LLindenbauer.
Thanks for responding.
That could actually be THE solution, I've been looking for.
Thanks for sharing. I'll look into that in a while.
BR
Bjarne
03-01-2022 04:03 AM
BCL@Servodan a écrit :
Hi Defaphe.
Thanks for replying.
Could You backsave that one to LV2019.
Thanks.
BR
Bjarne
Here the link with the file that is ok for older versions.
https://forums.ni.com/t5/LabVIEW/How-to-find-COM-port-for-a-specific-USB-device/m-p/3548364#M993603
03-01-2022 10:44 AM
As someone who has both read the USB spec and has been programming LV for over 20 years, I'd recommend finding a function to actually search the enumerated USB devices by PID and VID and use that. Whether it's attached to the hub you want or not is irrelevant for finding the device.
USB is not really meant to be transparent in its "tree" organisation. It's more of a point-to-point bus logically.