coldbox_monitor

Monitor for the coldbox. Also possibility to send this to a mqtt server

Classes

ColdboxMonitor(module[, name, ...])

Monitor for a coldbox.

ColdboxMonitor

class module_testing.monitors.coldbox_monitor.ColdboxMonitor(module, name='ColdboxMonitor', max_temperature=60, polling_time=2, monitor_broker='localhost')

Bases: Monitor

Monitor for a coldbox. will trigger the interlock, once the temperature is above a set limit.

__init__(module, name='ColdboxMonitor', max_temperature=60, 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