LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Yet another chart bug

Yet another Chart bug

I discovered another Chart bug. I would swear that there was nothing like that in LV2009 but I might be wrong.
To sum it up - the chart does not update with new values if the program is busy. As soon as it is not busy anymore it starts updating again but loosing the data that were not drawn when it was busy. I simulated it by acquiring data from a virtual device (one channel acquisition) and I made it "busy" just by resizing the VI window. The DAQ task is just used to simulate the useful signal and the issue is not related to it since when I write the data to HDD in the same time I can read them later from the HDD and they are not affected by any distortion.

Check the video of the issue here: http://screencast.com/t/sPcKfWWhtuup
Attached is the vi I used, you can test it yourself.
Can you verify it somebody?

If it really is a bug I would like to talk to somebody from NI. We purchased a commercial license of LabVIEW for our university to be able to deliver some software solutions for our experiments. Now is time to renew the SSP and with these bugs we keep discovering we actually cannot do our work!!! Plus they have not been fixed over the past two years.

So far we discovered following bugs with no workaround available: 
Thanks!
LV 2011, Win7
Message 1 of 12
(2,868 Views)

Hi,

You said "LV 2010, Win7", and I say : No !

Your video seems to show an old windows (not seven !), and your Vi is 2011...

 

Best regards,

V-F
0 Kudos
Message 2 of 12
(2,845 Views)

@ceties wrote:
Yet another Chart bug
...

If it really is a bug I would like to talk to somebody from NI. ...
 
I have to do a song and a dance to explain some of the chart bugs myself and would very much like to see them fixed as well!
 
This is what I recomend.
 
Contact your local NI rep and dump on them big-time about how you feel. Tell them that you are questioning staying with LV and that the sale of further licences are in jeopardy. Ask them to lean on whoever to get it fixed.
 
It is amazing how fast you can get attention when a potential sale is in question.
 
I'm on your side.
 
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 12
(2,842 Views)

@Ramses64: I just have not updated my automatic signature. I am using LV2011 on Win7(just using the oldschool look). 

LV 2011, Win7
0 Kudos
Message 4 of 12
(2,830 Views)

@Ben: Thx Ben, I am gonna do exactly that tomorrow! 

LV 2011, Win7
0 Kudos
Message 5 of 12
(2,828 Views)

Add this and this to your collection (although they are intensity chart bugs).

I think we should be able to vote on or "review" (a la Amazon or any consumer product website) the different LabVIEW functions and objects. Anybody willing to start this project?

0 Kudos
Message 6 of 12
(2,805 Views)

ceties,

 

I hope this helps (http://www.screencast.com/t/01EKBT0gJ). I would keep checking out this page (ni.com/beta) in the next couple of weeks so you can try it out yourself. We are listening to feedback like yours and with your help improving the product. If you run into any other feedback, please make sure and contact us (1-866-ASK-MYNI). We are always here to help. Thanks!

Message 7 of 12
(2,781 Views)

Ahah... LV 2012! But wait, we should have known from the FP that it was a 2012 version (was it not a user request way back then?).

0 Kudos
Message 8 of 12
(2,766 Views)

@G-Money: Hi, I don't exactly understand the video. I see that it is fixed in 2012 but then you show 2011 as well where it seems to be alright as well. Does it mean that in 2011 on your computer it doesn't occur or that there is some fix coming? Thanks

LV 2011, Win7
0 Kudos
Message 9 of 12
(2,749 Views)

Hm, i played around a bit with the example ceties posted.

 

And there are some weird things going on indeed:

1. The logfile seems not to miss data, regardless of this display update behavior.

2. It seems on my machine (Win 7, LV 2011) that changing size of the UI continuously will "reset" the history from time to time (randomly).

3. The chart does work differently if not using a simulated DAQ device as source. Using the Simulate Signal (as Grant is using in his screencap) does not show behavior 2. Instead, it simply does not update the visual appearance if the size of the UI is changed continuously.

 

4. Adding the following code into the loop:

CheckHistory.PNG

changes the behavior significantly. The history is not going to be "resetted", but if you continue to change size long enough, you will receive "system out of memory" messages. If this occurs, acknowledging the dialog resets the history and the VI continuous to run as if it was restarted.

 

My assumption on the issue is:

The simulation of the DAQ device does interact with the UI thread effectively fighting for resources with the graphical update of the UI. This leads to those inconsistencies in the graph. In addition to this, there is obviously a buffer (transfer buffer for the chart??) which can overflow if the update is not performed regularily.

Viewing Grants screencap from LV 2012, it seems that the update of the chart is now asynchronous so it is not affected by window resizes anymore. So it should really address all issues stated above.....

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 10 of 12
(2,742 Views)