08-21-2009 01:56 PM
Helllo,
I am tring to programmatically change background color of cells in labview table inidcator.
Here is sample VI I wrote
Any ideas?
08-21-2009 02:30 PM
08-21-2009 03:11 PM
Thanks. I got it working myself just after posting. New question, I am doing this inside a subvi and the table
where I am changing active cell colors is connected as an output of the the VI. The cell background color only changes in table of
subVI and not top level VI table. I tried creating VI server reference in top-level and copying that into subvi and using that with no luck?
08-21-2009 04:37 PM
10-31-2011 04:56 PM
Hi to all you.
I did a code like this but my table is 16 columns per 1025 rows, and it is very slow to do it like this.
I tried multiple parallel FOR loops, do it inside a sub VI, visible and SyncDisplay set to False.
But still too slow.
I need to apply about 4 colors depending of the cell values, each cell must be filled with a color.
Any suggestions?
10-31-2011 05:06 PM
You need to defer panel updates.
11-01-2011 02:40 AM
Also, if you're coloring an entire row or an entire column, you can use the value -2 for the active cell to select all of it and color it in a single call. This should appear in the help for the Active Cell property.
11-01-2011 03:27 PM
Thanks for your replies.
Yesterday i started to use defer panel update but seems it didnt worked, i need to try again. I have been busy today, hope in the afternoon i can try again.
11-01-2011 03:47 PM
You need to defer front panel updates on the vi the contains the table. not the vi writing the vi server references properties![]()