• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

simonsobs / socs / 10964801417
38%

Build:
DEFAULT BRANCH: main
Ran 20 Sep 2024 07:18PM UTC
Jobs 1
Files 146
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Sep 2024 06:59PM UTC coverage: 36.886% (-0.03%) from 36.913%
10964801417

push

github

web-flow
Add support for direct Ethernet SCPI PSU Agent  (#715)

* Add support for direct ethernet connection to Keithley PSUs, in addition to using the Prologix GPIB-to-ethernet adapter.

* Installing pre-commit and fixing all files with 'pre-commit run --all-files'

* Moving all direct-ethernet-connection changes from prologix_interface.py to drivers.py; adding new ScpiPsuInterface class to implement drivers for SCPI PSUs that can be connected to directly by Ethernet.

* Fixing issues with parsing output from Keithley 2280S-60-3; fixing
problems related to number of channels being different for different
models of PSU.

* Adding '--mode' : 'acq' to the ScpiPsuAgent to enable automatic
acquisition of current and voltage measurements as found in other device
agents.

* fixing issue with psu agent container crashing when attempting to measure when the output channel is off

* Fixing issue related to Setuptools v71 issue #4483; fixing issue where
PSU container would crash when attempting to measure when the output was
disabled.

* Fixing issue with data feed output corrupting influxdb when acq mode used with PSU output disabled.

* Adding PSU agent tasks for getting the output state, voltage
measurements, and current measurements of each channel of the PSU for
use by client scripts.

* Making initial round of changes based on responses to PR #715

* Adding comments to explain the existence of the error code definitions
for the 2280S power supplies.

* Changing output of get_output() to match the other get* functions.

* Fixing issue with call to _initialize_module() in init timing out due to
multiple connection attempts.

* Removing the call to super().__init__(**kwargs) from the
ScpiPsuInterface constructor.

* Start PSU tests in 'init' mode

This was the expected mode before 'acq' became the default. Fixes an issue with
the init test.

* Add expected response to channel enabled query in test

* Add ability to set l... (continued)

71 of 196 new or added lines in 2 files covered. (36.22%)

8 existing lines in 2 files now uncovered.

6011 of 16296 relevant lines covered (36.89%)

0.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
50
65.83
-16.78% socs/agents/scpi_psu/agent.py
75
45.03
-34.97% socs/agents/scpi_psu/drivers.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
45.03
-34.97% socs/agents/scpi_psu/drivers.py
6
65.83
-16.78% socs/agents/scpi_psu/agent.py
Jobs
ID Job ID Ran Files Coverage
1 10964801417.1 20 Sep 2024 07:18PM UTC 146
36.89
GitHub Action Run
Source Files on build 10964801417
  • Tree
  • List 146
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cf13d183 on github
  • Prev Build on main (#10888037854)
  • Next Build on main (#11022101389)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc