06-23-2015 09:40 PM
06-24-2015 09:29 AM
It appears writing to the local variable of the table is causing the flicking. If it is writing to the Value property node of the table, the flickering is gone. So maybe writing to local variable force-triggers the front panel update?
06-24-2015 09:49 AM - edited 06-24-2015 09:53 AM
@Leiyuan wrote:
It appears writing to the local variable of the table is causing the flicking. If it is writing to the Value property node of the table, the flickering is gone. So maybe writing to local variable force-triggers the front panel update?
You are feeding us small bits of additional information every time you post... Why don't you provide all relevant information at once?
Is your table a control or an indicator? Why aren't you writing to the terminal directly? How big is the table?
(note that NI decided to make tables controls by default, so you need to change them to indicators for typical use (right-click...change to indicator. If you think this should be changed, vote for my idea here ;)))
It would help us all to gauge the problem if you would just attach a simplified version of your VI. Please do so! Thanks. There are several other settings that could be part of the problem.
06-24-2015 04:11 PM
Here is the sample code.
06-24-2015 04:21 PM
By looking at his VI.
The table is an indicator.
It is only 24 elements , 4 columns by 6 rows.
He is writing to the terminal. It does show some flickering.
There is a 50 msec wait after every 10 updates.
Putting a small decoration over part of the indicator does seem to stop the flickering.
Writing to the Value property mode does seem to stop the flickering.
There is no local variable in the VI, but when I add one, it also flickers.
Deferring front panel updates doesn't seem to help.