labgrid icon indicating copy to clipboard operation
labgrid copied to clipboard

driver/sigrok: add blocking capture methods, misc improvements to sigrok driver

Open flxzt opened this issue 1 year ago • 4 comments

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

flxzt avatar Apr 02 '24 10:04 flxzt

Please split out the fixes to separate commits, or even better a separate PR.

jluebbe avatar Apr 02 '24 13:04 jluebbe

ok, done

flxzt avatar Apr 02 '24 13:04 flxzt

It looks like the documentation requires additional fixes.

Emantor avatar Apr 09 '24 12:04 Emantor

I think it should be all fixed now. Sorry about the force pushes, I kept forgetting to sign-off

flxzt avatar Apr 09 '24 13:04 flxzt