[INSTRM-2028] Avoid pfilamps status collisions by reading new status log Created: 20/Jul/23 Updated: 04/Aug/23 Resolved: 04/Aug/23 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_pfilampsActor |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Normal |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | EngRun | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The pfilamps allstat command actually invokes that command on the pi. The command actually queries all the hardware. But while running the lamps, the main "process" is also doing that, giving collisions which result in bad data and mangled outputs. When adding the new HgCd control I made the main process write to a status log, with a single line per sample. If the status command just reads from the end of that there will be no collisions. |
| Comments |
| Comment by cloomis [ 04/Aug/23 ] |
|
Done as part of |