[INSTRM-1744] Pull BEE ADIO control (gatevalve/SAM power) out into own actor. Created: 05/Oct/22 Updated: 21/Jul/23 |
|
| Status: | Open |
| Project: | Instrument control development |
| Component/s: | ics_xcuActor |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | NIR, SPS, near-term | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Story Points: | 2 |
| Description |
|
Control of the gatevalve and SAM power is done via a kernel module and a thin cython shim, both in ics_xcu_rtdADIO. When the controlling program (the xcuActor) exits or the device is closed, the H4 DAQ is powered down and the gatevalve is closed. Both of these can be annoying/surprising/troublesome/problematic, especially after a recent change to the SAM/BEE power board. I think factoring the gatevalve and SAM power control off into a tiny and stable actor would help significantly. The interface is tiny: we are flipping or reading four bits via very few commands (sam on/off/status, gatevalve open/close/status). |
| Comments |
| Comment by cloomis [ 20/Jul/23 ] |
|
Bump, due to twice cooling n3 ASICs to failure. An alternate fix might be to modify the kernel driver to not clear ADIO bits when user connections close. Why not just leave them as is? I'll look at the code. |
| Comment by cloomis [ 21/Jul/23 ] |
|
Take that back: I'm not touching the kernel driver. |