LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing in consecutive columns of a table

Hi everyone,
 
I am relatively new to Labview and trying to write data collected from 20 instruments into a table. I would like to write first 20 readings on the first column of the table, second 20 on the second column and so on. I was thinking of increasing the table index somehow but couldn't figure this out.
 
Any help will be greatly appreciated. Thanks for your help in advance.
 
Melih
0 Kudos
Message 1 of 5
(2,747 Views)
Make a 2D array with 20 readings going into each row.  Then transpose the 2D array.  Like this:

Message Edited by tbob on 10-31-2005 01:22 PM

- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 5
(2,743 Views)

One solution is to use an insert into array node, wiring only the colum index, as in the attached picture.

 

Message Edité par chilly charly le 10-31-2005 09:23 PM

Chilly Charly    (aka CC)
Download All
0 Kudos
Message 3 of 5
(2,741 Views)

Thanks for the quick response. This writes end of the execution. What I would like to do is to read each entry and write it into the table. After completion of 20 readings, start from a new column.

Any suggestion?

Thanks,

Melih

0 Kudos
Message 4 of 5
(2,727 Views)
Use CC's method.  It writes to a column after 20 data points have been generated.
- tbob

Inventor of the WORM Global
0 Kudos
Message 5 of 5
(2,721 Views)