From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read to listbox

Solved!
Go to solution

I want to output the of the VISA read onto a list box and I need to store each of the values in the listbox on a new line. How do you suggest I go about it.

0 Kudos
Message 1 of 5
(2,220 Views)
Solution
Accepted by topic author sanath.j.bhat
Break up this task. Use a property node to write to the list box. This takes a string array, therefore you need to convert your data from the visa read function to a string array.
0 Kudos
Message 2 of 5
(2,214 Views)

What is the data type of the output of the VISA read function?

0 Kudos
Message 3 of 5
(2,205 Views)
Have you got labview? Have you looked at the help? Have you looked at shipping examples? evwn without labview you can look at the help online, just google it. You need to think how to convert the data you get to a string array. This will be based on the separator you expect from the serial device
0 Kudos
Message 4 of 5
(2,202 Views)

Thanks. I figured it out

 

0 Kudos
Message 5 of 5
(2,178 Views)