[INSTRM-1385] Make MCS readouts more efficient: pipe reads to mcsActor w/o going to disk Created: 08/Oct/21 Updated: 21/Nov/21 Resolved: 21/Nov/21 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_mcsActor |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | chyan |
| Resolution: | Done | Votes: | 0 |
| Labels: | EngRun | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||||||||||||||
| Sprint: | PreEngRun4, EngRun3Cleanup | ||||||||||||||||||||||||||||||||
| Description |
|
The canonexp readout and mcs exposure processing take significantly more time than we want, and can be made more efficient. As it stands a single 0.8s exposure takes more than 10s. From looking at the timings, three obvious improvements are:
This ticket addresses the first of these improvements. |
| Comments |
| Comment by chyan [ 26/Oct/21 ] |
|
|
| Comment by cloomis [ 27/Oct/21 ] |
|
The canonexp.c program can at the very least pipe the output to the caller, right? There should be no file writes between the expose command and the generation of the mcs_data, etc. rows. |
| Comment by hassan [ 27/Oct/21 ] |
|
Chi-Hung requires more time to think about this. This will be fixed at the end of this week or early next week. |
| Comment by chyan [ 16/Nov/21 ] |
|
Discussed with Craig couple hours ago, the current low level calls are not easy to transform with Cython. This is because the C program deals with shutter and detector readouts. Also those low level call has to maintain the synchronicity, so that the exposure time will exactly the same. Using Cython is a ultimate goal to do, but we can use standard output as work around. |
| Comment by chyan [ 21/Nov/21 ] |
|
Branch test on telescope and merged to master. Now working on for canon 50M. |