ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to input data into a table with columns?

I am trying to input data into a table.  My table have 5 columns and an unlimited amount of rows.  I created a program in LabView that enters the data into the table but it enters all of the data in one row.  I would like to enter the first set of information into the first column, the second set of info into the second  column and so on.  I am including a copy of the program that I am working with.  I would like the number of runs to be put into the first column (it should count down like number 5 in first row, number 4 in second row, number 3 in third row, and so on).  I would like the applied voltage to be placed in the second column, and so on.  Any help or information will be greatly appreciated.  I am working with LabView Version 6.1 and 8.0.  I am submitting the vi from 6.1. 
0 Kudos
Message 1 of 7
(4,538 Views)
As far as I know, you're only able to set specific cell values using Property Node->Active Cell, and then Invoke Node->Set Cell Value.  You could do this in a loop with relatively little extra code.

If there is another way, someone say so!
0 Kudos
Message 2 of 7
(4,532 Views)
Pondered,
I looked at your code and I think you might be making things too complicated. I've included a very simple example that demonstrates how to write a 2D array of integers to a table. Hope you find this helpful. It is in LV 7.1.
 
Chris C
0 Kudos
Message 3 of 7
(4,511 Views)
I tried opening the program but I only have LabView 6.1 and LabView 8.0. 
0 Kudos
Message 4 of 7
(4,500 Views)
Is there a way to change the dimensions of a table?  I am trying to enter 3-d array of data to the table but the table is only one dimension.  Is there a table that is more than one dimension. 
0 Kudos
Message 5 of 7
(4,497 Views)
Eventually, I would like my table to look like:
 
 
 
 
Runs         Applied Voltage       Current       Etc
   4                      4                          3                 
   3                      4                          3
   2                      5                          2
  1                       4                          2
 
See above attachment.  Any help is appreciated.

Message Edited by Pondered on 06-27-2006 04:55 PM

0 Kudos
Message 6 of 7
(4,496 Views)
That is a 2D array of data and that is exactly what a table is. Your example is generating a 2D array and not 3D. If you have LabVIEW 8.0, start it up and look at the 7.1 example posted.
0 Kudos
Message 7 of 7
(4,489 Views)