Patch Release v4.11.8
Pull Requests Since v4.11.7
Bug
- #777 - Queue: fix bug when calculating the busy status (for version v4)
Enhancement
- #778 - Fifo: Expose status information to python (for version v4)
Pull Request Details
Queue: fix bug when calculating the busy status (for version v4)
Author: | Ryan Herbst [email protected] |
Date: | Tue Apr 20 09:32:23 2021 -0700 |
Pull: | #777 (2 additions, 2 deletions, 1 files changed) |
Branch: | slaclab/ESROGUE-497-2 |
Jira: | https://jira.slac.stanford.edu/issues/ESROGUE-497-2 |
Labels: | bug |
Notes:
This bugs make a Queue object, and therefore a Rogue Fifo object, to hold one more data point than the maximum requested.
Same changes as #775 but rogue version v4.
Fifo: Expose status information to python (for version v4)
Author: | Ryan Herbst [email protected] |
Date: | Tue Apr 20 09:32:46 2021 -0700 |
Pull: | #778 (123 additions, 15 deletions, 4 files changed) |
Branch: | slaclab/ESROGUE-498-2 |
Issues: | #778 |
Jira: | https://jira.slac.stanford.edu/issues/ESROGUE-498-2 |
Labels: | enhancement |
Notes:
This PR exposes some useful status information from a Fifo device to python. The information exposed is:
- The maximum depth of the fifo,
- Current number of elements in the fifo, and
- The number of dropped frames, with a clear command.
Additionally, a python wrapper for the C++ class was added.
Finally, a couple of optimization were added as well:
- Use member initializer list for the Fifo C++ class, which offer a better performance when creating the objects, and
- Add a missing
delete
to match thenew
operator, in order to avoid leaking the memory.Same changes as #776 but for rogue version v4.