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.

...

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


Event

Description

"RESTART_EXCEEDED"

Number of module restart is exceeded

.

"RESTART_PROCESS"

Module restart

.

Operator format to describe actions with the system restart service is:

...

List of commands and parameters for the SSS_WATCHDOG object is presented in the following table:

Commandcommand 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:

  1.  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>")
    }

...