labgrid-project / labgrid

Embedded systems control library for development, testing and installation
https://labgrid.readthedocs.io/
Other
343 stars 179 forks source link

driver/sigrokdriver: add channel group parameter #1536

Open nlabriet opened 3 weeks ago

nlabriet commented 3 weeks ago

Add channel group parameter to sigrok devices

Description

Trying to interface Labgrid with a power supply using sigrok, I need to specify the channel group to be used (in my case: -g 1).

Checklist

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Project coverage is 56.5%. Comparing base (0304ec6) to head (d6c5973).

Files with missing lines Patch % Lines
labgrid/driver/sigrokdriver.py 0.0% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1536 +/- ## ======================================== - Coverage 56.5% 56.5% -0.1% ======================================== Files 168 168 Lines 13111 13118 +7 ======================================== + Hits 7417 7420 +3 - Misses 5694 5698 +4 ``` | [Flag](https://app.codecov.io/gh/labgrid-project/labgrid/pull/1536/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project) | Coverage Δ | | |---|---|---| | [3.10](https://app.codecov.io/gh/labgrid-project/labgrid/pull/1536/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project) | `56.5% <42.8%> (-0.1%)` | :arrow_down: | | [3.11](https://app.codecov.io/gh/labgrid-project/labgrid/pull/1536/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project) | `56.5% <42.8%> (-0.1%)` | :arrow_down: | | [3.12](https://app.codecov.io/gh/labgrid-project/labgrid/pull/1536/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project) | `56.5% <42.8%> (-0.1%)` | :arrow_down: | | [3.13](https://app.codecov.io/gh/labgrid-project/labgrid/pull/1536/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project) | `56.5% <42.8%> (-0.1%)` | :arrow_down: | | [3.9](https://app.codecov.io/gh/labgrid-project/labgrid/pull/1536/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project) | `56.5% <42.8%> (-0.1%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=labgrid-project#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.