Hello, I had the same problem and...
There are two ways to solve it:
The first is to use SetTableCellAttribute(panel,
CONTOL,cell,ATTR_CELL_VALUE, value ) instead of SetTableCellVal(): is
VERY faster!
The second is to disable the table (with visible attribute)
SetCtrlAttribute (panel, CONTOL, ATTR_VISIBLE, 0);
then you use 20000 or more SetTableCellVal() and then
SetCtrlAttribute (panel, CONTROL, ATTR_VISIBLE, 1);
re-enable the control visibility attr. Doing that in a single callback,
the control NOT disappear until you call ProcessSystemEvents, so the
result is a simple very fast update of your table.
Hoping that will help,
Ciao
Raffaele
Tim Robinson wrote:
> Using SetTableCellVal() in LW/CVI to display about 20000 lines of
> data. But the speed is v
ery slow,how can I improve it?
>
> Thanks