05-03-2012 04:31 AM
Hi,
I am triying to color cell of table according to some limits. The VI is attached. Every time "save" button is pressed, the numeric values (act"i") and their limits (max"i", min"i") are written to text file and related table(act"i") cell colored according to "max" ,"min" numerics. I am saving their limits for backward limit analysis of the table each time button is pressed.This provide coloring previous rows according to limits of that time. Even if the limit values change, the previous rows of table colored according to limits of that time.
The vi is working perfectly good. But when text file grows too much the vi slows coloring and writing to file. Is there another efficient way of doing this?
NOTE : When a cell of table colored once it does not change. But When it reads from file it overwrites instead of new row
Thanks in advance,
05-03-2012 04:46 AM
Hi makdag,
"But when text file grows too much the vi slows coloring and writing to file."
Setting a lot of properties is slow. You can always "defer panel updates" for a VI to speed up operations involving a lot of UI work...
05-03-2012 10:28 AM
@GerdW wrote:
Hi makdag,
"But when text file grows too much the vi slows coloring and writing to file."
Setting a lot of properties is slow. You can always "defer panel updates" for a VI to speed up operations involving a lot of UI work...
Hi GredW,
How can I use "Defer Panel Update"? .It gives "Invalid Propery" error when referencing the VI
Thanks
05-03-2012 11:16 AM
@makdag wrote:
@GerdW wrote:
Hi makdag,
"But when text file grows too much the vi slows coloring and writing to file."
Setting a lot of properties is slow. You can always "defer panel updates" for a VI to speed up operations involving a lot of UI work...
Hi GredW,
How can I use "Defer Panel Update"? .It gives "Invalid Propery" error when referencing the VI
Thanks
Sounds like you have not wired a Panel ref to the Defer.
Ben