05-24-2016 03:10 PM
My system is Window 7 32-bit
Labview 2011
I have a usb to serial device. After the device is plugged into the computer, window will show a usb-serial device. Without going to the device manager, is it possible to use Labview to scan to see what COM number the device is enumerated as?
I can use VISA find resources to check the COM port. But if i have multiple COMs on the PC, how do i know which one is the one from my device?
thanks.
05-24-2016 07:39 PM
You have a few options.
1. Have a list of found serial ports before the adapter was plugged in and filter those out after you do the new search. What is left should be the new one.
2. Go through each serial port and try to communicate with your device. If you get a proper response, use that port.
05-25-2016 04:54 AM
05-25-2016 08:26 AM - edited 05-25-2016 08:26 AM
hi,
Are you using a FTDI USB-serial device ? If yes, you can find the port by the serial number.
Kees
05-25-2016 10:27 AM
Thanks guys.
It's a usb bluetooth dongle.
I think i'm going with the before and after to find the COM port.
Thanks again.
05-25-2016 10:48 AM
check this vi i think it could work