LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity Chart Display refresh Bug?

I have already pointed at a bug with Intensity Chart here.

Here might be another one.

The attached VI (I saved and tested it in LV 2010 but that's also true of the LV 2011 version) has a tab control with two pages. The first page has an intensity chart on it, which is displaying some random number and then scrolls when it reaches the end of the time scale. This works fine. However, if you switch back and forth to Page 2 (where there is nothing but a pasted snapshot and a comment), you are supposed to eventually see something like what is shown on page 2:

 

ScreenHunter_001.jpg 

 

that is, a partially blacked out chart. It is a finicky effect, so you have to switch back and forth a few times (adjust your frequency, maybe every couple of seconds, faster, slower). Wait until the chart is filled and has started scrolling to the left before you switch back and forth. Once the effect has taken place, the display continues scrolling to the left, with the blacked out area slowly disappearing... Switching back to Page 2 and back to Page 1 will usually clear up the display. Note that moving a window on top of the FP will not refresh the display, so it does not seem to be a Windows (XP in my case) feature. Or maybe I understimate Windows nuisance capacity...

 

0 Kudos
Message 1 of 19
(3,200 Views)

You forgot to wire the stop button to the stop terminal in stop: Value Change event case!  Had to hit it with a ball bat to stop it.  Edit: OK, you said that.  Who reads the instructions anyway?

 

I see the same effect on my Mac (LV2011).

 

I think that something like this was reported some time ago (maybe 2-3 years?).  It was probably not a intensity chart, but isees somehwat familiar.

 

Maybe it has something to do with the way LV tries to optimize by not updating displays which are not visible.

 

Lynn

0 Kudos
Message 2 of 19
(3,198 Views)

Sorry to have added instructions and comments... What a drag, I know!

Joke apart, I have selected synchronous display, I am expecting the display to be refreshed when I switch to a page view that should give me access to the chart. If this is not a bug, then I don't know where to draw the line in the sand...

I am just trying to exclude a video driver issue.

 

Just due to this object, I have to expect disgruntled user feedback.

0 Kudos
Message 3 of 19
(3,192 Views)

For the reason you cite I agree that this is a bug or at least undesirable behavior.  If users can switch tabs, they have a reasonable expectation that the data displayed on the new tab is up to date.

 

Lynn

Message 4 of 19
(3,188 Views)

Hi X,

 

I ran your example vi and saw the same behavior. I am going to look into the matter and see if this behavior has been seen before. 

 

Regards,

 

Josh Brown

Applications Engineer
National Instruments
Message 5 of 19
(3,170 Views)

Hi X,

 

I was able to determine that this is a bug and I am going to file a CAR with R&D.

 

Regards,

 

Josh Brown 

Applications Engineer
National Instruments
Message 6 of 19
(3,154 Views)

Thanks. As mentioned by others, this things have been around for a long while, so their fixing is overdue...

0 Kudos
Message 7 of 19
(3,151 Views)

Hi X,

 

There is actually a CAR on this issue so R&D is aware of it. In the mean time, here is some example code that provides a workaround for the issue. The work around is to use a property node and a case structure to set the chart as not visible when its tab is not selected.

 

Regards,

 

Josh Brown 

Applications Engineer
National Instruments
Message 8 of 19
(3,139 Views)

All right. What is the CAR number?

0 Kudos
Message 9 of 19
(3,120 Views)

We have got LabVIEW 13.0.1 with SP 1 right now and this bug is still not solved. Is NI working to fix this?

0 Kudos
Message 10 of 19
(2,914 Views)