06-17-2009 11:19 PM
hi i have a usb converter ... (example:A). How i can automatically knw which comm port is connected to?(without checking the device manager) and let say i have 7 ports in my pc?
Need help.. Plz and thk u
06-17-2009 11:35 PM
06-17-2009 11:42 PM
06-18-2009 01:36 AM
Hi dennis. Thank you can i get an example how to do this in labview 8.0.plz
06-18-2009 03:43 AM
06-18-2009 09:23 AM
The way I normally do that funtion is to find the interface name associated with a COM port - for standard, built-in COM Ports it will be "ASRLx (Communications Port - COMx)", but for a USB Adaptor it will be something like "ASRLx (<Port Description> - COMx)", where <Port Description> is the text you see in Device Manager.
Here's a VI I use to automatically parse out the Interface Name for COM ports on a system. I normally run this VI and then search through the array, looking at the description field to find the port for my device.
Note: If you have more than one USB COM adaptor using the same chip, this VI will not automatically be able to tell them apart. If that's the case you will have to add some kind of identification routine specific to your device.
Shaun
07-29-2009 11:20 PM
07-29-2009 11:32 PM
Saved for LV 8.0
And please use all the keys on your keyboard. There is no need to resort to text messaging.