Versions Compared

Key

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

...

Camera Watchdog monitors the statuses of the FACET Profile Monitors, SIOCs, and POE Hubs, and attempts to revive cameras that become disconnected.

Bugs/Issues

Sometimes after an SIOC goes down, even if it comes back, the cameras on that SIOC get stuck on State 5 (purple lamps). Jiggling or rebooting cameras doesn't seem to help. Restarting the Watchdog usually fixes this issue.

Key Features

  • The Camera Watchdog creates Camera objects in MATLAB for each FACET Profile Monitor. Each Camera object stores data such as the Camera's name, location, and the number of times a reboot has been attempted.
  • The Camera Watchdog also creates SIOC objects and POEHub objects for the relevant SIOCs and POE Hubs.
  • Each Camera assigns itself a State based on its Connection status, Acquisition status (Acquiring or Idle), Trigger Mode (Sync in 1 or Free Run), and Array Rate (zero or nonzero). The State is updated any time one of these PVs changes.
  • If the Camera is in a disconnected State, it attempts to revive itself and the Reboot Count goes up by 1.
  • Once a day, the Camera Watchdog creates a report and saves it to a MAT file.

...