10-30-2015 06:07 PM
Hi All,
I have an application which runs 32 parallel tests, these tests are very long (45-60days). There is some sort of memory issue that I am encountering which is causing memory usage to increase by roughly 3-4MB per day.
Here's what i've done so far.
Are there any particulars about TestStand that may be causing this issue? Possibly some setting that I have overlooked?
I am using LabVIEW 2014 SP1 and TestStand 2014 both 32-bit.
Thanks in advance!
11-02-2015 09:00 AM
Hello,
Please tell us more about your application. If you can provide a simplified version of your code it might make it easier for us to test them out. Can you tell me what drivers you are implementing in your TestStand application? Have you been able to pinpoint segments of the code and/or software (i.e. LabVIEW, CVI) in your application that takes a long time executing? Are there sequences that generate large amounts of data? If so, you may want to consider these possibilities:
To solve these types of problems, change the report and/or database options to conserve memory:
Thanks,
11-02-2015 10:52 AM
Hi Jonathan,
Thanks for your response.
For drivers, I am using DAQmx for a PXI system and NI VISA. I have not been able to pin-point the error, but I am fairly certain it comes from a few while loops in the code. The program at a basic level executes while loops repeatedly until some timeout is reached. In these while loops it repeatedly requests data from an LXI PSU.
I have a "background" sequence which constantly polls data from the PXI system. During every loop iteration, this writes to an initialized 64 element numeric array.
I am not using any built-in reporting or database logging. All logging is done via my VI's in LV. I have disabled report generation for every step, and disabled it in "Sequence Properties." I have enabled on-the-fly reporting, but report is disabled in "Results Processing."
I do see the option for Discard Results or Disable Results When Not Required by Model, would this have any effect even though all reporting is disabled?
Thanks!
Andrew