LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Defer panel updates causes charts to stop working correcly

I have noticed that if you write data to the "Value" property of a Waveform Chart while the "Defer Panel Updates" property is set to true, the chart never gets updated even if you set "Defer Panel Updates" back to false afterwards.

I have also noticed that if you write the whole plot history to the "History" property of a Waveform Chart while the "Defer Panel Updates" property is set to true, the chart's y-autoscale is disabled.

Both these bugs disappear if data is written to either property while "Defer Panel Updates" is set to false.
0 Kudos
Message 1 of 8
(4,459 Views)

Here is what I notice using LV 8.2.1.  If defer updates is on.  Chart 1 stops,  Turn off defer updates, Chart 1 updates and gets the data that didn't plot before.  (All seems logical.)

On chart 2, defer updates is on.  The data still updates, but autoscale Y does stop.  Turn off defer updates, autoscale Y turns back on again.  What isn't logical is that the chart still plots data while the defer updates is on.

Message 2 of 8
(4,436 Views)
Ravens (aka bad guys) Fan wrote "What isn't logical is that the chart still plots data while the defer updates is on."
 
This sounds like a bug we ID'd already were XControls do not pay attention to the panel defer (This another reason I am convinced that the new graphs and charts were implemented as XControls).
 
This was discovered in the context of the update rate of charts and graphs.
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 8
(4,415 Views)
Ben,

Is there any way of knowing if NI are working to fix the bug?

Jerred
0 Kudos
Message 4 of 8
(4,413 Views)

See reply #4 in this thread.

Call NI at 800-433-3488 and tell them you think you have a bug that may be related to the car # posted and find out wheh that bug is shceduled to be fixed.

Ben

(ravens fan - I did not 1-star you, but I did fix it)

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 8
(4,402 Views)
I'm not sure you understood what I was describing initially. If you look carefully at the VI attached, even when the button on the front panel enables deferring panel updates, they are still disabled once every loop iteration.

The expected behavior would be for both graphs to update in either situation (button true or false). I attached the same VI but modified to write the value of i to a numeric indicator as well. This should clarify the problem.
0 Kudos
Message 6 of 8
(4,396 Views)


@Ben wrote:
Ravens (aka bad guys) Fan wrote "What isn't logical is that the chart still plots data while the defer updates is on."
 

Smiley Tongue

I was just talking with some people from Pittsburgh yesterday about the sack that Bart Scott made on Big Ben Roethlisberger last year.  Smiley Happy

I was hoping you would notice and appreciate my new icon!Smiley Very Happy  Only 5 more weeks till the season starts!

I don't keep up closely with the bugs thread, and even if I did, I probably wouldn't remember them.  I figured one of the experts such as yourself would have noticed and flagged it as such.  The purpose of my reply was to let the original poster know I was seeing a problem as well.


@Ben wrote:

(ravens fan - I did not 1-star you, but I did fix it)


Thanks.  I actually missed this thread and just stumbled on it again, I must have unclicked the keep me updated with e-mails box.  Since there was nothing particularly good or bad about my original reply worthy of getting a rating, I assume someone must have put in 1 star thinking that 1 meant good.

Message Edited by Ravens Fan on 08-03-2007 03:07 PM

Message 7 of 8
(4,349 Views)
Ben,
 
Just because this picture makes me happy.
 
Just teasing you.  Smiley Wink
 
-Bill
Message 8 of 8
(4,338 Views)