climate_monitor
Monitor for the climate chamber. Also possibility to send this to a mqtt server
Classes
|
Monitor for a climate chamber. |
ClimateMonitor
- class module_testing.monitors.climate_monitor.ClimateMonitor(instruments, name='ClimateMonitor', max_temperature=60, max_rhumidity=80, polling_time=2, monitor_broker='localhost')
Bases:
Monitor
Monitor for a climate chamber. Mainly to give the monitoring out. Interlock functions established, but Climate chamber will not be sent in standby by this.
- __init__(instruments, name='ClimateMonitor', max_temperature=60, max_rhumidity=80, polling_time=2, monitor_broker='localhost')
- Parameters:
name – unique identifier to save results under if requested.
max_temperature – (INTERLOCK) NTC temperature limit; if exceeded, send global abort. Set to None to disable checks.
polling_time – wait time (in seconds) between instrument poll events.
monitor_broker – server to which to send the data to. If ‘’, no server is chosen
To remember: default here is overwritten by dirigent_cli and by the .toml file
- run_one(context, count)
Run a single cycle of the monitor.
- Parameters:
context – Monitoring context manager this monitor is attached to.
count – Cycle number (counts sequentially). -> currently not actively used