Go to documentation repository
Page History
...
The SSS_WATCHDOG object sends events presented in the table. Procedure is started when the corresponding event appears.
Format of events procedure for the System restart service object:
...
occurs.
Event | Description |
RESTART_EXCEEDED |
Number of module |
restarts is exceeded |
RESTART_PROCESS |
Module restart |
Operator format to describe actions with the system restart service is:
Code Block |
---|
DoReact("SSS_WATCHDOG","_id_","_command_" [,"_parameters_"]); |
List of commands and parameters for the the SSS_WATCHDOG object is presented in the following table:
Command |
—command description | Parameters | Description |
"SETUP" |
—set |
parameters for the system restart service |
name<> | Object name |
flags<> | Flags |
restart_period<> | Restart period |
restart_times<> | Maximal number of restarts for the specified period |
timeout<> | Response time |
usb_wd_control<> | Connecting |
AxxonSoft USB Watchdog |
Properties of the SSS_WATCHDOG object are shown in the table.:
Properties of the SSS_WATCHDOG object | Description of properties |
ID<> | Object ID |
PARENT_ID<> | Parent object ID |
Examples of using events and reactions of the SSS_WATCHDOG object:
Activate the third camera on the monitor №5 while module restarting.
Code Block OnEvent("SSS_WATCHDOG","1"," RESTART_PROCESS") { DoReact("MONITOR", "5", " ACTIVATE_CAM", "CAM<3>") }
...