05-26-2009 05:24 PM
Hi,
I follow the post by Dennis, but now, memory leak occurs.
77samples/secondes * 60s * 30 minutes = 138600. X 4 signals = 555 000 datas in an array.
Maybe you could send me a good example that will support as many points with the XY graph.
The way I tried is using shift registers. So when the table is too big, it makes the system slower and affect data acquisition and real time sampling.
Any idea?
Best resgards
05-27-2009 09:22 AM
That's not a memory leak. The behavior you see is expected when you use shift registers and the build array uncontrollably. Your option is to limit the amount of data you display much like a chart does. There is an example called XY Chart.
05-27-2009 09:41 AM
Thanks Dennis,
I'll try this and give you a feedback about the results.
I also change the way to build the array. I brake the VI called: "BUILD XY". I use the section I need to build the array. So now, I have only Lenght and Corresponding Y logged in the array. The min and max Limits aren't recorded anymore. I use 2 cursors programmatically set.
Do you know if the buffer can do this:
Display the last segment of datas during data acquisition. (example the last 400 values)
Display all the points since the acquisition started at the end of the acquition. (100% or 200000 datas)
Best regards,