04-06-2010 10:27 AM
Hi Dennis,
Yes, I guess I shouldn't say it's a memory leak, but when the memory use goes from 100k to 1 gig, it sure looks like one.
Were you referring to the Chart Buffier vi that is in that example? I just now tried to use it but it seems to not like my double array or even the graph data cluster as inputs. Also, it appears to be related to chart history lenght, which I have set to 1k and would assume it would perform the same way, throwing out unused data?
Is there a way to reset an array to zero elements and start writing to it again? I've never seen that done.
Why is this so DIFFICULT to do in Labview? I can easily get the year 1903 or 1904 but those were pretty crummy years!
Thanks again for all your help.
John
04-06-2010 11:45 AM
Sorry, but I did not even look at your VI. I just responded to a problem with a build array and forgot that my example was not using an XY Graph.
You really do not need the build array in your example. Since you are using a chart and it is regulary sampled, you just need to correctly set the x axis. The example you want to look at is called Real Time Chart.
Charts and Grapsh do not automatically get the current date and time. It is something that you have to provide. In the earlier example, this is done with using the waveform data type. If you don't want to use that, then writing to the chart's property nodes like in the Real time Chart example is the way to go.
04-06-2010 12:17 PM
04-06-2010 12:38 PM
04-06-2010 01:00 PM
04-06-2010 01:06 PM