LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

detect shut down

Hi All,

 

I would like to know is there any way to detect pcs shut down event.

 

I have an application that have to be run all the time.I would like to know is there any way to detect the pcs shutdown and if so,i want to save the contents before the system shut down...

 

Thanks in advance...

0 Kudos
Message 1 of 3
(2,704 Views)

If your application is event driven, yes. The Application Instance Close or Application Instance Close? events will fire when a shutdown occurs. You can use them to implement the state saving functionality.

 

Mike..


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 3
(2,694 Views)

Hi..

Thank u for the reply...

 

I didnt get u completely..Can u pls send me a small example to depict this...

 

Save the contents before shut down

 

Thanks again...

0 Kudos
Message 3 of 3
(2,685 Views)