Showing results for 
Search instead for 
Did you mean: 

Retrieve USB device location information (port # and hub #)

How in LabVIEW can you retrieve the USB device's location information - its port # and hub #? Pulling up the device properties from Windows' Device Manager shows the Location along with the Device Type and Manufacturer. See the attached screenshot.


Thanks in advance!

0 Kudos
Message 1 of 3

My only suggestion is to look into calling DevCon.exe to try to get this information.  Here is one article talking about this command line program from Microsoft.


EDIT:  Here are a few more links talking about Devcon

0 Kudos
Message 2 of 3

Hi, I've tried devcon.exe but I couldn't find the right command to have it print out the usb device's location information, the port # and hub #.

0 Kudos
Message 3 of 3