Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Watchdog timeout with SlowSequence scan


geometrikal May 27, 2010 05:17 AM

I recently moved some code into a slow sequence scan. Now every time the slow sequence scan runs I get a watchdog error and the system restarts.

The logger is a CR1000 with OS19
Main scan is 10 minutes
SlowSequence scan is 60 minutes

Shorter lengths of time for the scans, eg. 1 min / 5 mins do not seem to have the problem.

Here is some test code that exhibits the issue:

Public IntTemp
Public batt_volt
Public status As String * 100

DataTable (SensorData,1,-1)
DataInterval (0,10,Min,10)
Minimum (1,batt_volt,FP2,0,False)
Sample (1,IntTemp,FP2)
Sample (1,status,String)
EndTable

BeginProg
PPPClose()
status = "STARTUP."

PortsConfig (&B11111111,&B11111111)

Scan (10,Min,0,0)
PanelTemp (IntTemp,250)
Battery (batt_volt)
PortSet (1, 1)
Delay(0,10,Sec)
PortSet (1, 0)
status = status + ".SC."
CallTable SensorData
NextScan

SlowSequence
Scan (60,Min,0,0)
PortSet(2,1)
Delay(0,10,Sec)
PortSet(2,0)
status = status + ".SS."
NextScan
EndProg


One other issue is that the SlowSequence doesnt run on the hour, it runs at 10 minutes past the hour.


Any ideas?

Edit: More info - if I remove the PortSet and Delay commands from the SlowSequence the watchdog doesn't time out.

Edit 2: 5 mins main scan 10 mins slow scan are the shortest time intervals i can get with the problem...

* Last updated by: geometrikal on 5/27/2010 @ 2:29 AM *


Grant Jul 24, 2010 12:17 AM

I just noticed in the latest version of the OS (OS20).

Point 27 says # Fixed Slow sequence scan in pipeline mode when running with a main scan that has a long scan interval (~10min) causing watchdog when the slow scan executes.

Could that be the fix to your issue?

http://www.campbellsci.com/revisions

Log in or register to post/reply in the forum.