> I use LABVIEW 5.01 and I have a problem with the application I made.
> This application use a lot of sub VI (Logical I/O, RS232, sequential...).
> When this application is running during many hours (More than 1 Day),
> it's very long to quit the appication. A white screen appears and the CPU
> time
> is used at 100% during 2 or 3 minutes.
> This problem does not appear if the application is run during a short time.
>
> Did somebody already have this problem?
> How to resolve it?
Have you looked at the memory usage of your application? One thing that can
cause this is that your app is making lots of strings or arrays and storing
them into shift registers or globals. When LV quits, it will release them
back to the OS. If you open the Task Manager or a similar vie
wing utility,
you can monitor the memory usage.
Another possibility is that there are lots of open I/O sessions that are not
being closed. Again, on exit, LV will release them back to the OS. These
are a bit harder to find/detect, but they can either be closed when you are
finished with them, or you can open them outside the loop so that fewer of
them are allocated.
Greg McKaskle