DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Filling values into 2D Table

Hi,
   I need to fill data into multiple sheets (through script), each with a 2D Table whose columns and rows are limited to 14 and 16 respectively. The values in these columns will come from channels in the Data Portal. I have taken a rather round-about way to accomplish this. I create a new group and copy 16 values from selected channels into channels in this group. I then fill these values into the table, then create another set of channels for the next 16 values, fill them out into the next sheet and so on. But this is a cumbersome process, especially when the data size is large and I will have hundreds of sheets to fill out. Finally, when I delete the temporary channels, all the data in the tables simply disappears !
I believe there must be an easier way to do this. Could you please enlighten me on this asap?
 
Thanks in advance
Venkatesh Murthy B.L.
0 Kudos
Message 1 of 3
(3,683 Views)
Hi Venkatesh,
 
It is expected behavior in DIAdem for the table data to disappear after the channel data it references has been deleted and the REPORT sheet the table is on is refreshed.  I would suggest instead leaving the raw data where it is and manipulating the start and stop row properties of the table on each REPORT sheet.
 
Here's an example of how this can be done,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,669 Views)
Hi Brad,
    I was able to fill out the table worksheets following the method outlined in your example, and I could do it in a much simpler way than before!  In fact, I had no need to copy the data  channels to a new group at allSmiley Happy
Thanks a ton for solving my problem.
 
Regards
Venkatesh Murthy.
0 Kudos
Message 3 of 3
(3,662 Views)