LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA port binding info

Hi all.
Is there a reliable way to programmatically get know a com port to which a serial visa resource is bound? E.g. I can see in MAX that ASRL1 is bound to COM1 but how can I get this info in a VI at runtime? (LV7.0 PDS, VISA 3.0)
Thanks in advance
0 Kudos
Message 1 of 2
(2,711 Views)
Hi kostya,

Using property nodes with your VISA wire, you can get the information under "Interface Information" and then "Interface Description". This should give COMx as a string output. I use this to differentiate between COM ports and LPT ports, something which it otherwise hard to do.

Hope this helps

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 2 of 2
(2,711 Views)