Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

get VISA resource name

Solved!
Go to solution

I connect serial port COM3 to a digital multimeter, I can ensure COM3 is shown in device manager. but I am not sure if COM3 is in the list of VISA resource name. If COM3 is not in the list, I want to refresh VISA resource name.

So my question is how to the program can get all the list of VISA resource name, so the program can compare VISA resource name with COM3 automatically? how the program can refresh the VISA resource name, if COM3 is not in the list?

Labview 2011 windows 7

Thanks

0 Kudos
Message 1 of 2
(7,199 Views)
Solution
Accepted by topic author StevenInToronto

The VISA resource control will automatically show available VISA resources. If it does not then it sounds like there was an error in the installation of NI-VISA.

 

An alternative is to use your own control, as suggested here: http://forums.ni.com/t5/LabVIEW/VISA-resource-name-control-want-to-refresh-list-of-COM-ports/td-p/13...

0 Kudos
Message 2 of 2
(7,197 Views)