Watchdog Plugin

Basic controls

When the watchdog is activated, it will launch a background process upon measurement start. Any user action that stops the measurement will also stop the background process. If the measurement is stopped by any other means, the background process will begin a restart procedure.

Advanced controls

The background process creates a number of tasks that can be configured in the Advanced control tab.

Channel task

Creates a status channel that is used by the background process to check if the measurement has stopped. This task cannot be disabled.

  • Watch period: Time in seconds between background measurement checks
  • Retry count: Number of measurement errors detected before the restart procedure is triggered

Data file task

Checks if dxd files (created when storing measurement data in Dewesoft) are being updated.

  • Data file task: Checkbox for enabling the task
  • Data file store path: Path to the data files folder
  • Retry count: Number of data file errors before the restart procedure is triggered

Watchdog restart procedure

The restart procedure is triggered by any task that detects a sufficient number of errors.

  • Start offset: Time in seconds to wait after Dewesoft is stopped or the stop script is executed
  • Stop offest: Time in seconds to wait after Dewesoft is launched or the start script is executed
  • Enable custom reaction scripts: If disabled, Dewesoft is closed, restarted, loads the last setup, and starts measurement automatically. If enabled, custom stop and start scripts are executed instead
  • Start script path: Path to the start script
  • Stop script path: Path to the stop script

Watchdog boot settings

If enabled, creates a script in the startup folder that launches the watchdog background process, starts Dewesoft, and begins measurement on system boot.

Custom task

  • Custom task script path: Path to a script that is executed while the watchdog background process is active. The script can be executed either once per day or once every period
  • Execute daily: Time of the day the script is executed
  • Execute periodically: Interval in minutes between script executions

DFM agent task settings

Checks whether the process “dfm_agent.exe” is running and executes the DFM agent script if it is not.

  • Enable DFM agent task: Checkbox for enabling the task
  • DFM agent script path: Path to the script

Log settings

Path to the log files of the watchdog background process, can be modified.