Hi,
You'll probably have a LabVIEW item in the taskbar that does not disapear
when you close LabVIEW.
My guess is that you have a LV program that uses a lot of reference. Those
references are not closed properly, an LabVIEW needs a (exponentially
growing) time to close them. A reference cannot be closed, if dependancies
(child refs) are open, so every ref needs to be checked against every ref.
The computer will shut down eventually, but could take days (literally).
E.g. You change the title of a VI: Open ref to vi, change the title. Closure
might not seem nessecary, because it is the same VI, but the next time it is
called, the ref is changed, and the old one is still in memory. This is
typpically done in a MMI loop, so memory fills fast. The only thing y
ou can
do, is close all opened references. Thia is very tricky, esp. when you are
using a lot of ActiveX stuff.
You can check if this is what is happening on your system:
+ After you close LV, try starting it again. This sould not succeed
+ Open Task Manager and see if the memory that LV needs grows when running
the VI's. If this is the case, you have a "memory leak". The memory will
grow with anything from 1kB a day to 1.5MB per second, depending on the
situation.
+ If this is happening, the program will run slower and slower. The MMI will
get 'sticky'. After a while you'll hear the hard disk swapping memory, and
finally the system will hang.
+ Check if the system shuts down after running your code shortlly. Check if
the shutdown takes longer when the program has run longer.
Regards,
Wiebe.
"pmital"
wrote in message
news:50650000000800000027690000-1031838699000@exchange.ni.com...
> I am working in Labview 6.1. when I load Labview, work in it and quit
> after some
time, I always face Windows shutdown problem. If I don't
> run Labview, the Computer shuts down perfectly. Please guide me what
> to do.