09-05-2014 04:53 PM
Is anyone aware of different memory management for VIs in the "hidden" (vs. the "standard") front panel state? I have a subVI that has a waveform chart on it. It acquires data and plots it in the waveform chart. There's a lot of data there, the chart history is 1024 waveforms and each one is 1/4 second of data at 125kHz. When the VI's front panel is in Standard, it's fine. When I change it to Hidden, it becomes very CPU and memory intensive, enough to bog down the entire application until it crashes. If I remove the chart, it runs fine when hidden.
This is in LV2013 SP1. I've had trouble getting the same result in a stripped-down VI using the waveform generator VIs. If I can, I'll post one.
Thanks,
09-05-2014 06:58 PM
09-07-2014 07:52 PM
Hi Mike,
The chart's terminal is the only interaction. There are no local variables, no implicit or explicit property nodes, no references of any kind. The terminal just keeps getting fed more data in every iteration of the loop. Unless it's doing something really weird, I don't know that there are any other interactions.
This same problem occurs in both the development environment and a compiled executable.
This is LabVIEW 2013, SP1.
I haven't had time to set up a dynamic launch situation or a test VI that behaves the same way, but even just putting the terminal in a diagram disable structure makes the problem go away.
Thanks for the suggestions. Let me know if you can think of anything else.
09-08-2014 06:11 PM
Do you have any front panel objects that are overlapping? Although it wouldn't account for the delay all by itself, it would be one thing to check since this situation can cause a significant drop in performance.
09-09-2014 09:12 AM
Hi Michael,
Nothing overlaps, but the chart IS on one page of a tab control, if that counts.
Thanks
09-09-2014 09:31 AM