Tektronix AWG hardware file update to include the B series of AWGs #180
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tektronix produces the AWG70K series. The old ones are labeled 'A', and there is a newer series labelled 'B'. The current hardware file only allows for the A series. This pull request contains changes to the tektronix_awg70k hardware file to include the B series. Importantly, the new series is basically the same from a hardware standpoint, and the only real difference is the maximum length of loaded waveforms. This is handled by querying the hardware so no changes are necessary to handle the hardware change.
Description
In the hardware file, there are a few if statements which read:
if self.awg_model == 'AWG7000#A' :
I simply changed these if statements to be:
if self.awg_model in ['AWG7000#A', 'AWG7000#B'] :
(where # can be either 1, for the single channel AWGs, or 2 for the 2 channel AWGs).
I also changed the function _has_sequence_mode() to handle the B series of AWGs.
Motivation and Context
This change is required because using the new tektronix AWGs breaks the pulsed gui.
How Has This Been Tested?
This change is relatively minor and so has undergone minimal testing. It should be tested on a setup using the A series AWG before it is released. I have successfully loaded all modules that connect to this hardware without issue.
Types of changes
Checklist:
/docs/changelog.md
.(syntax, indentation, mutable default values, etc.).