01-01-2009 11:56 AM
Hi Fibo,
I made some significant changes to the Graph/Chart. I have corrected a few bugs in the Buffer VI, but more importantly, I made the scale update "intelligent" : now the graph knows when you want it to scroll and when you focuss your attention on a portion of the data ;).
The trick was to play with the max value of the scale, and compare it to the number of elements already stored in the buffer (x multiplier). If they are close enough, then they are equated, making the graph to behave as a chart. If not, the max value is left unchanged. Simple enough.
However, the whole process is slow, and the graph can't run as fast as a normal chart. That should not be a problem for your application.
I have attached the VIs, save for LabVIEW 8.5. Enjoy !
Happy new year !
01-05-2009 08:25 AM