08-24-2017 02:54 PM
Turn the light bulb on and watch it run in execution highlighting mode so that you can see what function results in the out of memory problem.
Ben
08-25-2017 06:52 AM
@DailyDose wrote:
So I have used some of the suggestions (except for the line by line, haven't tried that yet) and have also added area under the curve calc.
Did you accidentally upload your old VI? Because I do not see any changes.
08-25-2017 07:33 AM - edited 08-25-2017 07:34 AM
Your problem appears to be your chart. It has to have values for all of the channels you configured it for in the history. I deleted that, replaced it with a graph, and made some changes like Ben suggested (read 1 line at a time) and here is my final result. It runs just fine on my machine. For the single file, I am uses <200MB of memory.
08-25-2017 07:36 AM - edited 08-25-2017 07:37 AM
Right-click your chart and UNCHECK Transpose array.
With the chart configure to transpose array and the history set for 60,000, LV thinks you are attempting to plot 12,000 plots with a history of 60,000 and that amounts "720,000,000" samples or "5,760,000,000" over 5Gigabytes.
When my son was young he was like many kids and would try things that I warned him not to do but he did it anyway. We now laugh looking back at those times because he would look at me after hurting himself and I would tell him;
Don't DO THAT!
Ben
Edit:
Tim beat me by 2 minutes!