This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+8 more
Summary
AI summaryBroad release touches Rigol DS1054Z Oscilloscope Driver, Bug Fixes, Tests, and Other.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Low |
Adds full SCPI driver for Rigol DS1054Z, MSO1000Z, and DS1000Z oscilloscopes. Adds full SCPI driver for Rigol DS1054Z, MSO1000Z, and DS1000Z oscilloscopes. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Adds 52 unit tests for the Rigol driver covering all SCPI commands and calibration math. Adds 52 unit tests for the Rigol driver covering all SCPI commands and calibration math. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Adds 15 regression tests for the Rigol driver verifying parsing, conversion, and waveform validation. Adds 15 regression tests for the Rigol driver verifying parsing, conversion, and waveform validation. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Adds `docs/supported_instruments.md` listing all 21 supported instrument drivers across 8 brands. Adds `docs/supported_instruments.md` listing all 21 supported instrument drivers across 8 brands. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Adds integration guide `docs/experiments/rigol_ds1054z.md` for connection, channel config, and waveform readout. Adds integration guide `docs/experiments/rigol_ds1054z.md` for connection, channel config, and waveform readout. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Adds standalone example `examples/scope/rigol_ds1054z_waveform.py` demonstrating usage. Adds standalone example `examples/scope/rigol_ds1054z_waveform.py` demonstrating usage. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Updates MkDocs navigation, API reference, index, and README. Updates MkDocs navigation, API reference, index, and README. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Bumps version to 0.5.1. Bumps version to 0.5.1. Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Increases total test count to 327 (307 passed, 12 xfailed, 8 xpassed). Increases total test count to 327 (307 passed, 12 xfailed, 8 xpassed). Source: llm_adapter@2026-07-18 Confidence: high |
— |
| Feature | Low |
Provides basic control: autoscale, clear, run/stop/single, force trigger. Provides basic control: autoscale, clear, run/stop/single, force trigger. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Supports acquisition configuration: type (NORMAL/AVERAGES/PEAK/HRESOLUTION), averages (2^n), memory depth, sample rate query. Supports acquisition configuration: type (NORMAL/AVERAGES/PEAK/HRESOLUTION), averages (2^n), memory depth, sample rate query. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Enables channel configuration (1‑4) with display, coupling, scale, offset, probe, bandwidth limit, invert, units and validation. Enables channel configuration (1‑4) with display, coupling, scale, offset, probe, bandwidth limit, invert, units and validation. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Allows timebase settings: scale (s/div), offset, mode query. Allows timebase settings: scale (s/div), offset, mode query. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Implements edge trigger configuration: source, slope, level, sweep mode, status query. Implements edge trigger configuration: source, slope, level, sweep mode, status query. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Provides waveform readout with Rigol preamble parsing, binary transfer, and calibrated `get_waveform(ch)` returning time‑voltage arrays. Provides waveform readout with Rigol preamble parsing, binary transfer, and calibrated `get_waveform(ch)` returning time‑voltage arrays. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Adds measurement helpers: frequency, duty cycle, Vpp, screenshot. Adds measurement helpers: frequency, duty cycle, Vpp, screenshot. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Implements IEEE‑488.2 commands (*IDN?, *RST, *CLS, *WAI, *OPC?). Implements IEEE‑488.2 commands (*IDN?, *RST, *CLS, *WAI, *OPC?). Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Feature | Low |
Registers the driver via `@register_driver('SCOPE')` with auto‑detection for Rigol IDNs. Registers the driver via `@register_driver('SCOPE')` with auto‑detection for Rigol IDNs. Source: granite4.1:30b@2026-07-18-audit Confidence: low |
— |
| Bugfix | Low |
Fixes flaky test `test_simulated_keysight34461a_dmm` by increasing resistance tolerance delta from 5.0 to 10.0. Fixes flaky test `test_simulated_keysight34461a_dmm` by increasing resistance tolerance delta from 5.0 to 10.0. Source: llm_adapter@2026-07-18 Confidence: high |
— |
Full changelog
What's Changed
Rigol DS1054Z Oscilloscope Driver (Closes #118)
- Full SCPI driver for Rigol DS1054Z / MSO1000Z / DS1000Z series
- Basic control: autoscale, clear, run/stop/single, force trigger
- Acquisition config: type (NORMAL/AVERAGES/PEAK/HRESOLUTION), averages (2^n), memory depth, sample rate query
- Channel config (1–4): display, coupling (AC/DC/GND), scale, offset, probe, bandwidth limit (20M/OFF), invert, units — all with set/get round-trips and input validation
- Timebase: scale (s/div), offset, mode query
- Edge trigger: source, slope (POS/NEG/RFALL), level, sweep mode (AUTO/NORMAL/SINGLE), status query
- Waveform readout: preamble parsing (10-field Rigol format), unsigned WORD binary transfer, calibrated
get_waveform(ch)returning(time, voltage)arrays viaV=(raw-yref)*yinc+yorandt=(n-xref)*xinc+xor - Measurement helpers: frequency, duty cycle, Vpp, screenshot
- IEEE-488.2:
*IDN?,*RST,*CLS,*WAI,*OPC? - Registered via
@register_driver('SCOPE')with factory auto-detection routing for Rigol IDN keywords
Tests
- 52 unit tests (
tests/test_rigol.py) with mocked PyVISA transport covering all SCPI commands, calibration math, boundary validation, and context manager lifecycle - 15 regression tests (
tests/test_regression.py::TestRigolDS1054Z) covering preamble parsing, voltage conversion, time axis generation, channel/acquire/trigger/waveform validation
Bug Fixes
- Fix pre-existing flaky test:
test_simulated_keysight34461a_dmm— bumped resistance tolerance fromdelta=5.0todelta=10.0(noise sigma=2.0Ω, 2.5σ was failing ~1.1% of runs; now 5σ)
Docs
- New
docs/supported_instruments.md— complete list of all 21 supported instrument drivers across 8 brands with compatible model families - New
docs/experiments/rigol_ds1054z.md— integration guide with connection, channel config, waveform readout, and acquisition examples - New
examples/scope/rigol_ds1054z_waveform.py— standalone usage example - Updated mkdocs nav, API reference, index, README
Other
- Version bumped to 0.5.1
- 327 tests total (307 passed, 12 xfailed, 8 xpassed)
Full Changelog: https://github.com/abduznik/instrumation/compare/v0.5.0...v0.5.1
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Instrumation
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]