supply_monitor
SupplyMonitor for LV power supply voltage and current.
Classes
|
Monitor class for LV power supply voltage and current. |
SupplyMonitor
- class module_testing.monitors.supply_monitor.SupplyMonitor(module, name='SupplyMonitor', polling_time=1, detect_compliance=True, mode='cc', channel_override=-1, monitor_broker='localhost')
Bases:
Monitor
Monitor class for LV power supply voltage and current.
- __init__(module, name='SupplyMonitor', polling_time=1, detect_compliance=True, mode='cc', channel_override=-1, monitor_broker='localhost')
- Parameters:
name – unique identifier to save results under if requested.
polling_time – wait time (in seconds) between instrument poll events.
detect_compliance – (INTERLOCK) when current/voltage (depending on ‘mode’) reaches 0.99 of the nominal value.
mode – cc or cv mode (constant current or constant voltage)
channel_override – override which channel to monitor on LV power supply; if None, the InstrumentCluster default (default_lv_channel) is used.
monitor_broker – Server to which to send the data to. If ‘’, no server is chosen.
- 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).