LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA and error message display

HI..

I'm using VISA config in d beginning of my VI. I have set VISA resource name as COM3. I want to popup a message if COM3 doesn't exist in my computer. how can i implement that...???

 

Thank you...

0 Kudos
Message 1 of 2
(2,211 Views)

The is a function called VISA Find Resources (from memory, I don't have LV on this PC). The output of the function is a string array of the resources found. You can search this array for a COM3 port using the Search 1D Array function followed by a case structure containing the popup in the case COM3 is not found (find index = -1).

 

Ben64

Message 2 of 2
(2,208 Views)