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.

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 Camera object is listening for updates from EPICS, so if one of these PVs changes, the Camera updates the State.
  • If the Camera is in a disconnected State, it attempts to revive itself.
  • If an SIOC or POE Hub is down, the Camera Watchdog can be used to revive it.
  • Once a day, the Camera Watchdog creates a report and saves it to a MAT file.

...

4 - The Camera is connected, acquiring, and the array rate is nonzero, but the trigger mode is set to 'Free Run.'

5 - The Camera has an Alarm or its POE Hub is down.


The Camera object is periodically checking for updates from EPICS. If one of the relevant PVs changes, it updates the State. All State updates are recorded in a log file.

...

Name, Model, PV, X Orientation, Y Orientation, Resolution, Exposure, Connection, Serial Number, and Number of Reboots

PyDM GUI

State indicators were added to the PyDM GUI in FACET Home to visually display the state of each profile monitor.

The colors for the indicators are:

State 0 - Green

State 1 - Grey

States 2, 3, or 4 - Yellow

State 5 - Red


Image Added