Uh oh!
There was an error while loading. Please reload this page.
Tektronix DPO7200xx and AWG70000A — Convenience Methods for Waveform Workflows - #7865
Tektronix DPO7200xx and AWG70000A — Convenience Methods for Waveform Workflows#7865Benn Thomsen (bennthomsen) wants to merge 12 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #7865 +/- ##
==========================================
- Coverage 59.94% 58.89% -1.06%
==========================================
Files 352 352 Lines 31933 31978 +45 ==========================================
- Hits 19143 18832 -311 - Misses 12790 13146 +356 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| self.visa_log.debug(f"Response: {response}") | ||
| return response | ||
| def single(self): |
There was a problem hiding this comment.
| defsingle(self): | |
| defsingle(self)->None: |
| ) # This will trigger the actual download of the waveform | ||
| return wfms | ||
| def get_timebase(self) -> tuple: |
There was a problem hiding this comment.
| defget_timebase(self) ->tuple: | |
| defget_timebase(self) ->tuple[str,np.ndarray]: |
| break | ||
| time.sleep(0.1) | ||
| def download_waveforms(self) -> tuple: |
There was a problem hiding this comment.
| defdownload_waveforms(self) ->tuple: | |
| defdownload_waveforms(self) ->tuple[np.ndarray, ..,]: |
If I understand correctly the tuple contains numpy arrays
| """ | ||
| self.write("AWGControl:STOP") | ||
| def upload_seqx(self, seqx_input, sequence_name="seq") -> None: |
There was a problem hiding this comment.
| defupload_seqx(self, seqx_input, sequence_name="seq") ->None: | |
| defupload_seqx(self, seqx_input: notsurewhatthetypeisherepleascheck, sequence_name: str="seq") ->None: |
Benn Thomsen (@benn-thomsen) Thanks, In qcodes we require that the code should contain types for all input and output. I have added comments with most of them but please check that this is correct. |
Adds convenience methods to the Tektronix DPO7200xx oscilloscope and AWG70000A waveform generator drivers to
streamline triggered acquisition and sequence upload workflows.
Files changed: 4 files, +133 / −2 lines
##DPO7200xx Oscilloscope
(DPO7200xx.py, +58 lines)
Three new convenience methods on TektronixDPO7000xx:
completes and the trigger is ready (with timeout)
##AWG70000A Waveform Generator
(AWG70000A.py, +26 lines)
One new convenience method on TektronixAWG70000Base:
tracks to channels 1 & 2, enables outputs, and starts playback
Other Changes