Page History
...
protecting buffering:
- ideally size the pvQueue so it is "bigger" than the dmaQueue. then deadtime protects
the pvQueue from overflow.
o pvQueue is a low-rate queue, while dmaQueue is high-rate
- 2044 dma buffers +10% (204) for extra firmware buffers
- then we need (2044+204)/350 pvQueue buffers
Resetting Interpolating Encoder Data
Discussion on Oct. 4, 2023 with caf/claus/weaver/cpo
currently: configure launches worker, and the worker "remembers" by default
but Ric currently resets the worker memory on enable (which is good!)
should we "forget" old data under these conditions:
- new run?
- new step?
- enable?
- integrating detector pause? (hard)
propose:
- if it's not too hard, "forget" on every enable (or disable) (fallback: beginstep/ends\
tep)
o doesn't handle the integ-det-pause cause, but that's hard and
we will make that clear to the scientists (eventual solution may be 1MHz encoder)
- turns out ric already does this