06-15-2016 06:30 AM
I have an application where I am using a few stepper motor drivers that will have an RS-485 to USB adapter, which will be used to commuicate via VISA and LabVIEW. The problem I am having is that my computer is auto allocating the COM port differently each time I plug in my device and I was curious as to whether or not there is a way to assign a COM port/USB port as static so it does not change when I plug in a device to a certain designated port. Is there a way to do this in Windows settings or a way to search for the USB connection and write to its port whenever it changes?
06-16-2016 05:19 AM
06-16-2016 05:55 AM - edited 06-16-2016 05:56 AM
Hi,
To avoid this problem I use FTDI devices. You can name these devices and search for the name. The FTDI driver reports the used COM port number.
This is how I use USB serial ports in my applications that are used by many users (and computers)
Maybe you can do the same with devices from other manufacturers.
Kees