LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert ASCII output to legible English

It is under String>>Additional String Functions. It is just a thin wrapper around String>>Spreadsheet String to Array.

0 Kudos
Message 11 of 16
(203 Views)
0 Kudos
Message 12 of 16
(198 Views)

Swap the format string and spreadsheet string wires.

snip.png

 

Other than that, it should work if you configured the visa session correctly.

0 Kudos
Message 13 of 16
(189 Views)

as it was said before the termination character shall be \r (But you need to right click on the string constant and select '\' Display 

add a wait time for a few milliseconds after writing to give the instrument time to respond. 

According to the manual the response shall be a string of probably 24 bytes, of numbers separated by commas. You can convert it using String to spreadsheet to array , wire a constant of Integer numbers and it will convert the strings of 0 and 1 into an array corresponding to each of the parameters of the response. 

 

LVNinja_1-1715788402610.png

 

LVNinja_0-1715788207626.png

 

0 Kudos
Message 14 of 16
(187 Views)

do all string inputs have to be '\'

0 Kudos
Message 15 of 16
(156 Views)

@Andy[Ions]+ wrote:

do all string inputs have to be '\'


no

0 Kudos
Message 16 of 16
(146 Views)