dodal.devices.oav.oav_to_redis_forwarder.OAVToRedisForwarder#

class dodal.devices.oav.oav_to_redis_forwarder.OAVToRedisForwarder[source]#

Forwards OAV image data to redis.

To use call:

bps.kickoff(oav_forwarder)
bps.monitor(oav_forwarder.uuid)
bps.complete(oav_forwarder)

Reads image data from the MJPEG stream on an OAV and forwards it into a redis database. This is currently only used for murko integration.

Parameters:
  • prefix (str) – The PV prefix of the OAV.

  • redis_host (str) – The host where the redis database is running.

  • redis_password (str) – The password for the redis database.

  • redis_db (int) – Which redis database to connect to, defaults to 0.

  • name (str) – The name of this device.

  • oav_roi (OAV)

  • oav_fs (OAV)

Methods

complete()

kickoff()

stop([success])

Attributes

DATA_EXPIRY_DAYS

TIMEOUT