Improve the software interlock
I recently re-structured the software interlock code: !1 (merged) . With those changes it is working to first-order, but there are still some improvements that we need to make.
Critical improvements:
- Fix
makeLabRemoteCfg
so that comma at the end of a line doesn't break the json - Push status of SW-interlock into influxdb
- Make
module_NTC
function not hard-coded - Make setup script (in virtual environment need to install labRemote python bindings, influxdb, ...)
- Expand this to work with a box with multi-modules
Nice to have:
- Ramp down HV instead of just turning it off (or is that already handled by power supply?)
- Have separate actions for if quantities are high or low
- Make it so sensors do not need to specify upper/lower warning/cutoff in json config file
- Make it so we don't need to have all lab equipment available to run the SW interlock (i.e. if we are testing digital module, then we might not have HV-PS connected)