Watchdog Configuration
Child elements of Watchdog root element
XML elements |
Attributes |
Content |
Number of occurrences |
Description |
Verbose/VB |
Immediate |
EMPTY |
0/1 |
Syntax that the driver uses to generate this XML file. By default, the driver uses the verbose syntax. |
StartupTimeOut/ST |
WriteOnly Immediate |
PCDATA |
0/1 |
Duration of the startup timeout. Expressed in seconds. Value range: [1..65534]. |
ApplicationTimeout/AT |
WriteOnly Immediate |
PCDATA |
0/1 |
Duration of the application timeout. Expressed in seconds. Value range: [0..65534]. Writing 0 disables the application timeout. |
ResetCount/RC |
ReadOnly Immediate |
PCDATA |
0/1 |
Count of watchdog initiated resets. |
ClearResetCount/CC |
WriteOnly Immediate |
EMPTY |
0/1 |
Clears the counter of watchdog initiated resets. |
Setting the application or the startup timeout values will be performed on all boards controlled by the driver.
The ResetCount element reports the maximum value from all boards controlled by the driver.
XML File Examples
<root>/watchdog/config.xml Read operation Verbose mode
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE WatchDog SYSTEM "config.dtd">
<WatchDog version="1.0">
<Verbose Immediate="true"/>
<ResetCount Immediate="true" ReadOnly="true">0</ResetCount>
</WatchDog>
<root>/watchdog/config.xml Write operation Set the application timeout
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE WatchDog SYSTEM "config.dtd">
<WatchDog version="1.0">
<ApplicationTimeOut>2000</ApplicationTimeOut>
</WatchDog>