Home » Software » FAQ » How long can I run simpleGraph? Where is the data stored?
How long can I run simpleGraph? Where is the data stored?

SimpleGraph uses your computer's RAM to store the data, so the amount of time simpleGraph will run is determined by how fast you are gathering data and the amount of RAM in your computer.  As you gather data your RAM will fill up.  When you clear the graph the RAM is available again.  When your machine starts to run out of available RAM then you will have problems.

You can actually watch this happen using task manager, although it takes quite a while even when using the fastest data rates that LArVa can handle.  If you need to run LArVa for a very long time and are having memory problems, you can:

  • Gather date more slowly by adding a loop delay of 1ms or more ('Setup' tab in SimpleGraph.exe)
  • Slow the communication rate ('Setup' tab in SimpleGraph.exe)
  • Add more RAM to your machine
  • Modify the SimpleGraph VIs using Labview to write a program that saves data to hard disk every once in a while as memory fills up.

The easiest solution is to gather data more slowly.  The best solution is to write a program that does exactly what you need.

The data gathered is rather small compared to the RAM in most computers.  So for a relatively fast acquisition (1 channel, 0 loop delay, 1 point to average, 'fast' communication rate and ADC returning integers) about 10 minutes filled up the RAM by about 50Mb (0.05Gb).  So, a machine with 3GB of RAM (after operating system and running programs) should run out of memory in 10 or 12 hours.  Changing the loop delay from 0ms to 1ms, the acquisition is dramatically slower and the system should run for days.