Discussion:
Finding VISA resource list according to the device manager listed name
(too old to reply)
Kittamma
2008-04-14 14:40:06 UTC
Permalink
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
 
 
 
 
 
shew82
2008-08-14 17:40:08 UTC
Permalink
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
Loading...