Serge Bazanski
12f6815673
succd: gofmt
2024-09-28 14:27:43 +02:00
zdmx
f5d80a335f
succd: remove redundant if
2024-09-28 11:20:25 +02:00
Serge Bazanski
fbf41203de
succd: do not engage pirani failsafe on startup, as that prohibits restarting succd when the machine runs
2024-09-28 10:23:15 +02:00
Serge Bazanski
dda098f634
succd: early refuse unsafe operations
2024-09-28 10:22:40 +02:00
Serge Bazanski
960be9cd23
succd: rewrite processing loop
2024-09-28 10:17:05 +02:00
Serge Bazanski
3d81a1f56c
succd: roll process_state.go back into process.go
2024-09-28 09:48:50 +02:00
Serge Bazanski
185525ca30
succd: downgrade high pressure lockout message to warning
2024-09-28 09:46:49 +02:00
Serge Bazanski
590e93e43e
succd: log pressures in error messages
2024-09-28 09:46:18 +02:00
Serge Bazanski
451b44e31b
succd: move out processing blocks to separate file
2024-09-28 09:39:44 +02:00
Serge Bazanski
4df00f0a63
succd: factor out ringbuffer, do not recalculate average on every request
2024-09-28 09:35:41 +02:00
Serge Bazanski
8f7ec7e141
succd: split out http server, daemon state, daemon controller
...
This improves the structure of the code, separating the data/control
interface out and then implementing the http interface as a user of this
interface.
2024-09-28 08:10:35 +02:00
Serge Bazanski
776f7a9911
succd: add hysteresis for high pressure safety interlock
2024-09-28 07:36:37 +02:00
Serge Bazanski
239a5c40cc
succd: factor out safety status to separate struct
2024-09-28 07:36:37 +02:00
Serge Bazanski
80f482b732
succd: tristate pirani safety detection
2024-09-28 07:31:06 +02:00
zdmx
908727608a
succd: add safety status to web frontend
2024-09-27 23:49:24 +02:00
zdmx
eb7707f1a0
succd: change safety reset threshold
2024-09-27 23:35:44 +02:00
zdmx
ae9ac4ea0e
succd: reset failsafe only after vent
2024-09-27 23:33:03 +02:00
zdmx
7a64ce91d4
succd: check currentmost pirani values for safety lock
2024-09-27 23:24:55 +02:00
zdmx
9db2213fa6
succd: log rate of change
2024-09-27 23:06:56 +02:00
zdmx
9ad6ce7dad
succd: calcuate change rate for safety interlock directly from adc ringbuffer
2024-09-27 23:02:21 +02:00
zdmx
d3391b28ec
succd: add additional safety interlocks
2024-09-27 22:29:56 +02:00
Serge Bazanski
34ab508b13
succd: add pirani failsafe
2024-09-27 02:24:19 +02:00
Serge Bazanski
6d97eb62a8
succd: implement threshold outputs, rework processing
2024-09-27 02:12:38 +02:00