This application is undebuggable.
- It doesn't run without some extra stuff installed (no I won't install an Active X control)
- Its main diagram covers about 10 screens width on my monitor
- It is impossible to understand what this program is doing without hours of research.
This last point will apply to you as well in a few months when you need
to fix that tiny little bug someone has found. A redesign of the entire
application with use of state machines, proper subVI modularization etc
is IMO absolutely mandatory.
So where could be the problem: (in order of chance)
You use an Active X control (or maybe even more) Try to eliminate that
control in a simulation mode and see if it still keeps eating memory.
Most probably it won't!!
You use lvOPC. This has also a chance of eating memory. There have been several memory leaks in lvOPC in the past.
You use globals all over the place. While this won't create memory
leaks in LabVIEW it typically will slow down your application and it
definitely makes an application very difficult to debug and maintain. I
for myself have simply a hard time to manage more than a few globals in
my head and I have decided that I won't try to understand a LabVIEW
program which uses zillions.
Rolf Kalbermatter
Message Edited by rolfk on 07-06-2005 04:29 AM
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390