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)

Parameters:
  • prefix (str)

  • redis_host (str)

  • redis_password (str)

  • redis_db (int, default: 0)

  • name (str, default: '')

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) – str the PV prefix of the OAV

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

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

  • redis_db (int, default: 0) – int which redis database to connect to, defaults to 0

  • name (str, default: '') – str the name of this device

Methods

complete()

kickoff()

stop([success])

Attributes

DATA_EXPIRY_DAYS