Showing results for 
Search instead for 
Did you mean: 

How to read in serial data with VISA and store in array

One more thing.  Since you are dealing with raw/binary/hex data, you need to turn off the termination character (Boolean input on the top of the VISA Configure Serial Port needs a FALSE written to it).

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 12

Try something like this:


Not sure that you need to keep all of the previous data active here (save or print/chart it) then start with an empty array for the next set.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 12 of 12