LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scan a long string to a spread sheet.

I am a beginner in Labview. I have a problem. I have a very long string
which include 200 numbers seperated by commas. Now I want to put the
number in a spread sheet which is 5 row x 40 cloumns. I would like put
the first 5 numbers in the first row, then the next 5 numbers in the
next row. How can do it without putting 20 scan from string icons on my
program? I tried to use a for loop, but I can't do the iteriation
because I can't put the remaining string back to the input string.
Desperately need help. Thank you a lot.

0 Kudos
Message 1 of 2
(2,238 Views)
Use the spreedsheet string to array function.  You will then have a 200 element array.  Then use the reshape array function and you can make it a 5x40 array
Message 2 of 2
(2,236 Views)