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:
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 OAVredis_host (
str
) – str the host where the redis database is runningredis_password (
str
) – str the password for the redis databaseredis_db (
int
, default:0
) – int which redis database to connect to, defaults to 0name (
str
, default:''
) – str the name of this device
Methods
complete
()kickoff
()stop
([success])Attributes
DATA_EXPIRY_DAYS
TIMEOUT