Skip to content

Add Tektronix DPO7200xx enhancements#7838

Merged
astafan8 merged 18 commits intomicrosoft:mainfrom
bennthomsen:feature/tektronix-dpo
Feb 12, 2026
Merged

Add Tektronix DPO7200xx enhancements#7838
astafan8 merged 18 commits intomicrosoft:mainfrom
bennthomsen:feature/tektronix-dpo

Conversation

@bennthomsen
Copy link
Contributor

@bennthomsen bennthomsen commented Feb 3, 2026

Summary

Extends the Tektronix DPO7200xx oscilloscope driver with acquisition control, cursor measurements, and immediate
measurement capabilities and adds sequence control functionality to the Tektronix AWG70000A driver for improved waveform sequencing.

Tektronix DPO7200xx

  • TektronixDPOAcquisition: Controls acquisition mode (sample, peakdetect, average, high_res,
    envelope), state (ON/OFF/RUN/STOP), and stop conditions

  • TektronixDPOCursor: Cursor positioning for voltage/time measurements with x1/x2 (seconds) and y1/y2 (volts)
    positions

  • TektronixDPOMeasurementImmediate: Immediate measurement functionality with configurable sources and gating

  • TektronixDPOTrigger: Added ready, state, and level parameters

  • TektronixDPOChannel: Added coupling parameter (AC, DC, DCREJECT, GND)

  • Added type annotations for all submodules

Tektronix AWG70000

  • hold: Controls the output condition of a channel while the instrument is in the waiting-for-trigger state. Options: ZERO (0V) or FIRST (first value of next sequence)
  • force_jump(): Forces an immediate jump to a specified step in the sequence (1-16383)
  • set_event_jump(): Configures event-based jumps within a sequence, allowing dynamic sequence control

Checklist

  • Short description included
  • Inline docstrings provided
  • Newsfragment to be added after PR number assigned

- Add hold parameter for channel output condition during wait-for-trigger
- Add force_jump parameter for sequence jumping
- Add set_event_jump method for event-based sequence control
- Add TektronixDPOAcquisition module (mode, state, stop_after)
- Add TektronixDPOCursor module (function, state, x1/x2/y1/y2 positions)
- Add TektronixDPOMeasurementImmediate module
- Enhance TektronixDPOTrigger (ready, state, level parameters)
- Enhance TektronixDPOChannel (coupling parameter)
- Add type annotations for submodules
@bennthomsen bennthomsen requested a review from a team as a code owner February 3, 2026 10:10
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 97.26027% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.94%. Comparing base (61ced51) to head (e1caa50).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
...c/qcodes/instrument_drivers/tektronix/AWG70000A.py 88.88% 1 Missing ⚠️
...c/qcodes/instrument_drivers/tektronix/DPO7200xx.py 98.43% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7838      +/-   ##
==========================================
+ Coverage   59.87%   59.94%   +0.07%     
==========================================
  Files         352      352              
  Lines       31872    31932      +60     
==========================================
+ Hits        19083    19142      +59     
- Misses      12789    12790       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@astafan8
Copy link
Contributor

astafan8 commented Feb 4, 2026

@bennthomsen see also Ci failure - pre-commit hooks need to be run for formatting/linting

@bennthomsen
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a few minor comments otherwise ready for merge

@astafan8 astafan8 added this pull request to the merge queue Feb 12, 2026
Merged via the queue into microsoft:main with commit e174a5c Feb 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants