Difference between revisions of "MC-Basic:WDCYCLE"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Write-Only" to "Write only")
Line 30: Line 30:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only
+
Write only
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 11:04, 20 March 2014

Once a task has been attached to the watch dog mechanism (with the WDINIT), the watch dog must be serviced using WDCYCLE. The watch dog begins to Terminal the task after it is serviced for the first time. Thereafter, WDCYCLE is issued periodically, within the specified cycle time. Otherwise, a Watch Dog fault is generated (1006: “Task Stuck”).

IMPORTANT.svgIMPORTANT
THIS COMMAND IS OBSOLETE

Syntax

WDCycle(<watch dog variable>)

Availability

All versions

Type

<watch dog variable>: Long

Range

The value of the variable is given by WDINIT.

Scope

Task or Terminal

Limitations

Write only

Examples

WdCycle(MyVar)                                       ‘service the watch dog

See Also