LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I detect system hang up?

Hello

I am providing only my LV project exe as custom shell with Windows Embedded standard 7 operating system.

If my LV program hangs up by chance, then I want to provide option which should automatically detect the system hang up and reset at that point automatically.

I have come to know that it is possible by Watchdog API.

But I don't have the solution.

Please help me if anybody have any idea about this issue.

 

Thank you in Advance!!!!!

0 Kudos
Message 1 of 2
(2,330 Views)

I've done something like that a while ago :

 

In addition to what i had to do, the application was configured to send pulses at a 1Hz rate to an external device (I had a spare digital output line on a Daq board but I don't remember what board it was).

The external device (separate from the PC on wich the application runs) would "cut" the PC's power cable for a second to force the OS (windows 2000 at the time) to restart. The application was set to be started when windows starts.

 

I haven't had to do this for long long time, maybe you have that integrated in some way with a watchdog API...

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 2
(2,320 Views)