07-23-2014 07:16 AM
I have some numeric dbl data wired to a bundle into cluster and then pass that on to a waveform chart so that I can stack the plots and see each data stream on an independent graph. The vi analyzer is telling me to consider grouping the data into an array to improve performance but if I use build array instead of bundle i lose the stack plots option. What is it I am missing here?
07-23-2014 08:22 AM
So I also had an issue with it. Group the points to an array, build an array again so it is now 2D. When i selected stack plots it did not work. But when you expand the legend it shows all of them stacked correctly.
And here is a document about it:
http://digital.ni.com/public.nsf/allkb/21E8163F259DA2058625703B007511AA
07-23-2014 08:24 AM
oh right the double array setup.
Did you notice that this increased performance at all?
also your link doesnt work.
07-23-2014 09:05 AM
The VIA test is simply warning you that you are possibly wasting a lot of unnecessary CPU time (and The UI Thread) updating the graph or chart with every value. Scalar updates are perfectly acceptable IF the update rate is slower that the human eyeball. Update rates faster than 20 times per second cannot be observed. Period! So, instead of grabing data pt by pt collect it in chunks and update the chart with 50mSec or so worth of data at a time.