driver/sigrok: add blocking capture methods, misc improvements to sigrok driver
Description
This adds blocking capture methods where capture time or number of samples are specified in advance.
Some of the internals are refactored to allow for code re-use and API documentation is added to clarify the usage of the sigrok driver.
Checklist
- [x] Documentation for the feature
- [x] Tests for the feature
- [x] The arguments and description in doc/configuration.rst have been updated
- [-] Add a section on how to use the feature to doc/usage.rst
- [-] Add a section on how to use the feature to doc/development.rst
- [x] PR has been tested
- [-] Man pages have been regenerated
Also: thanks for writing and maintaining labgrid as a open-source project, it's pretty awesome!
depends on #1346
Please split out the fixes to separate commits, or even better a separate PR.
ok, done
It looks like the documentation requires additional fixes.
I think it should be all fixed now. Sorry about the force pushes, I kept forgetting to sign-off