LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to insert the rows(with diff.data type elemnts in cells) in a table ????

Hello,


           I am inserting the rows one by one  (with  different data type elements) in  a table. I need to display some cells with  colors. But  it is very slow to enter all of my data to table . ( I am  handling  a large data file).
How to get this very fast???????????
For example my table:


           Column 1         Column2                Column 3          Column 4              Column 5

Row 1    1234               my  string1             my string 2          2538                   4242  

Row 2    2343               xyz  string1             my dgfd string    2534                   4262  

Row 3    1244               abc  string               abcd string 2       2538                   4242  

Row 4    1254               fysdg string              my string 2          2638                   4245  

 ……………………..so on

 

Some cells have to be displayed with colors. The color of the cell depends on the element of the cell.
At present I am inserting the rows one by one , so it is easy to display the cells with color immediately after inserting the row . But it is very slow to enter all of my data to table…..

 

How can I do this fast????

 

Will it be faster if  I use diff. arrays for each column?????
...................  then I have to check once again each element of cell  in  the rows  for the color of cell…..!
                 and I need large RAM  to store the data in diff. arrays for each column.
                  As I said already, I have large data .So, Ram may be overflown at some stage ..!


I wait for your suggestion……..thank you
raj

Message Edited by raj1 on 08-23-2005 04:40 PM

0 Kudos
Message 1 of 2
(3,049 Views)
You can use the CVI function -- SetTableCellRangeVals to update table. It works fine.
0 Kudos
Message 2 of 2
(3,038 Views)