Closed tacaswell closed 3 years ago
Merging #97 into master will increase coverage by
0.56%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #97 +/- ##
==========================================
+ Coverage 56.61% 57.17% +0.56%
==========================================
Files 13 13
Lines 892 892
==========================================
+ Hits 505 510 +5
+ Misses 387 382 -5
Impacted Files | Coverage Δ | |
---|---|---|
nslsii/_version.py | 44.80% <0.00%> (+1.79%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 18c0632...8eda86b. Read the comment docs.
I also added a commit to make it clear that you need to set the total number of points before the device can be used.
That's an unexpected source of the issue. Nice work on figuring it out!
Can we claim it closes #96?
Following discussion with @jwlodek it looks like pushing erase on every trigger is redundant. The function that gets called internally allocates 0 arrays, pushes them through the AD pipeline and resets the histograms. However, the function called when we push the acquire button also resets the histograms and pushes the newly collected data down epics pipe.
I think this fix should go in before the next push. @tacaswell, are there any concerns left here?
no, I don't think so.
This may break things, but if it does it is because it was already broken we just did not know it!
Thank you!
This has been observed to lock up the IOC for ~2s.
We applied this fix in the profile at BMM with @bruceravel