LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding VISA resource list according to the device manager listed name

Hello All,
 
Our application detects a specific virtual COM port (through USB) among the other listed COM ports using LabVIEW application. 
 
We are detecting this COM port programmatically using the register key functions in LabVIEW.
 
In other applications we are using the "Find VISA resource" block to list down the COM ports. I am not sure whether this function can be used to search the COM ports according to the string message that appears in Windows Deive manager.
 
For e.g. XYZ communications port [COM10]
 
My search criterian in the above case will be a string "XYZ communications..." for dynamical detection of this COM port.
 
Is there any function available to do this instead of a register key ID?
 
 
Thanks in advance.
 
 
-Krishna
 
 
 
 
 
0 Kudos
Message 1 of 2
(2,654 Views)

If you open a connection to a COM port using VISA Open, you can then use a property node on the VISA resource wire to get the resource's Interface Information.Interface Description. This is a string in the format <VISA Name> (<Windows Name> - <Windows Description> )
eg: ASRL1 (COM1 - Communications Port) and the <Windows Description> can be used to identify a particular manufacturer's adaptor.

 

Shaun

Message Edited by shew82 on 08-14-2008 12:36 PM
0 Kudos
Message 2 of 2
(2,495 Views)