03-24-2015 08:40 PM
I want to know how to detect when a computer is shutdown, restarted, put to sleep or hibernate in linux.
I wish to do something before these events occur.
Can someone please tell me how to do this in labview?
If you could please give me an example, I would really appreciate it.
Thanks.
03-25-2015 03:43 AM
03-26-2015 12:47 AM
The following link has an example that uses Windows API to detect a Shutdown Status, It may help you:
Get Windows Shutdown Status (win API):
https://decibel.ni.com/content/docs/DOC-14649
Best Regards
03-26-2015 03:34 AM
Hi David, he mentions Linux in his post as with all the other posts from the same user.