LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert a VISA Resource Name to String?

I would like to convert a VISA Resource Name (invalid reference) to string so I can open a session to a GPIB instrument.
0 Kudos
Message 1 of 3
(5,512 Views)
you can convert the Resource name to a string by usign a type cast (Advanced --> Data Manipulation)
0 Kudos
Message 2 of 3
(5,512 Views)
You can typcast the VISA Resource Name, but I usually just treat it like a string. You can connect it directly to string indicators or to any VI that takes a string input. You can even search, concatenate and split it like a string. You can also feed strings into the VISA Resource Name inputs of the VISA functions.

Rob
Message 3 of 3
(5,512 Views)