Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Frequent occurrence of Watchdog Timeout

Hi. I'm using a 7344 card to get one axis to follow a prescribed (relative-contouring) profile and acquiring inputs from four ADCs as regularly as I can. Watchdog timeout errors have started occurring regularly and I do not know why. Any hints ?

 

An onboard programme grabs encoder position plus four ADC values each time through a loop and puts them in buffer. A host programme empties the buffer every 50 cycles (flagged by bit 13 of MCS register). The host programme tops-up the position buffer each time it empties the data buffer. It seems to work perfectly "often" but throws up a timeout error from time to time.

 

 

0 Kudos
Message 1 of 4
(3,827 Views)

Hi,

 

Just to get a better insight into why this is occurring, can you copy the error message here?

 

Thanks

Sheela Sujeeun

Applications Engineer
National Instruments UK
0 Kudos
Message 2 of 4
(3,808 Views)

Hi.  I have now made it go away by getting the host computer programme to wait 2ms before polling the card again. I think perhaps that the card was overpowered by incessant requests to return the MCS register.

 

I do not recall the exact error message but it contained "watchdog timeout error" and the instruction to power-cycle the host computer and to contact National Instruments if the problem persisted. My early theory was that it might have been a thermal thing but it has gone away now anyway. Thanks

 

0 Kudos
Message 3 of 4
(3,801 Views)

Nottingham_SDG,

 

Glad to hear you got things working.  Your solution imlpies you had no timing in your while loop, and therefore causing the loop to run as fast as the processosr would allow.  We recommend that you always put in some timing into a loop to allow your processor time to execute other applications/services.

 

All the best with your application,

Sheela Sujeeun

Applications Engineer
National Instruments UK
0 Kudos
Message 4 of 4
(3,793 Views)