driver: Add TenmaSerial power driver and integration support
This patch introduces a new power driver, TenmaSerial, providing control support for Tenma power devices. Integration includes:
- Implementation of TenmaSerial in powerdriver.py
- Exporter and remote client support for the new driver
- Configuration documentation in configuration.rst
- New unit tests added in test_tenmaserial.py
- Minor updates to pyproject.toml and man pages
This initial draft enables basic functionality and lays the groundwork for full Tenma device intration
Description
This pull request aims to provide initial support for the Tenma power supply, which is controlled via USB. To accomplish this, we created the TenmaSerialDriver in labgrid/driver/powerdriver.py, as well as other necessary components. Our goal is to create an interface between the Tenma Serial Python package and Labgrid. We used the Tenma 72-2540 device and created the tests/test_tenmaserial.py test to check the functionality.
Checklist
- [x] Documentation for the feature
- [x] Tests for the feature
- [x] The arguments and description in doc/configuration.rst have been updated
- [x] PR has been tested
- [x] Man pages have been regenerated
Codecov Report
:x: Patch coverage is 56.79012% with 35 lines in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 55.6%. Comparing base (ae2f2a5) to head (094fbc1).
:warning: Report is 40 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #1717 +/- ##
======================================
Coverage 55.6% 55.6%
======================================
Files 172 172
Lines 13495 13575 +80
======================================
+ Hits 7514 7560 +46
- Misses 5981 6015 +34
| Flag | Coverage Δ | |
|---|---|---|
| 3.10 | 55.6% <56.7%> (+<0.1%) |
:arrow_up: |
| 3.11 | 55.6% <56.7%> (+<0.1%) |
:arrow_up: |
| 3.12 | 55.6% <56.7%> (+<0.1%) |
:arrow_up: |
| 3.13 | 55.6% <56.7%> (+<0.1%) |
:arrow_up: |
| 3.9 | 55.7% <56.7%> (+<0.1%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.