AnsweredAssumed Answered

How to connect to a USB port based on the user input!

Question asked by Sima on Nov 23, 2015
Latest reply on Nov 24, 2015 by Mike

I have an automated test for a device which is connected to a computer via USB port. I want to send a runtime version of this test to our test site in another country. I want them to be able to connect to the serial port based on the port number they get on their PC. My goal is to modify the program such that the USB port number can be entered in an initialization text file and used by the test program to connect to, send the commands to and receive the data from.

For now I have to change the port number in the device manager on each computer to match the USB port number in instrument manager (which is ...!!!)

I would appreciate it if somebody would advice me on how to connect to a USB port based on the user input.