LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Appending a table with periodic array data

Hello,

I am working on an application where I am reading in several variables through the serial port. The variables come in as a string of 4 integers delimitated with a [space] and ended with a carriage return. The loop then outputs the data as a single string and then is separated into its separate parts. I would like this data (currently 4 integers) to be appended to a table of 4 columns and n rows (n should increment by 1 each time data is raceived as the new data is appended). I have looked at several examples of "similar" things but I am having a difficult time getting it to work. Please see the attached file. Thank you much in advance!
Gregory Osenbach
0 Kudos
Message 1 of 3
(2,583 Views)
Use the "insert into array function" and place it in a case structure in the main loop. Every time the aquisition loop sees a carriage return (indicating data aquisition complete), append your new data to the array. Hope the attached example is what youre looking for.
0 Kudos
Message 2 of 3
(2,583 Views)
Yes, That helps very much. Thank you.
Gregory Osenbach
0 Kudos
Message 3 of 3
(2,583 Views)