Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

Code Block
OnEvent("SSS_WATCHDOG","_id_","_event_")

occurs.

Event

Description

"RESTART_EXCEEDED"

Number of module restart restarts is exceeded

"RESTART_PROCESS"

Module restart

...

restart

...

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 up 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.

...