Skip to content

Commit

Permalink
fix: Update auto-generated command API files to fix various issues. (#72
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nfelt14 authored Oct 26, 2023
1 parent 7be155d commit 8562167
Show file tree
Hide file tree
Showing 112 changed files with 35,245 additions and 4,491 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ ______________________________________________________________________

Things to be included in the next release go here.

### Fixed

- Updated the auto-generated commands for a handful of models to fix various issues

______________________________________________________________________

## v0.1.22 (2023-10-24)
Expand Down
27 changes: 16 additions & 11 deletions src/tm_devices/commands/_1mlt9u_mdomsodpo/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,9 @@ class SelectChannel(ValidatedChannel, SCPICmdWrite, SCPICmdRead):
"""The ``SELect:CH<x>`` command.
**Description:**
- Turns the display of the channel <x> waveform on or off, where <x > is the channel number,
which can be 1-4. This command also resets the acquisition. The query returns whether the
channel is on or off but does not indicate whether it is the specified waveform.
- Turns the display of the channel <x> waveform on or off, where <x > is the channel number.
This command also resets the acquisition. The query returns whether the channel is on or
off but does not indicate whether it is the specified waveform.
**Usage:**
- Using the ``.query()`` method will send the ``SELect:CH<x>?`` query.
Expand All @@ -437,9 +437,12 @@ class SelectChannel(ValidatedChannel, SCPICmdWrite, SCPICmdRead):
- SELect:CH<x>?
**Info:**
- ``ON`` or 1 turns on the display of the specified waveform. This waveform also becomes the
- ``ON`` turns on the display of the specified waveform. This waveform also becomes the
selected waveform.
- ``OFF`` turns off the display of the specified waveform.
- ``1`` turns on the display of the specified waveform. This waveform also becomes the
selected waveform.
- ``OFF`` or 0 turns off the display of the specified waveform.
- ``0`` turns off the display of the specified waveform.
"""


Expand Down Expand Up @@ -569,9 +572,8 @@ def ch(self) -> Dict[int, SelectChannel]:
**Description:**
- Turns the display of the channel <x> waveform on or off, where <x > is the channel
number, which can be 1-4. This command also resets the acquisition. The query returns
whether the channel is on or off but does not indicate whether it is the specified
waveform.
number. This command also resets the acquisition. The query returns whether the
channel is on or off but does not indicate whether it is the specified waveform.
**Usage:**
- Using the ``.query()`` method will send the ``SELect:CH<x>?`` query.
Expand All @@ -587,9 +589,12 @@ def ch(self) -> Dict[int, SelectChannel]:
- SELect:CH<x>?
**Info:**
- ``ON`` or 1 turns on the display of the specified waveform. This waveform also becomes
the selected waveform.
- ``OFF`` or 0 turns off the display of the specified waveform.
- ``ON`` turns on the display of the specified waveform. This waveform also becomes the
selected waveform.
- ``OFF`` turns off the display of the specified waveform.
- ``1`` turns on the display of the specified waveform. This waveform also becomes the
selected waveform.
- ``0`` turns off the display of the specified waveform.
"""
return self._ch

Expand Down
Loading

0 comments on commit 8562167

Please sign in to comment.