From ea79a9f2fc6b98be3fe1032a2ca0b335353c8dc1 Mon Sep 17 00:00:00 2001 From: "GANESH.V" Date: Wed, 31 Jul 2024 11:23:16 +0530 Subject: [PATCH] feat: Added SourceXpress API support and AWG defects fix. --- CHANGELOG.md | 8 + README.md | 5 +- docs/glossary.md | 3 + docs/macros.py | 1 + .../signal_generators/awgs/awg70k_example.py | 29 + src/tm_devices/commands/awg5200_commands.py | 27 +- src/tm_devices/commands/awg70ka_commands.py | 25 +- src/tm_devices/commands/awg70kb_commands.py | 25 +- src/tm_devices/commands/dpo2k_commands.py | 33 +- src/tm_devices/commands/dpo2kb_commands.py | 33 +- src/tm_devices/commands/dpo4k_commands.py | 31 +- src/tm_devices/commands/dpo4kb_commands.py | 31 +- src/tm_devices/commands/dpo5k_commands.py | 16 +- src/tm_devices/commands/dpo5kb_commands.py | 16 +- src/tm_devices/commands/dpo70kc_commands.py | 16 +- src/tm_devices/commands/dpo70kd_commands.py | 16 +- src/tm_devices/commands/dpo70kdx_commands.py | 16 +- src/tm_devices/commands/dpo70ksx_commands.py | 16 +- src/tm_devices/commands/dpo7k_commands.py | 16 +- src/tm_devices/commands/dpo7kc_commands.py | 16 +- src/tm_devices/commands/dsa70kc_commands.py | 16 +- src/tm_devices/commands/dsa70kd_commands.py | 16 +- .../commands/gen_163n04_mdo/search.py | 6 +- .../commands/gen_16x4xq_mdo/search.py | 6 +- .../commands/gen_1kdqwg_mdo/search.py | 6 +- .../commands/gen_1kozfv_dpo/search.py | 6 +- .../commands/gen_1lcv3a_msodpomdo/message.py | 6 +- .../commands/gen_1lh2st_msodpo/search.py | 6 +- .../commands/gen_1ltpwt_mdomsodpo/alias.py | 6 +- .../commands/gen_1ltpwt_mdomsodpo/bus.py | 12 +- .../commands/gen_1ltpwt_mdomsodpo/ch.py | 6 +- .../gen_1ltpwt_mdomsodpo/horizontal.py | 6 +- .../commands/gen_1mlt9u_mdomsodpo/acquire.py | 6 +- .../gen_1mlt9u_mdomsodpo/measurement.py | 6 +- .../commands/gen_1mlt9u_mdomsodpo/select.py | 6 +- .../commands/gen_1nmc1o_msodpomdo/header.py | 55 - .../commands/gen_1nmc1o_msodpomdo/verbose.py | 49 - src/tm_devices/commands/gen_1zn03_mso/bus.py | 6 +- src/tm_devices/commands/gen_1zn03_mso/dch.py | 18 +- .../commands/gen_1zn03_mso/display.py | 96 +- .../commands/gen_1zn03_mso/horizontal.py | 6 +- src/tm_devices/commands/gen_1zn03_mso/math.py | 24 +- .../commands/gen_1zn03_mso/measurement.py | 12 +- src/tm_devices/commands/gen_1zn03_mso/ref.py | 18 +- .../commands/gen_1zn03_mso/saveon.py | 18 +- .../commands/gen_1zn03_mso/search.py | 12 +- .../commands/gen_2i1z2s_awg/awgcontrol.py | 14 +- .../commands/gen_2i1z2s_awg/clock.py | 6 +- .../diagnostic.py | 14 +- .../commands/gen_2i1z2s_awg/instrument.py | 4 +- .../commands/gen_2i1z2s_awg/mmemory.py | 8 +- .../commands/gen_2i1z2s_awg/output.py | 28 +- .../commands/gen_2i1z2s_awg/source.py | 14 +- .../commands/gen_2i1z2s_awg/synchronize.py | 216 ++- .../commands/gen_2i1z2s_awg/trigger.py | 8 +- .../commands/gen_2i1z2s_awg/wlist.py | 4 +- .../commands/gen_32dszm_awg/diagnostic.py | 4 +- .../commands/gen_32dszm_awg/sequence.py | 34 +- .../commands/gen_32dszm_awg/system.py | 18 +- .../commands/gen_3n9auv_awg/connectivity.py | 329 +++++ .../commands/gen_3n9auv_awg/output.py | 4 +- .../commands/gen_3n9auv_awg/slist.py | 112 +- .../commands/gen_3n9auv_awg/wplugin.py | 11 +- .../commands/gen_3rs8qy_awg/awgcontrol.py | 25 +- .../commands/gen_3rs8qy_awg/bwaveform.py | 110 +- .../commands/gen_3rs8qy_awg/clock.py | 11 +- .../commands/gen_3rs8qy_awg/diagnostic.py | 1243 +++++++++++++++++ .../commands/gen_3rs8qy_awg/instrument.py | 4 +- .../commands/gen_3rs8qy_awg/mmemory.py | 29 +- .../commands/gen_3rs8qy_awg/output.py | 36 +- .../commands/gen_3rs8qy_awg/source.py | 15 +- .../commands/gen_3rs8qy_awg/system.py | 11 +- .../commands/gen_3rs8qy_awg/trigger.py | 12 +- .../commands/gen_3rs8qy_awg/wlist.py | 71 +- .../commands/gen_3skc3w_dpo/trigger.py | 12 +- .../commands/gen_3tjgb2_dpo/trigger.py | 12 +- .../commands/gen_4jiykk_dpo/counter.py | 6 +- .../commands/gen_4jiykk_dpo/errordetector.py | 18 +- .../commands/gen_4jiykk_dpo/rosc.py | 6 +- .../commands/gen_4jiykk_dpo/trigger.py | 12 +- .../commands/gen_561g9r_mso/trigger.py | 12 +- .../commands/gen_5vmwut_dpodsamso/trigger.py | 12 +- .../gen_5xwdsk_dpodsamso/errordetector.py | 24 +- .../commands/gen_5yyb4r_mso/trigger.py | 12 +- .../commands/gen_e3e9uu_lpdmso/acquire.py | 6 +- .../commands/gen_e3e9uu_lpdmso/bus.py | 6 +- .../commands/gen_e3e9uu_lpdmso/display.py | 114 +- .../commands/gen_e3e9uu_lpdmso/horizontal.py | 24 +- .../commands/gen_e3e9uu_lpdmso/math.py | 24 +- .../commands/gen_e3e9uu_lpdmso/measurement.py | 18 +- .../commands/gen_e3e9uu_lpdmso/pilogger.py | 6 +- .../commands/gen_e3e9uu_lpdmso/plot.py | 18 +- .../commands/gen_e3e9uu_lpdmso/ref.py | 18 +- .../commands/gen_e3e9uu_lpdmso/saveon.py | 18 +- .../commands/gen_e3e9uu_lpdmso/search.py | 12 +- .../commands/gen_fk3z56_dpodsamso/acquire.py | 6 +- .../commands/gen_fk3z56_dpodsamso/ch.py | 6 +- .../commands/gen_fk3z56_dpodsamso/cursor.py | 6 +- .../commands/gen_fk3z56_dpodsamso/data.py | 6 +- .../commands/gen_fk3z56_dpodsamso/diag.py | 18 +- .../commands/gen_fk3z56_dpodsamso/display.py | 74 +- .../commands/gen_fk3z56_dpodsamso/email.py | 24 +- .../commands/gen_fk3z56_dpodsamso/fastacq.py | 12 +- .../commands/gen_fk3z56_dpodsamso/hdr.py | 4 +- .../gen_fk3z56_dpodsamso/histogram.py | 6 +- .../gen_fk3z56_dpodsamso/horizontal.py | 56 +- .../commands/gen_fk3z56_dpodsamso/limit.py | 60 +- .../commands/gen_fk3z56_dpodsamso/mark.py | 6 +- .../commands/gen_fk3z56_dpodsamso/mask.py | 425 +++--- .../commands/gen_fk3z56_dpodsamso/math.py | 6 +- .../gen_fk3z56_dpodsamso/measurement.py | 45 +- .../gen_fk3z56_dpodsamso/opcextended.py | 4 +- .../commands/gen_fk3z56_dpodsamso/save.py | 6 +- .../commands/gen_fk3z56_dpodsamso/saveon.py | 48 +- .../commands/gen_fk3z56_dpodsamso/search.py | 60 +- .../commands/gen_fk3z56_dpodsamso/select.py | 12 +- .../commands/gen_fk3z56_dpodsamso/visual.py | 6 +- .../commands/gen_fk3z56_dpodsamso/zoom.py | 30 +- .../gen_fn2qbf_msodpo/errordetector.py | 18 +- .../commands/gen_fn2qbf_msodpo/trigger.py | 12 +- .../commands/gen_fpx9s1_dpodsamso/rosc.py | 6 +- .../commands/gen_fuzvln_lpdmsodpodsa/alias.py | 10 +- .../status_and_error.py | 4 +- .../header.py | 9 +- .../verbose.py | 9 +- .../commands/gen_u301s_msodpo/acquire.py | 6 +- .../commands/gen_u301s_msodpo/alias.py | 10 +- .../commands/gen_u301s_msodpo/bus.py | 12 +- .../commands/gen_u301s_msodpo/horizontal.py | 6 +- .../commands/gen_u301s_msodpo/math1.py | 6 +- .../commands/gen_u301s_msodpo/measurement.py | 6 +- .../commands/gen_u301s_msodpo/search.py | 6 +- .../commands/gen_u301s_msodpo/select.py | 40 +- .../commands/gen_ujuvb_mdo/acquire.py | 6 +- .../commands/gen_ujuvb_mdo/measurement.py | 6 +- .../commands/gen_ujuvb_mdo/message.py | 12 +- src/tm_devices/commands/gen_ujuvb_mdo/rrb.py | 6 +- .../commands/gen_ujuvb_mdo/search.py | 6 +- .../commands/gen_ujuvb_mdo/select.py | 6 +- .../commands/gen_usaa3_mdo/search.py | 6 +- src/tm_devices/commands/lpd6_commands.py | 12 +- src/tm_devices/commands/mdo3_commands.py | 31 +- src/tm_devices/commands/mdo3k_commands.py | 31 +- src/tm_devices/commands/mdo4k_commands.py | 31 +- src/tm_devices/commands/mdo4kb_commands.py | 31 +- src/tm_devices/commands/mdo4kc_commands.py | 31 +- src/tm_devices/commands/mso2_commands.py | 12 +- src/tm_devices/commands/mso2k_commands.py | 33 +- src/tm_devices/commands/mso2kb_commands.py | 33 +- src/tm_devices/commands/mso4_commands.py | 12 +- src/tm_devices/commands/mso4b_commands.py | 12 +- src/tm_devices/commands/mso4k_commands.py | 31 +- src/tm_devices/commands/mso4kb_commands.py | 31 +- src/tm_devices/commands/mso5_commands.py | 12 +- src/tm_devices/commands/mso5b_commands.py | 12 +- src/tm_devices/commands/mso5k_commands.py | 16 +- src/tm_devices/commands/mso5kb_commands.py | 16 +- src/tm_devices/commands/mso5lp_commands.py | 12 +- src/tm_devices/commands/mso6_commands.py | 12 +- src/tm_devices/commands/mso6b_commands.py | 12 +- src/tm_devices/commands/mso70kc_commands.py | 16 +- src/tm_devices/commands/mso70kdx_commands.py | 16 +- 162 files changed, 3589 insertions(+), 1594 deletions(-) create mode 100644 examples/signal_generators/awgs/awg70k_example.py delete mode 100644 src/tm_devices/commands/gen_1nmc1o_msodpomdo/header.py delete mode 100644 src/tm_devices/commands/gen_1nmc1o_msodpomdo/verbose.py rename src/tm_devices/commands/{gen_3n9auv_awg => gen_2i1z2s_awg}/diagnostic.py (98%) create mode 100644 src/tm_devices/commands/gen_3n9auv_awg/connectivity.py create mode 100644 src/tm_devices/commands/gen_3rs8qy_awg/diagnostic.py rename src/tm_devices/commands/{gen_fuzvln_lpdmsodpodsa => gen_fx54ua_lpdmsodpomdodsa}/header.py (84%) rename src/tm_devices/commands/{gen_fuzvln_lpdmsodpodsa => gen_fx54ua_lpdmsodpomdodsa}/verbose.py (79%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02058e03..33a2b129 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,14 @@ Valid subsections within a version are: Things to be included in the next release go here. +### Added + +- Full Python API support for SourceXpress to AWG70KA, AWG70KB and AWG7K models. + +### Fixed + +- Fixed APIs with writes and queries accepting arguments for AWG70KA and AWG70KB models drivers. + --- ## v2.0.0 (2024-07-24) diff --git a/README.md b/README.md index 2587922e..6e4c5b38 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,8 @@ _Device Support Levels_ | | **AFG31xxx** | PI | ✅ | | | AWGs | **AWG5000** | PI | ✅ | | | | **AWG5200** | PI | ✅ | | -| | **AWG7000** | PI | ✅ | | -| | **AWG70000** | PI | ✅ | | +| | **AWG7000** | PI | ✅ | ✅ | +| | **AWG70000** | PI | ✅ | ✅ | | Scopes | **2 Series MSO** | PI | ✅ | ✅ | | | **3 Series MDO** | PI | ✅ | | | | **4 Series MSO** | PI | ✅ | ✅ | @@ -148,6 +148,7 @@ _Software Solution Support Levels_ | Software
Solution | Command
Type | Basic
Control | Python API
Validation
Status | | -------------------- | --------------- | ---------------- | ---------------------------------- | | DPOJET | PI | ✅ | ✅ | +| SourceXpress | PI | ✅ | ✅ | diff --git a/docs/glossary.md b/docs/glossary.md index 6efa5dc5..2266cd05 100644 --- a/docs/glossary.md +++ b/docs/glossary.md @@ -83,6 +83,9 @@ SESR SMU : Source Measure Unit +SourceXpress +: An application to load and play waveforms remotely for Tektronix Arbitrary Waveform Generators + SRQ : Service Request diff --git a/docs/macros.py b/docs/macros.py index bdde1d88..e2109596 100644 --- a/docs/macros.py +++ b/docs/macros.py @@ -28,6 +28,7 @@ (" TSP ", " "), (" API ", " "), (" DPOJET ", " "), + (" SourceXpress ", " "), (" ✅ ", " [](default:✅) "), (" 🚧 ", " [](default:🚧) "), (" ❌ ", " [](default:❌) "), diff --git a/examples/signal_generators/awgs/awg70k_example.py b/examples/signal_generators/awgs/awg70k_example.py new file mode 100644 index 00000000..6f5885eb --- /dev/null +++ b/examples/signal_generators/awgs/awg70k_example.py @@ -0,0 +1,29 @@ +"""An example script for AWG70K compiling sine waveform, name the waveform and play it.""" + +from tm_devices import DeviceManager +from tm_devices.drivers import AWG70KB +from tm_devices.helpers import PYVISA_PY_BACKEND + +with DeviceManager(verbose=True) as device_manager: + # Disable resetting the devices when connecting and closing + device_manager.setup_cleanup_enabled = False + device_manager.teardown_cleanup_enabled = False + + # Use the PyVISA-py backend + device_manager.visa_library = PYVISA_PY_BACKEND + + # Creating Scope driver object by providing ip address. + scope: AWG70KB = device_manager.add_awg("127.0.0.1") + + # Sets the Basic Waveform editor plug-in waveform type. + scope.commands.bwaveform.function.write("SINE") + # Sets the peak-to-peak Amplitude value for the waveform created by the Basic Waveform + # editor plug-in. + scope.commands.bwaveform.amplitude.write(250.0e-3) + # Sets the Sample Rate for the waveform created by the Basic Waveform editor plug-in. + scope.commands.bwaveform.srate.write(2.0e9) + # Sets the name of the Basic Waveform editor plug-in compiled waveform. + scope.commands.bwaveform.compile.name.write("Basic_Wfm_sine") + # Enabled the state of the Basic Waveform editor to either immediately play the waveform + # after compile or just compile + scope.commands.bwaveform.compile.play.write("ON") diff --git a/src/tm_devices/commands/awg5200_commands.py b/src/tm_devices/commands/awg5200_commands.py index 084d27e5..3f168fd5 100644 --- a/src/tm_devices/commands/awg5200_commands.py +++ b/src/tm_devices/commands/awg5200_commands.py @@ -15,6 +15,7 @@ from .gen_2i1z2s_awg.bwaveform import Bwaveform from .gen_2i1z2s_awg.clock import Clock from .gen_2i1z2s_awg.cplayback import Cplayback +from .gen_2i1z2s_awg.diagnostic import Diagnostic from .gen_2i1z2s_awg.fgen import Fgen from .gen_2i1z2s_awg.instrument import Instrument from .gen_2i1z2s_awg.mmemory import Mmemory @@ -26,7 +27,7 @@ from .gen_2i1z2s_awg.wlist import Wlist from .gen_3n9auv_awg.active import Active from .gen_3n9auv_awg.calibration import Calibration -from .gen_3n9auv_awg.diagnostic import Diagnostic +from .gen_3n9auv_awg.connectivity import Connectivity from .gen_3n9auv_awg.display import Display from .gen_3n9auv_awg.output import Output from .gen_3n9auv_awg.slist import Slist @@ -85,6 +86,7 @@ class AWG5200Commands: - ``.calibration``: The ``CALibration`` command tree. - ``.clock``: The ``CLOCk`` command tree. - ``.cls``: The ``*CLS`` command. + - ``.connectivity``: The ``CONNectivity`` command tree. - ``.cplayback``: The ``CPLayback`` command tree. - ``.diagnostic``: The ``DIAGnostic`` command tree. - ``.display``: The ``DISPlay`` command tree. @@ -127,6 +129,7 @@ def __init__(self, device: Optional[PIDevice] = None) -> None: self._calibration = Calibration(device) self._clock = Clock(device) self._cls = Cls(device) + self._connectivity = Connectivity(device) self._cplayback = Cplayback(device) self._diagnostic = Diagnostic(device) self._display = Display(device) @@ -346,6 +349,25 @@ def cls(self) -> Cls: """ return self._cls + @property + def connectivity(self) -> Connectivity: + """Return the ``CONNectivity`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity?`` query and raise an + AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.active``: The ``CONNectivity:ACTive`` command. + - ``.connect``: The ``CONNectivity:CONNect`` command. + - ``.disconnect``: The ``CONNectivity:DISConnect`` command. + - ``.gang``: The ``CONNectivity:GANG`` command tree. + - ``.remove``: The ``CONNectivity:REMove`` command. + - ``.status``: The ``CONNectivity:STATus`` command. + """ + return self._connectivity + @property def cplayback(self) -> Cplayback: """Return the ``CPLayback`` command tree. @@ -778,6 +800,8 @@ def synchronize(self) -> Synchronize: AssertionError if the returned value does not match ``value``. Sub-properties: + - ``.adjust``: The ``SYNChronize:ADJust`` command tree. + - ``.deskew``: The ``SYNChronize:DESKew`` command tree. - ``.enable``: The ``SYNChronize:ENABle`` command. - ``.type``: The ``SYNChronize:TYPE`` command. """ @@ -952,6 +976,7 @@ def commands(self) -> AWG5200Commands: - ``.calibration``: The ``CALibration`` command tree. - ``.clock``: The ``CLOCk`` command tree. - ``.cls``: The ``*CLS`` command. + - ``.connectivity``: The ``CONNectivity`` command tree. - ``.cplayback``: The ``CPLayback`` command tree. - ``.diagnostic``: The ``DIAGnostic`` command tree. - ``.display``: The ``DISPlay`` command tree. diff --git a/src/tm_devices/commands/awg70ka_commands.py b/src/tm_devices/commands/awg70ka_commands.py index 041f3ae6..49c5ef3f 100644 --- a/src/tm_devices/commands/awg70ka_commands.py +++ b/src/tm_devices/commands/awg70ka_commands.py @@ -11,7 +11,7 @@ from .gen_3n9auv_awg.active import Active from .gen_3n9auv_awg.calibration import Calibration -from .gen_3n9auv_awg.diagnostic import Diagnostic +from .gen_3n9auv_awg.connectivity import Connectivity from .gen_3n9auv_awg.display import Display from .gen_3n9auv_awg.output import Output from .gen_3n9auv_awg.slist import Slist @@ -22,6 +22,7 @@ from .gen_3rs8qy_awg.bwaveform import Bwaveform from .gen_3rs8qy_awg.clock import Clock from .gen_3rs8qy_awg.cplayback import Cplayback +from .gen_3rs8qy_awg.diagnostic import Diagnostic from .gen_3rs8qy_awg.fgen import Fgen from .gen_3rs8qy_awg.instrument import Instrument from .gen_3rs8qy_awg.mmemory import Mmemory @@ -84,6 +85,7 @@ class AWG70KACommands: - ``.calibration``: The ``CALibration`` command tree. - ``.clock``: The ``CLOCk`` command tree. - ``.cls``: The ``*CLS`` command. + - ``.connectivity``: The ``CONNectivity`` command tree. - ``.cplayback``: The ``CPLayback`` command tree. - ``.diagnostic``: The ``DIAGnostic`` command tree. - ``.display``: The ``DISPlay`` command tree. @@ -125,6 +127,7 @@ def __init__(self, device: Optional[PIDevice] = None) -> None: self._calibration = Calibration(device) self._clock = Clock(device) self._cls = Cls(device) + self._connectivity = Connectivity(device) self._cplayback = Cplayback(device) self._diagnostic = Diagnostic(device) self._display = Display(device) @@ -331,6 +334,25 @@ def cls(self) -> Cls: """ return self._cls + @property + def connectivity(self) -> Connectivity: + """Return the ``CONNectivity`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity?`` query and raise an + AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.active``: The ``CONNectivity:ACTive`` command. + - ``.connect``: The ``CONNectivity:CONNect`` command. + - ``.disconnect``: The ``CONNectivity:DISConnect`` command. + - ``.gang``: The ``CONNectivity:GANG`` command tree. + - ``.remove``: The ``CONNectivity:REMove`` command. + - ``.status``: The ``CONNectivity:STATus`` command. + """ + return self._connectivity + @property def cplayback(self) -> Cplayback: """Return the ``CPLayback`` command tree. @@ -938,6 +960,7 @@ def commands(self) -> AWG70KACommands: - ``.calibration``: The ``CALibration`` command tree. - ``.clock``: The ``CLOCk`` command tree. - ``.cls``: The ``*CLS`` command. + - ``.connectivity``: The ``CONNectivity`` command tree. - ``.cplayback``: The ``CPLayback`` command tree. - ``.diagnostic``: The ``DIAGnostic`` command tree. - ``.display``: The ``DISPlay`` command tree. diff --git a/src/tm_devices/commands/awg70kb_commands.py b/src/tm_devices/commands/awg70kb_commands.py index d92cc0a4..8537c4b9 100644 --- a/src/tm_devices/commands/awg70kb_commands.py +++ b/src/tm_devices/commands/awg70kb_commands.py @@ -11,7 +11,7 @@ from .gen_3n9auv_awg.active import Active from .gen_3n9auv_awg.calibration import Calibration -from .gen_3n9auv_awg.diagnostic import Diagnostic +from .gen_3n9auv_awg.connectivity import Connectivity from .gen_3n9auv_awg.display import Display from .gen_3n9auv_awg.output import Output from .gen_3n9auv_awg.slist import Slist @@ -22,6 +22,7 @@ from .gen_3rs8qy_awg.bwaveform import Bwaveform from .gen_3rs8qy_awg.clock import Clock from .gen_3rs8qy_awg.cplayback import Cplayback +from .gen_3rs8qy_awg.diagnostic import Diagnostic from .gen_3rs8qy_awg.fgen import Fgen from .gen_3rs8qy_awg.instrument import Instrument from .gen_3rs8qy_awg.mmemory import Mmemory @@ -84,6 +85,7 @@ class AWG70KBCommands: - ``.calibration``: The ``CALibration`` command tree. - ``.clock``: The ``CLOCk`` command tree. - ``.cls``: The ``*CLS`` command. + - ``.connectivity``: The ``CONNectivity`` command tree. - ``.cplayback``: The ``CPLayback`` command tree. - ``.diagnostic``: The ``DIAGnostic`` command tree. - ``.display``: The ``DISPlay`` command tree. @@ -125,6 +127,7 @@ def __init__(self, device: Optional[PIDevice] = None) -> None: self._calibration = Calibration(device) self._clock = Clock(device) self._cls = Cls(device) + self._connectivity = Connectivity(device) self._cplayback = Cplayback(device) self._diagnostic = Diagnostic(device) self._display = Display(device) @@ -331,6 +334,25 @@ def cls(self) -> Cls: """ return self._cls + @property + def connectivity(self) -> Connectivity: + """Return the ``CONNectivity`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity?`` query and raise an + AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.active``: The ``CONNectivity:ACTive`` command. + - ``.connect``: The ``CONNectivity:CONNect`` command. + - ``.disconnect``: The ``CONNectivity:DISConnect`` command. + - ``.gang``: The ``CONNectivity:GANG`` command tree. + - ``.remove``: The ``CONNectivity:REMove`` command. + - ``.status``: The ``CONNectivity:STATus`` command. + """ + return self._connectivity + @property def cplayback(self) -> Cplayback: """Return the ``CPLayback`` command tree. @@ -938,6 +960,7 @@ def commands(self) -> AWG70KBCommands: - ``.calibration``: The ``CALibration`` command tree. - ``.clock``: The ``CLOCk`` command tree. - ``.cls``: The ``*CLS`` command. + - ``.connectivity``: The ``CONNectivity`` command tree. - ``.cplayback``: The ``CPLayback`` command tree. - ``.diagnostic``: The ``DIAGnostic`` command tree. - ``.display``: The ``DISPlay`` command tree. diff --git a/src/tm_devices/commands/dpo2k_commands.py b/src/tm_devices/commands/dpo2k_commands.py index 445db014..d4044176 100644 --- a/src/tm_devices/commands/dpo2k_commands.py +++ b/src/tm_devices/commands/dpo2k_commands.py @@ -14,12 +14,10 @@ from .gen_1lcv3a_msodpomdo.setup_1 import SetupItem from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_fhrp27_msodpomdodsa.curve import Curve from .gen_fhrp27_msodpomdodsa.date import Date @@ -37,6 +35,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -45,6 +44,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -664,7 +664,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -1484,8 +1484,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1495,18 +1497,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -2474,24 +2476,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/dpo2kb_commands.py b/src/tm_devices/commands/dpo2kb_commands.py index 66ee57b6..30e44aad 100644 --- a/src/tm_devices/commands/dpo2kb_commands.py +++ b/src/tm_devices/commands/dpo2kb_commands.py @@ -14,12 +14,10 @@ from .gen_1lcv3a_msodpomdo.setup_1 import SetupItem from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_fhrp27_msodpomdodsa.curve import Curve from .gen_fhrp27_msodpomdodsa.date import Date @@ -37,6 +35,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -45,6 +44,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -664,7 +664,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -1484,8 +1484,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1495,18 +1497,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -2474,24 +2476,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/dpo4k_commands.py b/src/tm_devices/commands/dpo4k_commands.py index bcfa481a..b768f4d2 100644 --- a/src/tm_devices/commands/dpo4k_commands.py +++ b/src/tm_devices/commands/dpo4k_commands.py @@ -63,12 +63,10 @@ from .gen_1mq0z9_msodpo.rf import Rf from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause from .gen_fhrp27_msodpomdodsa.curve import Curve @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1843,8 +1843,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1854,18 +1856,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3072,24 +3074,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/dpo4kb_commands.py b/src/tm_devices/commands/dpo4kb_commands.py index f1e42a63..0b424bba 100644 --- a/src/tm_devices/commands/dpo4kb_commands.py +++ b/src/tm_devices/commands/dpo4kb_commands.py @@ -63,12 +63,10 @@ from .gen_1mq0z9_msodpo.rf import Rf from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause from .gen_fhrp27_msodpomdodsa.curve import Curve @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1851,8 +1851,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1862,18 +1864,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3080,24 +3082,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/dpo5k_commands.py b/src/tm_devices/commands/dpo5k_commands.py index 9df0ffa0..78d43647 100644 --- a/src/tm_devices/commands/dpo5k_commands.py +++ b/src/tm_devices/commands/dpo5k_commands.py @@ -85,9 +85,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -95,6 +93,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -103,6 +102,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1052,7 +1052,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2203,7 +2203,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2236,7 +2236,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2763,7 +2763,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2865,7 +2865,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3527,7 +3527,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo5kb_commands.py b/src/tm_devices/commands/dpo5kb_commands.py index 6eadade6..af8ce01f 100644 --- a/src/tm_devices/commands/dpo5kb_commands.py +++ b/src/tm_devices/commands/dpo5kb_commands.py @@ -87,9 +87,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -97,6 +95,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -105,6 +104,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1062,7 +1062,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2293,7 +2293,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2326,7 +2326,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2853,7 +2853,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2955,7 +2955,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3617,7 +3617,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo70kc_commands.py b/src/tm_devices/commands/dpo70kc_commands.py index c8fcc648..e802df17 100644 --- a/src/tm_devices/commands/dpo70kc_commands.py +++ b/src/tm_devices/commands/dpo70kc_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1056,7 +1056,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2273,7 +2273,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2306,7 +2306,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2833,7 +2833,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2935,7 +2935,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3597,7 +3597,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo70kd_commands.py b/src/tm_devices/commands/dpo70kd_commands.py index 1a05bbaa..5b543171 100644 --- a/src/tm_devices/commands/dpo70kd_commands.py +++ b/src/tm_devices/commands/dpo70kd_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1056,7 +1056,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2273,7 +2273,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2306,7 +2306,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2833,7 +2833,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2935,7 +2935,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3597,7 +3597,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo70kdx_commands.py b/src/tm_devices/commands/dpo70kdx_commands.py index 0321fb5b..ef41d7e2 100644 --- a/src/tm_devices/commands/dpo70kdx_commands.py +++ b/src/tm_devices/commands/dpo70kdx_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1056,7 +1056,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2273,7 +2273,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2306,7 +2306,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2833,7 +2833,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2935,7 +2935,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3597,7 +3597,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo70ksx_commands.py b/src/tm_devices/commands/dpo70ksx_commands.py index a8300fea..2339255f 100644 --- a/src/tm_devices/commands/dpo70ksx_commands.py +++ b/src/tm_devices/commands/dpo70ksx_commands.py @@ -88,9 +88,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -98,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -106,6 +105,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1067,7 +1067,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2339,7 +2339,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2372,7 +2372,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2929,7 +2929,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -3031,7 +3031,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3693,7 +3693,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo7k_commands.py b/src/tm_devices/commands/dpo7k_commands.py index 86e50213..9b66b577 100644 --- a/src/tm_devices/commands/dpo7k_commands.py +++ b/src/tm_devices/commands/dpo7k_commands.py @@ -85,9 +85,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -95,6 +93,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -103,6 +102,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1052,7 +1052,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2203,7 +2203,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2236,7 +2236,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2763,7 +2763,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2865,7 +2865,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3527,7 +3527,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dpo7kc_commands.py b/src/tm_devices/commands/dpo7kc_commands.py index 9ac2f3f6..3e64b505 100644 --- a/src/tm_devices/commands/dpo7kc_commands.py +++ b/src/tm_devices/commands/dpo7kc_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1057,7 +1057,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2274,7 +2274,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2307,7 +2307,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2834,7 +2834,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2936,7 +2936,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3598,7 +3598,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dsa70kc_commands.py b/src/tm_devices/commands/dsa70kc_commands.py index bd92deb8..538ee3ea 100644 --- a/src/tm_devices/commands/dsa70kc_commands.py +++ b/src/tm_devices/commands/dsa70kc_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1056,7 +1056,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2273,7 +2273,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2306,7 +2306,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2833,7 +2833,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2935,7 +2935,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3597,7 +3597,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/dsa70kd_commands.py b/src/tm_devices/commands/dsa70kd_commands.py index 2aaea4c7..fe32b02a 100644 --- a/src/tm_devices/commands/dsa70kd_commands.py +++ b/src/tm_devices/commands/dsa70kd_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1056,7 +1056,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2273,7 +2273,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2306,7 +2306,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2833,7 +2833,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2935,7 +2935,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3597,7 +3597,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/gen_163n04_mdo/search.py b/src/tm_devices/commands/gen_163n04_mdo/search.py index 4d8e6292..174c1213 100644 --- a/src/tm_devices/commands/gen_163n04_mdo/search.py +++ b/src/tm_devices/commands/gen_163n04_mdo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIG:A:BUS:B:ETHER:IPH:DEST:VAL @@ -18731,7 +18731,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -18876,7 +18876,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_16x4xq_mdo/search.py b/src/tm_devices/commands/gen_16x4xq_mdo/search.py index 18d5e37f..b2cdeb65 100644 --- a/src/tm_devices/commands/gen_16x4xq_mdo/search.py +++ b/src/tm_devices/commands/gen_16x4xq_mdo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIG:A:BUS:B:MIL1553B:COMMAND:ADDR:QUAL {LESSthan|MOREthan|EQual|UNEQual|LESSEQual|MOREEQual|INrange|OUTrange} @@ -16577,7 +16577,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -16722,7 +16722,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_1kdqwg_mdo/search.py b/src/tm_devices/commands/gen_1kdqwg_mdo/search.py index 36493263..82e6c2bf 100644 --- a/src/tm_devices/commands/gen_1kdqwg_mdo/search.py +++ b/src/tm_devices/commands/gen_1kdqwg_mdo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIG:A:BUS:B:ETHER:IPH:DEST:VAL @@ -18979,7 +18979,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -19124,7 +19124,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_1kozfv_dpo/search.py b/src/tm_devices/commands/gen_1kozfv_dpo/search.py index cfe4510d..f970c9f1 100644 --- a/src/tm_devices/commands/gen_1kozfv_dpo/search.py +++ b/src/tm_devices/commands/gen_1kozfv_dpo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIG:A:BUS:B:MIL1553B:COMMAND:ADDR:QUAL {LESSthan|MOREthan|EQual|UNEQual|LESSEQual|MOREEQual|INrange|OUTrange} @@ -15809,7 +15809,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -15954,7 +15954,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_1lcv3a_msodpomdo/message.py b/src/tm_devices/commands/gen_1lcv3a_msodpomdo/message.py index 7ab7caa8..8143d90e 100644 --- a/src/tm_devices/commands/gen_1lcv3a_msodpomdo/message.py +++ b/src/tm_devices/commands/gen_1lcv3a_msodpomdo/message.py @@ -15,7 +15,7 @@ - MESSage:CLEAR - MESSage:SHOW - MESSage:SHOW? - - MESSage:STATE {OFF|ON|} + - MESSage:STATE {ON|OFF|} - MESSage:STATE? - MESSage? ``` @@ -43,7 +43,7 @@ class MessageState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MESSage:STATE {OFF|ON|} + - MESSage:STATE {ON|OFF|} - MESSage:STATE? ``` @@ -266,7 +266,7 @@ def state(self) -> MessageState: SCPI Syntax: ``` - - MESSage:STATE {OFF|ON|} + - MESSage:STATE {ON|OFF|} - MESSage:STATE? ``` diff --git a/src/tm_devices/commands/gen_1lh2st_msodpo/search.py b/src/tm_devices/commands/gen_1lh2st_msodpo/search.py index 304fe2a5..bdf6ed0d 100644 --- a/src/tm_devices/commands/gen_1lh2st_msodpo/search.py +++ b/src/tm_devices/commands/gen_1lh2st_msodpo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIG:A:BUS:B:ETHER:IPH:DEST:VAL @@ -17963,7 +17963,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -18108,7 +18108,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/alias.py b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/alias.py index 998bf449..e4a66a68 100644 --- a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/alias.py +++ b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/alias.py @@ -14,7 +14,7 @@ - ALIas:DEFine? - ALIas:DELEte:ALL - ALIas:DELEte:NAMe - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` """ @@ -41,7 +41,7 @@ class AliasState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` @@ -294,7 +294,7 @@ def state(self) -> AliasState: SCPI Syntax: ``` - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` diff --git a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/bus.py b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/bus.py index 7d61c0be..d1c03a77 100644 --- a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/bus.py +++ b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/bus.py @@ -86,7 +86,7 @@ - BUS:B:FLEXray:SIGnal? - BUS:B:FLEXray:SOUrce {CH|D} - BUS:B:FLEXray:SOUrce? - - BUS:B:I2C:ADDRess:RWINClude {|OFF|ON} + - BUS:B:I2C:ADDRess:RWINClude {ON|OFF|} - BUS:B:I2C:ADDRess:RWINClude? - BUS:B:I2C:CLOCk:SOUrce {CH|D} - BUS:B:I2C:CLOCk:SOUrce? @@ -188,7 +188,7 @@ - BUS:B:SPI:SS:POLarity? - BUS:B:SPI:SS:SOUrce {CH|D} - BUS:B:SPI:SS:SOUrce? - - BUS:B:STATE {|OFF|ON} + - BUS:B:STATE {ON|OFF|} - BUS:B:STATE? - BUS:B:TYPe {I2C|SPI|CAN|RS232C|PARallel|USB|LIN|FLEXRay|AUDio|ETHERnet|MIL1553B|ARINC429A} - BUS:B:TYPe? @@ -1290,7 +1290,7 @@ class BusBItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - BUS:B:STATE {|OFF|ON} + - BUS:B:STATE {ON|OFF|} - BUS:B:STATE? ``` @@ -4643,7 +4643,7 @@ class BusBItemI2cAddressRwinclude(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - BUS:B:I2C:ADDRess:RWINClude {|OFF|ON} + - BUS:B:I2C:ADDRess:RWINClude {ON|OFF|} - BUS:B:I2C:ADDRess:RWINClude? ``` @@ -4685,7 +4685,7 @@ def rwinclude(self) -> BusBItemI2cAddressRwinclude: SCPI Syntax: ``` - - BUS:B:I2C:ADDRess:RWINClude {|OFF|ON} + - BUS:B:I2C:ADDRess:RWINClude {ON|OFF|} - BUS:B:I2C:ADDRess:RWINClude? ``` @@ -7732,7 +7732,7 @@ def state(self) -> BusBItemState: SCPI Syntax: ``` - - BUS:B:STATE {|OFF|ON} + - BUS:B:STATE {ON|OFF|} - BUS:B:STATE? ``` diff --git a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/ch.py b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/ch.py index 17ee4714..cbdd552e 100644 --- a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/ch.py +++ b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/ch.py @@ -9,7 +9,7 @@ Commands and Queries: ``` - - CH:AMPSVIAVOLTs:ENAble {|OFF|ON} + - CH:AMPSVIAVOLTs:ENAble {ON|OFF|} - CH:AMPSVIAVOLTs:ENAble? - CH:AMPSVIAVOLTs:FACtor - CH:AMPSVIAVOLTs:FACtor? @@ -1348,7 +1348,7 @@ class ChannelAmpsviavoltsEnable(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - CH:AMPSVIAVOLTs:ENAble {|OFF|ON} + - CH:AMPSVIAVOLTs:ENAble {ON|OFF|} - CH:AMPSVIAVOLTs:ENAble? ``` @@ -1396,7 +1396,7 @@ def enable(self) -> ChannelAmpsviavoltsEnable: SCPI Syntax: ``` - - CH:AMPSVIAVOLTs:ENAble {|OFF|ON} + - CH:AMPSVIAVOLTs:ENAble {ON|OFF|} - CH:AMPSVIAVOLTs:ENAble? ``` diff --git a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/horizontal.py b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/horizontal.py index 645c301b..d5c3d726 100644 --- a/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/horizontal.py +++ b/src/tm_devices/commands/gen_1ltpwt_mdomsodpo/horizontal.py @@ -9,7 +9,7 @@ Commands and Queries: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? - HORizontal:DELay:TIMe - HORizontal:DELay:TIMe? @@ -438,7 +438,7 @@ class HorizontalDelayMode(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` @@ -485,7 +485,7 @@ def mode(self) -> HorizontalDelayMode: SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` diff --git a/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/acquire.py b/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/acquire.py index 6742066b..e461dd05 100644 --- a/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/acquire.py +++ b/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/acquire.py @@ -14,7 +14,7 @@ - ACQuire:FASTAcq:PALEtte? - ACQuire:FASTAcq:STATE {0|1|OFF|ON} - ACQuire:FASTAcq:STATE? - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? - ACQuire:MAXSamplerate? - ACQuire:MODe {SAMple|PEAKdetect|HIRes|AVErage|ENVelope} @@ -247,7 +247,7 @@ class AcquireMagnivu(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` @@ -481,7 +481,7 @@ def magnivu(self) -> AcquireMagnivu: SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` diff --git a/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/measurement.py b/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/measurement.py index 5f0aa66b..e49bcb2b 100644 --- a/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/measurement.py +++ b/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/measurement.py @@ -43,7 +43,7 @@ - MEASUrement:MEAS:MINImum? - MEASUrement:MEAS:SOUrce1 {CH|MATH|R|D|HIStogram|RF_AMPlitude|RF_FREQuency|RF_PHASe} - MEASUrement:MEAS:SOUrce1? - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? - MEASUrement:MEAS:STDdev? - MEASUrement:MEAS:TYPe {AMPlitude|AREa|BURst|CARea|CMEan|CRMs|DELay|FALL|FREQuency|HIGH|HITS|LOW|MAXimum|MEAN|MEDian|MINImum|NDUty|NEDGECount|NOVershoot|NPULSECount|NWIdth|PEAKHits|PDUty|PEDGECount|PERIod|PHAse|PK2Pk|POVershoot|PPULSECount|PWIdth|RISe|RMS|SIGMA|STDdev|TOVershoot|WAVEFORMS} @@ -2277,7 +2277,7 @@ class MeasurementMeasItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` @@ -2781,7 +2781,7 @@ def state(self) -> MeasurementMeasItemState: SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` diff --git a/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/select.py b/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/select.py index 1c4f2887..3e96480c 100644 --- a/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/select.py +++ b/src/tm_devices/commands/gen_1mlt9u_mdomsodpo/select.py @@ -18,7 +18,7 @@ - SELect:CH? - SELect:CONTROl {CH|MATH|REF|BUS|D|RF_AMPlitude|RF_FREQuency|RF_PHASe|RF_NORMal|RF_AVErage|RF_MAXHold|RF_MINHold} - SELect:CONTROl? - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? - SELect:DAll {ON|OFF|0|1} - SELect:MATH {ON|OFF|} @@ -352,7 +352,7 @@ class SelectDigitalBit(ValidatedDigitalBit, SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` @@ -637,7 +637,7 @@ def d(self) -> Dict[int, SelectDigitalBit]: SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` diff --git a/src/tm_devices/commands/gen_1nmc1o_msodpomdo/header.py b/src/tm_devices/commands/gen_1nmc1o_msodpomdo/header.py deleted file mode 100644 index 23158f4a..00000000 --- a/src/tm_devices/commands/gen_1nmc1o_msodpomdo/header.py +++ /dev/null @@ -1,55 +0,0 @@ -"""The header commands module. - -These commands are used in the following models: -DPO2K, DPO2KB, DPO4K, DPO4KB, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2K, MSO2KB, MSO4K, MSO4KB - -THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. - -Please report an issue if one is found. - -Commands and Queries: - ``` - - HEADer {OFF|ON|} - - HEADer? - ``` -""" - -from typing import Optional, TYPE_CHECKING - -from ..helpers import SCPICmdRead, SCPICmdWrite - -if TYPE_CHECKING: - from tm_devices.drivers.pi.pi_device import PIDevice - - -class Header(SCPICmdWrite, SCPICmdRead): - """The ``HEADer`` command. - - Description: - - This command specifies the Response Header Enable State that causes the oscilloscope to - either include or omit headers on query responses. - - Usage: - - Using the ``.query()`` method will send the ``HEADer?`` query. - - Using the ``.verify(value)`` method will send the ``HEADer?`` query and raise an - AssertionError if the returned value does not match ``value``. - - Using the ``.write(value)`` method will send the ``HEADer value`` command. - - SCPI Syntax: - ``` - - HEADer {OFF|ON|} - - HEADer? - ``` - - Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope to - omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as a - command. - - ```` = 0 sets the Response Header Enable State to false; any other value sets this - state to true. - """ - - def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "HEADer") -> None: - super().__init__(device, cmd_syntax) diff --git a/src/tm_devices/commands/gen_1nmc1o_msodpomdo/verbose.py b/src/tm_devices/commands/gen_1nmc1o_msodpomdo/verbose.py deleted file mode 100644 index bd589448..00000000 --- a/src/tm_devices/commands/gen_1nmc1o_msodpomdo/verbose.py +++ /dev/null @@ -1,49 +0,0 @@ -"""The verbose commands module. - -These commands are used in the following models: -DPO2K, DPO2KB, DPO4K, DPO4KB, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2K, MSO2KB, MSO4K, MSO4KB - -THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. - -Please report an issue if one is found. - -Commands and Queries: - ``` - - VERBose {OFF|ON|} - ``` -""" - -from typing import Optional, TYPE_CHECKING - -from ..helpers import SCPICmdWrite - -if TYPE_CHECKING: - from tm_devices.drivers.pi.pi_device import PIDevice - - -class Verbose(SCPICmdWrite): - """The ``VERBose`` command. - - Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. - - Usage: - - Using the ``.write(value)`` method will send the ``VERBose value`` command. - - SCPI Syntax: - ``` - - VERBose {OFF|ON|} - ``` - - Info: - - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for - applicable setting queries. - - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable - setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any other - value returns full-length keywords. - """ - - def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "VERBose") -> None: - super().__init__(device, cmd_syntax) diff --git a/src/tm_devices/commands/gen_1zn03_mso/bus.py b/src/tm_devices/commands/gen_1zn03_mso/bus.py index 8c8be8c1..17912bc3 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/bus.py +++ b/src/tm_devices/commands/gen_1zn03_mso/bus.py @@ -86,7 +86,7 @@ - BUS:B:PARallel:BITSOUrce? - BUS:B:PARallel:CLOCk:EDGE {FALLING|RISING|EITHER} - BUS:B:PARallel:CLOCk:EDGE? - - BUS:B:PARallel:CLOCk:ISCLOCKED {OFF|ON|} + - BUS:B:PARallel:CLOCk:ISCLOCKED {ON|OFF|} - BUS:B:PARallel:CLOCk:ISCLOCKED? - BUS:B:PARallel:CLOCkSOUrce {CH|DCH_D|MATH|REF|REF_D|NONE} - BUS:B:PARallel:CLOCkSOUrce:THReshold @@ -3020,7 +3020,7 @@ class BusBItemParallelClockIsclocked(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - BUS:B:PARallel:CLOCk:ISCLOCKED {OFF|ON|} + - BUS:B:PARallel:CLOCk:ISCLOCKED {ON|OFF|} - BUS:B:PARallel:CLOCk:ISCLOCKED? ``` @@ -3129,7 +3129,7 @@ def isclocked(self) -> BusBItemParallelClockIsclocked: SCPI Syntax: ``` - - BUS:B:PARallel:CLOCk:ISCLOCKED {OFF|ON|} + - BUS:B:PARallel:CLOCk:ISCLOCKED {ON|OFF|} - BUS:B:PARallel:CLOCk:ISCLOCKED? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/dch.py b/src/tm_devices/commands/gen_1zn03_mso/dch.py index 8bee53a5..d4cf3472 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/dch.py +++ b/src/tm_devices/commands/gen_1zn03_mso/dch.py @@ -11,15 +11,15 @@ ``` - DCH_D:LABel:COLor - DCH_D:LABel:COLor? - - DCH_D:LABel:FONT:BOLD {|OFF|ON} + - DCH_D:LABel:FONT:BOLD {ON|OFF|} - DCH_D:LABel:FONT:BOLD? - - DCH_D:LABel:FONT:ITALic {|OFF|ON} + - DCH_D:LABel:FONT:ITALic {ON|OFF|} - DCH_D:LABel:FONT:ITALic? - DCH_D:LABel:FONT:SIZE - DCH_D:LABel:FONT:SIZE? - DCH_D:LABel:FONT:TYPE - DCH_D:LABel:FONT:TYPE? - - DCH_D:LABel:FONT:UNDERline {|OFF|ON} + - DCH_D:LABel:FONT:UNDERline {ON|OFF|} - DCH_D:LABel:FONT:UNDERline? - DCH_D:LABel:NAMe - DCH_D:LABel:NAMe? @@ -114,7 +114,7 @@ class DchItemDigitalBitLabelFontUnderline(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DCH_D:LABel:FONT:UNDERline {|OFF|ON} + - DCH_D:LABel:FONT:UNDERline {ON|OFF|} - DCH_D:LABel:FONT:UNDERline? ``` @@ -197,7 +197,7 @@ class DchItemDigitalBitLabelFontItalic(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DCH_D:LABel:FONT:ITALic {|OFF|ON} + - DCH_D:LABel:FONT:ITALic {ON|OFF|} - DCH_D:LABel:FONT:ITALic? ``` @@ -225,7 +225,7 @@ class DchItemDigitalBitLabelFontBold(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DCH_D:LABel:FONT:BOLD {|OFF|ON} + - DCH_D:LABel:FONT:BOLD {ON|OFF|} - DCH_D:LABel:FONT:BOLD? ``` @@ -284,7 +284,7 @@ def bold(self) -> DchItemDigitalBitLabelFontBold: SCPI Syntax: ``` - - DCH_D:LABel:FONT:BOLD {|OFF|ON} + - DCH_D:LABel:FONT:BOLD {ON|OFF|} - DCH_D:LABel:FONT:BOLD? ``` @@ -314,7 +314,7 @@ def italic(self) -> DchItemDigitalBitLabelFontItalic: SCPI Syntax: ``` - - DCH_D:LABel:FONT:ITALic {|OFF|ON} + - DCH_D:LABel:FONT:ITALic {ON|OFF|} - DCH_D:LABel:FONT:ITALic? ``` @@ -401,7 +401,7 @@ def underline(self) -> DchItemDigitalBitLabelFontUnderline: SCPI Syntax: ``` - - DCH_D:LABel:FONT:UNDERline {|OFF|ON} + - DCH_D:LABel:FONT:UNDERline {ON|OFF|} - DCH_D:LABel:FONT:UNDERline? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/display.py b/src/tm_devices/commands/gen_1zn03_mso/display.py index 13cbd9e3..5d663fbb 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/display.py +++ b/src/tm_devices/commands/gen_1zn03_mso/display.py @@ -16,15 +16,15 @@ - DISplay:CH:NORMALColor? - DISplay:COLors {NORMal|INVERTed} - DISplay:COLors? - - DISplay:GLObal:B:STATE {|OFF|ON} + - DISplay:GLObal:B:STATE {ON|OFF|} - DISplay:GLObal:B:STATE? - - DISplay:GLObal:CH:STATE {|OFF|ON} + - DISplay:GLObal:CH:STATE {ON|OFF|} - DISplay:GLObal:CH:STATE? - - DISplay:GLObal:DCH:STATE {|OFF|ON} + - DISplay:GLObal:DCH:STATE {ON|OFF|} - DISplay:GLObal:DCH:STATE? - - DISplay:GLObal:MATH:STATE {|OFF|ON} + - DISplay:GLObal:MATH:STATE {ON|OFF|} - DISplay:GLObal:MATH:STATE? - - DISplay:GLObal:REF:STATE {|OFF|ON} + - DISplay:GLObal:REF:STATE {ON|OFF|} - DISplay:GLObal:REF:STATE? - DISplay:INTENSITy:BACKLight {LOW|MEDium|HIGH} - DISplay:INTENSITy:BACKLight:AUTODim:ENAble {ON|OFF} @@ -33,7 +33,7 @@ - DISplay:INTENSITy:BACKLight:AUTODim:TIMe? - DISplay:INTENSITy:BACKLight? - DISplay:INTENSITy? - - DISplay:MATHFFTView1:AUTOScale {OFF|ON| + - DISplay:MATHFFTView1:AUTOScale {ON|OFF|} - DISplay:MATHFFTView1:AUTOScale? - DISplay:MATHFFTView1:CURSor:ASOUrce? - DISplay:MATHFFTView1:CURSor:BSOUrce? @@ -74,7 +74,7 @@ - DISplay:MATHFFTView1:CURSor:WAVEform:BPOSition? - DISplay:MATHFFTView1:GRIDlines {HORizontal|VERTical|BOTH} - DISplay:MATHFFTView1:GRIDlines? - - DISplay:MATHFFTView1:MATH:MATH:STATE {OFF|ON|} + - DISplay:MATHFFTView1:MATH:MATH:STATE {ON|OFF|} - DISplay:MATHFFTView1:MATH:MATH:STATE? - DISplay:MATHFFTView1:XAXIS:SCALE {LINEAr|LOG} - DISplay:MATHFFTView1:XAXIS:SCALE? @@ -95,7 +95,7 @@ - DISplay:PERSistence {OFF|AUTO|INFPersist|INFInite|VARpersist|CLEAR} - DISplay:PERSistence:RESET - DISplay:PERSistence? - - DISplay:PLOTView1:AUTOScale {OFF|ON|} + - DISplay:PLOTView1:AUTOScale {ON|OFF|} - DISplay:PLOTView1:AUTOScale? - DISplay:PLOTView1:CURSor:ASOUrce? - DISplay:PLOTView1:CURSor:BSOUrce? @@ -124,7 +124,7 @@ - DISplay:PLOTView1:CURSor:SCREEN:BYPOSition? - DISplay:PLOTView1:CURSor:SPLITMODE {SAME|SPLIT} - DISplay:PLOTView1:CURSor:SPLITMODE? - - DISplay:PLOTView1:CURSor:STATE {OFF|ON|} + - DISplay:PLOTView1:CURSor:STATE {ON|OFF|} - DISplay:PLOTView1:CURSor:STATE? - DISplay:PLOTView1:CURSor:VBArs:APOSition - DISplay:PLOTView1:CURSor:VBArs:APOSition? @@ -231,7 +231,7 @@ - DISplay:WAVEView1:BUS:B:STATE? - DISplay:WAVEView1:BUS:B:VERTical:POSition - DISplay:WAVEView1:BUS:B:VERTical:POSition? - - DISplay:WAVEView1:CH:STATE {|OFF|ON} + - DISplay:WAVEView1:CH:STATE {ON|OFF|} - DISplay:WAVEView1:CH:STATE? - DISplay:WAVEView1:CH:VERTical:POSition - DISplay:WAVEView1:CH:VERTical:POSition? @@ -263,7 +263,7 @@ - DISplay:WAVEView1:CURSor:CURSOR1:SCREEN:BYPOSition? - DISplay:WAVEView1:CURSor:CURSOR1:SPLITMODE {SAME|SPLIT} - DISplay:WAVEView1:CURSor:CURSOR1:SPLITMODE? - - DISplay:WAVEView1:CURSor:CURSOR1:STATE {|OFF|ON} + - DISplay:WAVEView1:CURSor:CURSOR1:STATE {ON|OFF|} - DISplay:WAVEView1:CURSor:CURSOR1:STATE? - DISplay:WAVEView1:CURSor:CURSOR1:VBArs:APOSition - DISplay:WAVEView1:CURSor:CURSOR1:VBArs:APOSition? @@ -279,7 +279,7 @@ - DISplay:WAVEView1:CURSor:CURSOR:WAVEform:AVPOSition? - DISplay:WAVEView1:CURSor:CURSOR:WAVEform:BVPOSition? - DISplay:WAVEView1:CURSor? - - DISplay:WAVEView1:DCH_D:STATE {|OFF|ON} + - DISplay:WAVEView1:DCH_D:STATE {ON|OFF|} - DISplay:WAVEView1:DCH_D:STATE? - DISplay:WAVEView1:DCH_DALL:DIGORDER - DISplay:WAVEView1:DCH_DALL:DIGORDER? @@ -292,9 +292,9 @@ - DISplay:WAVEView1:INTENSITy:GRATicule? - DISplay:WAVEView1:INTENSITy:WAVEform - DISplay:WAVEView1:INTENSITy:WAVEform? - - DISplay:WAVEView1:MATH:MATH:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:AUTOScale {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:AUTOScale? - - DISplay:WAVEView1:MATH:MATH:STATE {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:STATE {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:STATE? - DISplay:WAVEView1:MATH:MATH:VERTical:POSition - DISplay:WAVEView1:MATH:MATH:VERTical:POSition? @@ -302,7 +302,7 @@ - DISplay:WAVEView1:MATH:MATH:VERTical:SCAle? - DISplay:WAVEView1:REF:REF:FRAMe - DISplay:WAVEView1:REF:REF:FRAMe? - - DISplay:WAVEView1:REF:REF:STATE {|OFF|ON} + - DISplay:WAVEView1:REF:REF:STATE {ON|OFF|} - DISplay:WAVEView1:REF:REF:STATE? - DISplay:WAVEView1:REF:REF:VERTical:POSition - DISplay:WAVEView1:REF:REF:VERTical:POSition? @@ -332,7 +332,7 @@ - DISplay:WAVEView:CURSor:CURSOR1:ROLOCATION? - DISplay:WAVEView:GRIDTYPE {MOVEABLE|FIXED} - DISplay:WAVEView:GRIDTYPE? - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? - DISplay? ``` @@ -370,7 +370,7 @@ class DisplayWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? ``` @@ -1360,7 +1360,7 @@ class DisplayWaveview1RefRefItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:REF:REF:STATE {|OFF|ON} + - DISplay:WAVEView1:REF:REF:STATE {ON|OFF|} - DISplay:WAVEView1:REF:REF:STATE? ``` @@ -1436,7 +1436,7 @@ def state(self) -> DisplayWaveview1RefRefItemState: SCPI Syntax: ``` - - DISplay:WAVEView1:REF:REF:STATE {|OFF|ON} + - DISplay:WAVEView1:REF:REF:STATE {ON|OFF|} - DISplay:WAVEView1:REF:REF:STATE? ``` @@ -1680,7 +1680,7 @@ class DisplayWaveview1MathMathItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:STATE {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:STATE {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:STATE? ``` @@ -1710,7 +1710,7 @@ class DisplayWaveview1MathMathItemAutoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:AUTOScale {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:AUTOScale? ``` @@ -1765,7 +1765,7 @@ def autoscale(self) -> DisplayWaveview1MathMathItemAutoscale: SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:AUTOScale {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:AUTOScale? ``` @@ -1796,7 +1796,7 @@ def state(self) -> DisplayWaveview1MathMathItemState: SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:STATE {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:STATE {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:STATE? ``` @@ -2233,7 +2233,7 @@ class DisplayWaveview1DchItemDigitalBitState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:DCH_D:STATE {|OFF|ON} + - DISplay:WAVEView1:DCH_D:STATE {ON|OFF|} - DISplay:WAVEView1:DCH_D:STATE? ``` @@ -2286,7 +2286,7 @@ def state(self) -> DisplayWaveview1DchItemDigitalBitState: SCPI Syntax: ``` - - DISplay:WAVEView1:DCH_D:STATE {|OFF|ON} + - DISplay:WAVEView1:DCH_D:STATE {ON|OFF|} - DISplay:WAVEView1:DCH_D:STATE? ``` @@ -2871,7 +2871,7 @@ class DisplayWaveview1CursorCursor1State(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:CURSor:CURSOR1:STATE {|OFF|ON} + - DISplay:WAVEView1:CURSor:CURSOR1:STATE {ON|OFF|} - DISplay:WAVEView1:CURSor:CURSOR1:STATE? ``` @@ -3950,7 +3950,7 @@ def state(self) -> DisplayWaveview1CursorCursor1State: SCPI Syntax: ``` - - DISplay:WAVEView1:CURSor:CURSOR1:STATE {|OFF|ON} + - DISplay:WAVEView1:CURSor:CURSOR1:STATE {ON|OFF|} - DISplay:WAVEView1:CURSor:CURSOR1:STATE? ``` @@ -4264,7 +4264,7 @@ class DisplayWaveview1ChannelState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:CH:STATE {|OFF|ON} + - DISplay:WAVEView1:CH:STATE {ON|OFF|} - DISplay:WAVEView1:CH:STATE? ``` @@ -4310,7 +4310,7 @@ def state(self) -> DisplayWaveview1ChannelState: SCPI Syntax: ``` - - DISplay:WAVEView1:CH:STATE {|OFF|ON} + - DISplay:WAVEView1:CH:STATE {ON|OFF|} - DISplay:WAVEView1:CH:STATE? ``` @@ -8834,7 +8834,7 @@ class DisplayPlotview1CursorState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:PLOTView1:CURSor:STATE {OFF|ON|} + - DISplay:PLOTView1:CURSor:STATE {ON|OFF|} - DISplay:PLOTView1:CURSor:STATE? ``` @@ -9903,7 +9903,7 @@ def state(self) -> DisplayPlotview1CursorState: SCPI Syntax: ``` - - DISplay:PLOTView1:CURSor:STATE {OFF|ON|} + - DISplay:PLOTView1:CURSor:STATE {ON|OFF|} - DISplay:PLOTView1:CURSor:STATE? ``` @@ -9966,7 +9966,7 @@ class DisplayPlotview1Autoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:PLOTView1:AUTOScale {OFF|ON|} + - DISplay:PLOTView1:AUTOScale {ON|OFF|} - DISplay:PLOTView1:AUTOScale? ``` @@ -10021,7 +10021,7 @@ def autoscale(self) -> DisplayPlotview1Autoscale: SCPI Syntax: ``` - - DISplay:PLOTView1:AUTOScale {OFF|ON|} + - DISplay:PLOTView1:AUTOScale {ON|OFF|} - DISplay:PLOTView1:AUTOScale? ``` @@ -10818,7 +10818,7 @@ class DisplayMathfftview1MathMathItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:MATHFFTView1:MATH:MATH:STATE {OFF|ON|} + - DISplay:MATHFFTView1:MATH:MATH:STATE {ON|OFF|} - DISplay:MATHFFTView1:MATH:MATH:STATE? ``` @@ -10866,7 +10866,7 @@ def state(self) -> DisplayMathfftview1MathMathItemState: SCPI Syntax: ``` - - DISplay:MATHFFTView1:MATH:MATH:STATE {OFF|ON|} + - DISplay:MATHFFTView1:MATH:MATH:STATE {ON|OFF|} - DISplay:MATHFFTView1:MATH:MATH:STATE? ``` @@ -12487,7 +12487,7 @@ class DisplayMathfftview1Autoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:MATHFFTView1:AUTOScale {OFF|ON| + - DISplay:MATHFFTView1:AUTOScale {ON|OFF|} - DISplay:MATHFFTView1:AUTOScale? ``` @@ -12544,7 +12544,7 @@ def autoscale(self) -> DisplayMathfftview1Autoscale: SCPI Syntax: ``` - - DISplay:MATHFFTView1:AUTOScale {OFF|ON| + - DISplay:MATHFFTView1:AUTOScale {ON|OFF|} - DISplay:MATHFFTView1:AUTOScale? ``` @@ -12931,7 +12931,7 @@ class DisplayGlobalRefItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:REF:STATE {|OFF|ON} + - DISplay:GLObal:REF:STATE {ON|OFF|} - DISplay:GLObal:REF:STATE? ``` @@ -12983,7 +12983,7 @@ def state(self) -> DisplayGlobalRefItemState: SCPI Syntax: ``` - - DISplay:GLObal:REF:STATE {|OFF|ON} + - DISplay:GLObal:REF:STATE {ON|OFF|} - DISplay:GLObal:REF:STATE? ``` @@ -13015,7 +13015,7 @@ class DisplayGlobalMathItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:MATH:STATE {|OFF|ON} + - DISplay:GLObal:MATH:STATE {ON|OFF|} - DISplay:GLObal:MATH:STATE? ``` @@ -13063,7 +13063,7 @@ def state(self) -> DisplayGlobalMathItemState: SCPI Syntax: ``` - - DISplay:GLObal:MATH:STATE {|OFF|ON} + - DISplay:GLObal:MATH:STATE {ON|OFF|} - DISplay:GLObal:MATH:STATE? ``` @@ -13094,7 +13094,7 @@ class DisplayGlobalDchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:DCH:STATE {|OFF|ON} + - DISplay:GLObal:DCH:STATE {ON|OFF|} - DISplay:GLObal:DCH:STATE? ``` @@ -13146,7 +13146,7 @@ def state(self) -> DisplayGlobalDchItemState: SCPI Syntax: ``` - - DISplay:GLObal:DCH:STATE {|OFF|ON} + - DISplay:GLObal:DCH:STATE {ON|OFF|} - DISplay:GLObal:DCH:STATE? ``` @@ -13179,7 +13179,7 @@ class DisplayGlobalChannelState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:CH:STATE {|OFF|ON} + - DISplay:GLObal:CH:STATE {ON|OFF|} - DISplay:GLObal:CH:STATE? ``` @@ -13227,7 +13227,7 @@ def state(self) -> DisplayGlobalChannelState: SCPI Syntax: ``` - - DISplay:GLObal:CH:STATE {|OFF|ON} + - DISplay:GLObal:CH:STATE {ON|OFF|} - DISplay:GLObal:CH:STATE? ``` @@ -13258,7 +13258,7 @@ class DisplayGlobalBItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:B:STATE {|OFF|ON} + - DISplay:GLObal:B:STATE {ON|OFF|} - DISplay:GLObal:B:STATE? ``` @@ -13305,7 +13305,7 @@ def state(self) -> DisplayGlobalBItemState: SCPI Syntax: ``` - - DISplay:GLObal:B:STATE {|OFF|ON} + - DISplay:GLObal:B:STATE {ON|OFF|} - DISplay:GLObal:B:STATE? ``` @@ -13923,7 +13923,7 @@ def waveform(self) -> DisplayWaveform: SCPI Syntax: ``` - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/horizontal.py b/src/tm_devices/commands/gen_1zn03_mso/horizontal.py index 75fa5f28..80825be6 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/horizontal.py +++ b/src/tm_devices/commands/gen_1zn03_mso/horizontal.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - HORizontal:ACQDURATION? - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? - HORizontal:DELay:TIMe - HORizontal:DELay:TIMe? @@ -757,7 +757,7 @@ class HorizontalDelayMode(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` @@ -804,7 +804,7 @@ def mode(self) -> HorizontalDelayMode: SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/math.py b/src/tm_devices/commands/gen_1zn03_mso/math.py index e0cfd6b8..34ed071c 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/math.py +++ b/src/tm_devices/commands/gen_1zn03_mso/math.py @@ -13,7 +13,7 @@ - MATH:ADDNew - MATH:DELete - MATH:LIST? - - MATH:MATH:AVG:MODE {|OFF|ON} + - MATH:MATH:AVG:MODE {ON|OFF|} - MATH:MATH:AVG:MODE? - MATH:MATH:AVG:WEIGht - MATH:MATH:AVG:WEIGht? @@ -31,15 +31,15 @@ - MATH:MATH:INTERpolation? - MATH:MATH:LABel:COLor - MATH:MATH:LABel:COLor? - - MATH:MATH:LABel:FONT:BOLD {|OFF|ON} + - MATH:MATH:LABel:FONT:BOLD {ON|OFF|} - MATH:MATH:LABel:FONT:BOLD? - - MATH:MATH:LABel:FONT:ITALic {|OFF|ON} + - MATH:MATH:LABel:FONT:ITALic {ON|OFF|} - MATH:MATH:LABel:FONT:ITALic? - MATH:MATH:LABel:FONT:SIZE - MATH:MATH:LABel:FONT:SIZE? - MATH:MATH:LABel:FONT:TYPE - MATH:MATH:LABel:FONT:TYPE? - - MATH:MATH:LABel:FONT:UNDERline {|OFF|ON} + - MATH:MATH:LABel:FONT:UNDERline {ON|OFF|} - MATH:MATH:LABel:FONT:UNDERline? - MATH:MATH:LABel:NAMe - MATH:MATH:LABel:NAMe? @@ -774,7 +774,7 @@ class MathMathItemLabelFontUnderline(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:UNDERline {|OFF|ON} + - MATH:MATH:LABel:FONT:UNDERline {ON|OFF|} - MATH:MATH:LABel:FONT:UNDERline? ``` @@ -853,7 +853,7 @@ class MathMathItemLabelFontItalic(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:ITALic {|OFF|ON} + - MATH:MATH:LABel:FONT:ITALic {ON|OFF|} - MATH:MATH:LABel:FONT:ITALic? ``` @@ -880,7 +880,7 @@ class MathMathItemLabelFontBold(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:BOLD {|OFF|ON} + - MATH:MATH:LABel:FONT:BOLD {ON|OFF|} - MATH:MATH:LABel:FONT:BOLD? ``` @@ -932,7 +932,7 @@ def bold(self) -> MathMathItemLabelFontBold: SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:BOLD {|OFF|ON} + - MATH:MATH:LABel:FONT:BOLD {ON|OFF|} - MATH:MATH:LABel:FONT:BOLD? ``` @@ -960,7 +960,7 @@ def italic(self) -> MathMathItemLabelFontItalic: SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:ITALic {|OFF|ON} + - MATH:MATH:LABel:FONT:ITALic {ON|OFF|} - MATH:MATH:LABel:FONT:ITALic? ``` @@ -1042,7 +1042,7 @@ def underline(self) -> MathMathItemLabelFontUnderline: SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:UNDERline {|OFF|ON} + - MATH:MATH:LABel:FONT:UNDERline {ON|OFF|} - MATH:MATH:LABel:FONT:UNDERline? ``` @@ -1535,7 +1535,7 @@ class MathMathItemAvgMode(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MATH:MATH:AVG:MODE {|OFF|ON} + - MATH:MATH:AVG:MODE {ON|OFF|} - MATH:MATH:AVG:MODE? ``` @@ -1581,7 +1581,7 @@ def mode(self) -> MathMathItemAvgMode: SCPI Syntax: ``` - - MATH:MATH:AVG:MODE {|OFF|ON} + - MATH:MATH:AVG:MODE {ON|OFF|} - MATH:MATH:AVG:MODE? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/measurement.py b/src/tm_devices/commands/gen_1zn03_mso/measurement.py index 53749123..08d078f2 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/measurement.py +++ b/src/tm_devices/commands/gen_1zn03_mso/measurement.py @@ -125,7 +125,7 @@ - MEASUrement:MEAS:CCRESUlts:CURRentacq:STDDev? - MEASUrement:MEAS:DELay:EDGE {FALL|RISe|BOTH|SAMEas|OPPositeas} - MEASUrement:MEAS:DELay:EDGE? - - MEASUrement:MEAS:DISPlaystat:ENABle {OFF|ON|} + - MEASUrement:MEAS:DISPlaystat:ENABle {ON|OFF|} - MEASUrement:MEAS:DISPlaystat:ENABle? - MEASUrement:MEAS:EDGE {RISE|FALL|BOTH} - MEASUrement:MEAS:EDGE? @@ -251,7 +251,7 @@ - MEASUrement:MEAS:TOEDGESEARCHDIRect? - MEASUrement:MEAS:TOEdge {SAMEas|OPPositeas|RISe|FALL|BOTH} - MEASUrement:MEAS:TOEdge? - - MEASUrement:MEAS:TRANSition {|OFF|ON} + - MEASUrement:MEAS:TRANSition {ON|OFF|} - MEASUrement:MEAS:TRANSition? - MEASUrement:MEAS:TYPe {ACRMS|AMPlITUDE|AREA|BASE|BURSTWIDTH|DATARATE|DELAY|FALLSLEWRATE|FALLTIME|FREQUENCY|HIGHTIME|HOLD|LOWTIME|MAXIMUM|MEAN|MINIMUM|NDUtY|NPERIOD|NOVERSHOOT|NWIDTH|PDUTY|PERIOD|PHASE|PK2Pk|POVERSHOOT|PWIDTH|RISESLEWRATE|RISETIME|RMS|SETUP|SKEW|TIMEOUTSIDELEVEL|TOP} - MEASUrement:MEAS:TYPe? @@ -3120,7 +3120,7 @@ class MeasurementMeasItemTransition(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:TRANSition {|OFF|ON} + - MEASUrement:MEAS:TRANSition {ON|OFF|} - MEASUrement:MEAS:TRANSition? ``` @@ -6744,7 +6744,7 @@ class MeasurementMeasItemDisplaystatEnable(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:DISPlaystat:ENABle {OFF|ON|} + - MEASUrement:MEAS:DISPlaystat:ENABle {ON|OFF|} - MEASUrement:MEAS:DISPlaystat:ENABle? ``` @@ -6796,7 +6796,7 @@ def enable(self) -> MeasurementMeasItemDisplaystatEnable: SCPI Syntax: ``` - - MEASUrement:MEAS:DISPlaystat:ENABle {OFF|ON|} + - MEASUrement:MEAS:DISPlaystat:ENABle {ON|OFF|} - MEASUrement:MEAS:DISPlaystat:ENABle? ``` @@ -8630,7 +8630,7 @@ def transition(self) -> MeasurementMeasItemTransition: SCPI Syntax: ``` - - MEASUrement:MEAS:TRANSition {|OFF|ON} + - MEASUrement:MEAS:TRANSition {ON|OFF|} - MEASUrement:MEAS:TRANSition? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/ref.py b/src/tm_devices/commands/gen_1zn03_mso/ref.py index 90caa7c1..42886d98 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/ref.py +++ b/src/tm_devices/commands/gen_1zn03_mso/ref.py @@ -16,15 +16,15 @@ - REF:REF:DESKew? - REF:REF:LABel:COLor - REF:REF:LABel:COLor? - - REF:REF:LABel:FONT:BOLD {|OFF|ON} + - REF:REF:LABel:FONT:BOLD {ON|OFF|} - REF:REF:LABel:FONT:BOLD? - - REF:REF:LABel:FONT:ITALic {|OFF|ON} + - REF:REF:LABel:FONT:ITALic {ON|OFF|} - REF:REF:LABel:FONT:ITALic? - REF:REF:LABel:FONT:SIZE - REF:REF:LABel:FONT:SIZE? - REF:REF:LABel:FONT:TYPE - REF:REF:LABel:FONT:TYPE? - - REF:REF:LABel:FONT:UNDERline {|OFF|ON} + - REF:REF:LABel:FONT:UNDERline {ON|OFF|} - REF:REF:LABel:FONT:UNDERline? - REF:REF:LABel:NAMe - REF:REF:LABel:NAMe? @@ -169,7 +169,7 @@ class RefRefItemLabelFontUnderline(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - REF:REF:LABel:FONT:UNDERline {|OFF|ON} + - REF:REF:LABel:FONT:UNDERline {ON|OFF|} - REF:REF:LABel:FONT:UNDERline? ``` @@ -246,7 +246,7 @@ class RefRefItemLabelFontItalic(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - REF:REF:LABel:FONT:ITALic {|OFF|ON} + - REF:REF:LABel:FONT:ITALic {ON|OFF|} - REF:REF:LABel:FONT:ITALic? ``` @@ -272,7 +272,7 @@ class RefRefItemLabelFontBold(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - REF:REF:LABel:FONT:BOLD {|OFF|ON} + - REF:REF:LABel:FONT:BOLD {ON|OFF|} - REF:REF:LABel:FONT:BOLD? ``` @@ -323,7 +323,7 @@ def bold(self) -> RefRefItemLabelFontBold: SCPI Syntax: ``` - - REF:REF:LABel:FONT:BOLD {|OFF|ON} + - REF:REF:LABel:FONT:BOLD {ON|OFF|} - REF:REF:LABel:FONT:BOLD? ``` @@ -350,7 +350,7 @@ def italic(self) -> RefRefItemLabelFontItalic: SCPI Syntax: ``` - - REF:REF:LABel:FONT:ITALic {|OFF|ON} + - REF:REF:LABel:FONT:ITALic {ON|OFF|} - REF:REF:LABel:FONT:ITALic? ``` @@ -429,7 +429,7 @@ def underline(self) -> RefRefItemLabelFontUnderline: SCPI Syntax: ``` - - REF:REF:LABel:FONT:UNDERline {|OFF|ON} + - REF:REF:LABel:FONT:UNDERline {ON|OFF|} - REF:REF:LABel:FONT:UNDERline? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/saveon.py b/src/tm_devices/commands/gen_1zn03_mso/saveon.py index 49f38023..8172ca9f 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/saveon.py +++ b/src/tm_devices/commands/gen_1zn03_mso/saveon.py @@ -13,13 +13,13 @@ - SAVEON:FILE:DEST? - SAVEON:FILE:NAME - SAVEON:FILE:NAME? - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe:FILEFormat {PNG|BMP|JPG} - SAVEON:IMAGe:FILEFormat? - SAVEON:IMAGe? - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform:FILEFormat {INTERNal|SPREADSheet} - SAVEON:WAVEform:FILEFormat? - SAVEON:WAVEform:SOURce {CH|DCH_D|MATH|REF|ALL} @@ -111,7 +111,7 @@ class SaveonWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` @@ -214,7 +214,7 @@ class SaveonTrigger(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? ``` @@ -267,7 +267,7 @@ class SaveonImage(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? ``` @@ -489,7 +489,7 @@ def image(self) -> SaveonImage: SCPI Syntax: ``` - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? ``` @@ -528,7 +528,7 @@ def trigger(self) -> SaveonTrigger: SCPI Syntax: ``` - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? ``` @@ -558,7 +558,7 @@ def waveform(self) -> SaveonWaveform: SCPI Syntax: ``` - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_1zn03_mso/search.py b/src/tm_devices/commands/gen_1zn03_mso/search.py index 4bc4a28d..718ef7a3 100644 --- a/src/tm_devices/commands/gen_1zn03_mso/search.py +++ b/src/tm_devices/commands/gen_1zn03_mso/search.py @@ -212,9 +212,9 @@ - SEARCH:SEARCH:TRIGger:A:SETHold:LOGICPattern:REF? - SEARCH:SEARCH:TRIGger:A:SETHold:SETTime - SEARCH:SEARCH:TRIGger:A:SETHold:SETTime? - - SEARCH:SEARCH:TRIGger:A:STATE {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STATE {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STATE? - - SEARCH:SEARCH:TRIGger:A:STOPAcq {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STOPAcq {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STOPAcq? - SEARCH:SEARCH:TRIGger:A:TIMEOut:LOGICQUALification {ON|OFF} - SEARCH:SEARCH:TRIGger:A:TIMEOut:LOGICQUALification? @@ -658,7 +658,7 @@ class SearchSearchItemTriggerAStopacq(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STOPAcq {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STOPAcq {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STOPAcq? ``` @@ -688,7 +688,7 @@ class SearchSearchItemTriggerAState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STATE {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STATE {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STATE? ``` @@ -8814,7 +8814,7 @@ def state(self) -> SearchSearchItemTriggerAState: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STATE {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STATE {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STATE? ``` @@ -8844,7 +8844,7 @@ def stopacq(self) -> SearchSearchItemTriggerAStopacq: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STOPAcq {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STOPAcq {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STOPAcq? ``` diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/awgcontrol.py b/src/tm_devices/commands/gen_2i1z2s_awg/awgcontrol.py index 4e729ad8..f02660bd 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/awgcontrol.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/awgcontrol.py @@ -460,10 +460,10 @@ class AwgcontrolClockSource(SCPICmdWrite, SCPICmdRead): Info: - ``INTernal`` - clock signal is generated internally and the reference frequency is derived - by the internal oscillator. EFIXed - clock is generated internally and the reference - frequency is derived from a fixed 10 MHz reference supplied at the Reference In connector. - EVARiable - clock is generated internally and the reference frequency is derived from a - variable reference supplied at the Reference In connector. EXTernal - clock signal + by the internal oscillator.EFIXed - clock is generated internally and the reference + frequency is derived from a fixed 10 MHz reference supplied at the Reference In + connector.EVARiable - clock is generated internally and the reference frequency is derived + from a variable reference supplied at the Reference In connector.EXTernal - clock signal supplied by the Clock In connector and the reference frequency is derived from the internal precision oscillator. - ``*RST`` sets this to INT. @@ -634,10 +634,10 @@ def source(self) -> AwgcontrolClockSource: Info: - ``INTernal`` - clock signal is generated internally and the reference frequency is - derived by the internal oscillator. EFIXed - clock is generated internally and the + derived by the internal oscillator.EFIXed - clock is generated internally and the reference frequency is derived from a fixed 10 MHz reference supplied at the Reference - In connector. EVARiable - clock is generated internally and the reference frequency is - derived from a variable reference supplied at the Reference In connector. EXTernal - + In connector.EVARiable - clock is generated internally and the reference frequency is + derived from a variable reference supplied at the Reference In connector.EXTernal - clock signal supplied by the Clock In connector and the reference frequency is derived from the internal precision oscillator. - ``*RST`` sets this to INT. diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/clock.py b/src/tm_devices/commands/gen_2i1z2s_awg/clock.py index d1158f21..989fd030 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/clock.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/clock.py @@ -430,7 +430,8 @@ class ClockJitter(SCPICmdWrite): Description: - This command sets or returns the state (enabled or disabled) to apply or not apply jitter reduction to the internal system clock or the clock signal applied to the Reference In - connector. + connector. When enabled, the chosen sample rate value will be adjusted to achieve the best + performance. Usage: - Using the ``.write(value)`` method will send the ``CLOCk:JITTer value`` command. @@ -958,7 +959,8 @@ def jitter(self) -> ClockJitter: Description: - This command sets or returns the state (enabled or disabled) to apply or not apply jitter reduction to the internal system clock or the clock signal applied to the - Reference In connector. + Reference In connector. When enabled, the chosen sample rate value will be adjusted to + achieve the best performance. Usage: - Using the ``.write(value)`` method will send the ``CLOCk:JITTer value`` command. diff --git a/src/tm_devices/commands/gen_3n9auv_awg/diagnostic.py b/src/tm_devices/commands/gen_2i1z2s_awg/diagnostic.py similarity index 98% rename from src/tm_devices/commands/gen_3n9auv_awg/diagnostic.py rename to src/tm_devices/commands/gen_2i1z2s_awg/diagnostic.py index 492dc785..a717c69a 100644 --- a/src/tm_devices/commands/gen_3n9auv_awg/diagnostic.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/diagnostic.py @@ -1,7 +1,7 @@ """The diagnostic commands module. These commands are used in the following models: -AWG5200, AWG70KA, AWG70KB +AWG5200 THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. @@ -218,8 +218,8 @@ class DiagnosticSelectVerify(SCPICmdReadWithArguments): Description: - This command returns selection status of one specific test. A specific test requires the - 'subsystem', 'area', and 'test'. This is context sensitive and is dependent on the type as - set with the command ``DIAGNOSTIC:TYPE``. + 'subsystem', 'area', and 'test'. This is context sensitive and is dependent on the type + as set with the command ``DIAGNOSTIC:TYPE``. Usage: - Using the ``.query(argument)`` method will send the ``DIAGnostic:SELect:VERify? argument`` @@ -269,8 +269,8 @@ def verify_(self) -> DiagnosticSelectVerify: Description: - This command returns selection status of one specific test. A specific test requires - the 'subsystem', 'area', and 'test'. This is context sensitive and is dependent on the - type as set with the command ``DIAGNOSTIC:TYPE``. + the 'subsystem', 'area', and 'test'. This is context sensitive and is dependent on + the type as set with the command ``DIAGNOSTIC:TYPE``. Usage: - Using the ``.query(argument)`` method will send the @@ -602,7 +602,7 @@ class DiagnosticImmediate(SCPICmdWriteNoArguments, SCPICmdRead): Description: - This command executes all of the NORMal diagnostic tests. The query form of this command executes all of the NORMal diagnostics and returns the results in the form of numeric of - values of 0 for no errors or -330 for one or more tests failed. This changes the active + values of 0 for no errors or -330 for one or more tests failed. This changes the active mode to DIAGnostic, if necessary, and returns back to the original active mode when done. This makes a single pass of all of the NORMal diagnostics. @@ -1215,7 +1215,7 @@ def immediate(self) -> DiagnosticImmediate: Description: - This command executes all of the NORMal diagnostic tests. The query form of this command executes all of the NORMal diagnostics and returns the results in the form of - numeric of values of 0 for no errors or -330 for one or more tests failed. This + numeric of values of 0 for no errors or -330 for one or more tests failed. This changes the active mode to DIAGnostic, if necessary, and returns back to the original active mode when done. This makes a single pass of all of the NORMal diagnostics. diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/instrument.py b/src/tm_devices/commands/gen_2i1z2s_awg/instrument.py index 8c57c438..ca5836d1 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/instrument.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/instrument.py @@ -44,7 +44,7 @@ class InstrumentMode(SCPICmdWrite, SCPICmdRead): ``` Info: - - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode. FGEN sets the + - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode.FGEN sets the instrument to the Function generator mode. - ``*RST`` sets this to AWG. """ @@ -176,7 +176,7 @@ def mode(self) -> InstrumentMode: ``` Info: - - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode. FGEN sets the + - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode.FGEN sets the instrument to the Function generator mode. - ``*RST`` sets this to AWG. """ diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/mmemory.py b/src/tm_devices/commands/gen_2i1z2s_awg/mmemory.py index cb78992d..0002ca2d 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/mmemory.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/mmemory.py @@ -849,8 +849,8 @@ class MmemoryImportParameterNormalize(SCPICmdWrite, SCPICmdRead): Info: - ``NONE`` will not normalize the imported data. The data may contain points outside of the - AWG's amplitude range. FSCale normalizes the imported data to the full amplitude range. - ZREFerence normalizes the imported data while preserving the offset. + AWG's amplitude range.FSCale normalizes the imported data to the full amplitude + range.ZREFerence normalizes the imported data while preserving the offset. """ @@ -898,8 +898,8 @@ def normalize(self) -> MmemoryImportParameterNormalize: Info: - ``NONE`` will not normalize the imported data. The data may contain points outside of - the AWG's amplitude range. FSCale normalizes the imported data to the full amplitude - range. ZREFerence normalizes the imported data while preserving the offset. + the AWG's amplitude range.FSCale normalizes the imported data to the full amplitude + range.ZREFerence normalizes the imported data while preserving the offset. """ return self._normalize diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/output.py b/src/tm_devices/commands/gen_2i1z2s_awg/output.py index 02e4bbd3..e0bbd193 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/output.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/output.py @@ -60,8 +60,8 @@ class OutputItemWvalueMarkerItem(ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICm Info: - ``FIRSt`` sets the marker output level to match the first point in the waveform when the - channel is in the waiting-for-trigger state. LOW sets the marker output to a logic level - low for when the channel is in the waiting-for-trigger state. HIGH sets the marker output + channel is in the waiting-for-trigger state.LOW sets the marker output to a logic level + low for when the channel is in the waiting-for-trigger state.HIGH sets the marker output to a logic level high when the channel is in the waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. @@ -92,7 +92,7 @@ class OutputItemWvalueAnalogState(SCPICmdWrite, SCPICmdRead): Info: - ``FIRSt`` sets the output level for channel 'n' to match the first point in the waveform - when channel 'n' is in the Waiting-for-trigger state. ZERO sets the output level for + when channel 'n' is in the Waiting-for-trigger state.ZERO sets the output level for channel 'n' to 0 volts when channel 'n' is in the Waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. @@ -139,7 +139,7 @@ def state(self) -> OutputItemWvalueAnalogState: Info: - ``FIRSt`` sets the output level for channel 'n' to match the first point in the - waveform when channel 'n' is in the Waiting-for-trigger state. ZERO sets the output + waveform when channel 'n' is in the Waiting-for-trigger state.ZERO sets the output level for channel 'n' to 0 volts when channel 'n' is in the Waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. @@ -191,8 +191,8 @@ def marker(self) -> Dict[int, OutputItemWvalueMarkerItem]: Info: - ``FIRSt`` sets the marker output level to match the first point in the waveform when - the channel is in the waiting-for-trigger state. LOW sets the marker output to a logic - level low for when the channel is in the waiting-for-trigger state. HIGH sets the + the channel is in the waiting-for-trigger state.LOW sets the marker output to a logic + level low for when the channel is in the waiting-for-trigger state.HIGH sets the marker output to a logic level high when the channel is in the waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. @@ -237,7 +237,7 @@ class OutputItemSvalueMarkerItem(ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICm Info: - ``OFF`` sets the stop state marker output for channel 'n' to open (electrically - disconnected). LOW sets the stop state marker output for channel 'n' value to 0 volts.[n] + disconnected).LOW sets the stop state marker output for channel 'n' value to 0 volts.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. - ``*RST`` sets all channel markers to LOW. @@ -265,9 +265,9 @@ class OutputItemSvalueAnalogState(SCPICmdWrite, SCPICmdRead): ``` Info: - - ``OFF`` sets the stop state output for channel 'n' to open (electrically disconnected). - ZERO sets the stop state output value for channel 'n' to 0 volts.[n] determines the - channel number. If omitted, interpreted as 1. + - ``OFF`` sets the stop state output for channel 'n' to open (electrically + disconnected).ZERO sets the stop state output value for channel 'n' to 0 volts.[n] + determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. """ @@ -311,7 +311,7 @@ def state(self) -> OutputItemSvalueAnalogState: Info: - ``OFF`` sets the stop state output for channel 'n' to open (electrically - disconnected). ZERO sets the stop state output value for channel 'n' to 0 volts.[n] + disconnected).ZERO sets the stop state output value for channel 'n' to 0 volts.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. """ @@ -361,7 +361,7 @@ def marker(self) -> Dict[int, OutputItemSvalueMarkerItem]: Info: - ``OFF`` sets the stop state marker output for channel 'n' to open (electrically - disconnected). LOW sets the stop state marker output for channel 'n' value to 0 + disconnected).LOW sets the stop state marker output for channel 'n' value to 0 volts.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. - ``*RST`` sets all channel markers to LOW. @@ -402,7 +402,7 @@ class OutputItemState(SCPICmdWrite, SCPICmdRead): ``` Info: - - ``0`` or OFF disables the channel's output. 1 or ON enables the channel's output.[n] + - ``0`` or OFF disables the channel's output.1 or ON enables the channel's output.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to 0. """ @@ -539,7 +539,7 @@ def state(self) -> OutputItemState: ``` Info: - - ``0`` or OFF disables the channel's output. 1 or ON enables the channel's output.[n] + - ``0`` or OFF disables the channel's output.1 or ON enables the channel's output.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to 0. """ diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/source.py b/src/tm_devices/commands/gen_2i1z2s_awg/source.py index 5342739c..5430c467 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/source.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/source.py @@ -1993,10 +1993,9 @@ class SourceRccouple(SCPICmdWrite): Description: - This command sets or returns the Coupled state (enabled or disabled) of the Run Mode - control of a multi-channel instrument. The Run controls consist of the Run Mode and - Trigger Input. The set form of the command forces all channels to match channel 1. After - the initial coupling of the settings, changes made to the Run Mode of any channel affects - all channels. + control. The Run controls consist of the Run Mode and Trigger Input. The set form of the + command forces all channels to match channel 1. After the initial coupling of the + settings, changes made to the Run Mode of any channel affects all channels. Usage: - Using the ``.write(value)`` method will send the ``SOURce:RCCouple value`` command. @@ -2132,10 +2131,9 @@ def rccouple(self) -> SourceRccouple: Description: - This command sets or returns the Coupled state (enabled or disabled) of the Run Mode - control of a multi-channel instrument. The Run controls consist of the Run Mode and - Trigger Input. The set form of the command forces all channels to match channel 1. - After the initial coupling of the settings, changes made to the Run Mode of any - channel affects all channels. + control. The Run controls consist of the Run Mode and Trigger Input. The set form of + the command forces all channels to match channel 1. After the initial coupling of the + settings, changes made to the Run Mode of any channel affects all channels. Usage: - Using the ``.write(value)`` method will send the ``SOURce:RCCouple value`` command. diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/synchronize.py b/src/tm_devices/commands/gen_2i1z2s_awg/synchronize.py index 8f22705b..6dc4584d 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/synchronize.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/synchronize.py @@ -9,6 +9,10 @@ Commands and Queries: ``` + - SYNChronize:ADJust:STARt + - SYNChronize:DESKew:ABORt + - SYNChronize:DESKew:STARt + - SYNChronize:DESKew:STATe? - SYNChronize:ENABle {0|1|OFF|ON} - SYNChronize:ENABle? - SYNChronize:TYPE {MASTer|SLAVe} @@ -18,7 +22,7 @@ from typing import Optional, TYPE_CHECKING -from ..helpers import SCPICmdRead, SCPICmdWrite +from ..helpers import SCPICmdRead, SCPICmdWrite, SCPICmdWriteNoArguments if TYPE_CHECKING: from tm_devices.drivers.pi.pi_device import PIDevice @@ -67,6 +71,182 @@ class SynchronizeEnable(SCPICmdWrite, SCPICmdRead): """ +class SynchronizeDeskewState(SCPICmdRead): + """The ``SYNChronize:DESKew:STATe`` command. + + Description: + - This command returns the state of the system deskew condition. + + Usage: + - Using the ``.query()`` method will send the ``SYNChronize:DESKew:STATe?`` query. + - Using the ``.verify(value)`` method will send the ``SYNChronize:DESKew:STATe?`` query and + raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - SYNChronize:DESKew:STATe? + ``` + """ + + +class SynchronizeDeskewStart(SCPICmdWriteNoArguments): + """The ``SYNChronize:DESKew:STARt`` command. + + Description: + - This command only performs a system deskew calibration. + + Usage: + - Using the ``.write()`` method will send the ``SYNChronize:DESKew:STARt`` command. + + SCPI Syntax: + ``` + - SYNChronize:DESKew:STARt + ``` + """ + + +class SynchronizeDeskewAbort(SCPICmdWriteNoArguments): + """The ``SYNChronize:DESKew:ABORt`` command. + + Description: + - This command cancels a system deskew calibration. + + Usage: + - Using the ``.write()`` method will send the ``SYNChronize:DESKew:ABORt`` command. + + SCPI Syntax: + ``` + - SYNChronize:DESKew:ABORt + ``` + """ + + +class SynchronizeDeskew(SCPICmdRead): + """The ``SYNChronize:DESKew`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``SYNChronize:DESKew?`` query. + - Using the ``.verify(value)`` method will send the ``SYNChronize:DESKew?`` query and raise + an AssertionError if the returned value does not match ``value``. + + Properties: + - ``.abort``: The ``SYNChronize:DESKew:ABORt`` command. + - ``.state``: The ``SYNChronize:DESKew:STATe`` command. + - ``.start``: The ``SYNChronize:DESKew:STARt`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._abort = SynchronizeDeskewAbort(device, f"{self._cmd_syntax}:ABORt") + self._state = SynchronizeDeskewState(device, f"{self._cmd_syntax}:STATe") + self._start = SynchronizeDeskewStart(device, f"{self._cmd_syntax}:STARt") + + @property + def abort(self) -> SynchronizeDeskewAbort: + """Return the ``SYNChronize:DESKew:ABORt`` command. + + Description: + - This command cancels a system deskew calibration. + + Usage: + - Using the ``.write()`` method will send the ``SYNChronize:DESKew:ABORt`` command. + + SCPI Syntax: + ``` + - SYNChronize:DESKew:ABORt + ``` + """ + return self._abort + + @property + def state(self) -> SynchronizeDeskewState: + """Return the ``SYNChronize:DESKew:STATe`` command. + + Description: + - This command returns the state of the system deskew condition. + + Usage: + - Using the ``.query()`` method will send the ``SYNChronize:DESKew:STATe?`` query. + - Using the ``.verify(value)`` method will send the ``SYNChronize:DESKew:STATe?`` query + and raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - SYNChronize:DESKew:STATe? + ``` + """ + return self._state + + @property + def start(self) -> SynchronizeDeskewStart: + """Return the ``SYNChronize:DESKew:STARt`` command. + + Description: + - This command only performs a system deskew calibration. + + Usage: + - Using the ``.write()`` method will send the ``SYNChronize:DESKew:STARt`` command. + + SCPI Syntax: + ``` + - SYNChronize:DESKew:STARt + ``` + """ + return self._start + + +class SynchronizeAdjustStart(SCPICmdWriteNoArguments): + """The ``SYNChronize:ADJust:STARt`` command. + + Description: + - This command only performs a system sample rate calibration on the synchronized system. + This command may take up to 3 minutes to complete. + + Usage: + - Using the ``.write()`` method will send the ``SYNChronize:ADJust:STARt`` command. + + SCPI Syntax: + ``` + - SYNChronize:ADJust:STARt + ``` + """ + + +class SynchronizeAdjust(SCPICmdRead): + """The ``SYNChronize:ADJust`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``SYNChronize:ADJust?`` query. + - Using the ``.verify(value)`` method will send the ``SYNChronize:ADJust?`` query and raise + an AssertionError if the returned value does not match ``value``. + + Properties: + - ``.start``: The ``SYNChronize:ADJust:STARt`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._start = SynchronizeAdjustStart(device, f"{self._cmd_syntax}:STARt") + + @property + def start(self) -> SynchronizeAdjustStart: + """Return the ``SYNChronize:ADJust:STARt`` command. + + Description: + - This command only performs a system sample rate calibration on the synchronized + system. This command may take up to 3 minutes to complete. + + Usage: + - Using the ``.write()`` method will send the ``SYNChronize:ADJust:STARt`` command. + + SCPI Syntax: + ``` + - SYNChronize:ADJust:STARt + ``` + """ + return self._start + + class Synchronize(SCPICmdRead): """The ``SYNChronize`` command tree. @@ -76,6 +256,8 @@ class Synchronize(SCPICmdRead): AssertionError if the returned value does not match ``value``. Properties: + - ``.adjust``: The ``SYNChronize:ADJust`` command tree. + - ``.deskew``: The ``SYNChronize:DESKew`` command tree. - ``.enable``: The ``SYNChronize:ENABle`` command. - ``.type``: The ``SYNChronize:TYPE`` command. """ @@ -84,9 +266,41 @@ def __init__( self, device: Optional["PIDevice"] = None, cmd_syntax: str = "SYNChronize" ) -> None: super().__init__(device, cmd_syntax) + self._adjust = SynchronizeAdjust(device, f"{self._cmd_syntax}:ADJust") + self._deskew = SynchronizeDeskew(device, f"{self._cmd_syntax}:DESKew") self._enable = SynchronizeEnable(device, f"{self._cmd_syntax}:ENABle") self._type = SynchronizeType(device, f"{self._cmd_syntax}:TYPE") + @property + def adjust(self) -> SynchronizeAdjust: + """Return the ``SYNChronize:ADJust`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``SYNChronize:ADJust?`` query. + - Using the ``.verify(value)`` method will send the ``SYNChronize:ADJust?`` query and + raise an AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.start``: The ``SYNChronize:ADJust:STARt`` command. + """ + return self._adjust + + @property + def deskew(self) -> SynchronizeDeskew: + """Return the ``SYNChronize:DESKew`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``SYNChronize:DESKew?`` query. + - Using the ``.verify(value)`` method will send the ``SYNChronize:DESKew?`` query and + raise an AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.abort``: The ``SYNChronize:DESKew:ABORt`` command. + - ``.state``: The ``SYNChronize:DESKew:STATe`` command. + - ``.start``: The ``SYNChronize:DESKew:STARt`` command. + """ + return self._deskew + @property def enable(self) -> SynchronizeEnable: """Return the ``SYNChronize:ENABle`` command. diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/trigger.py b/src/tm_devices/commands/gen_2i1z2s_awg/trigger.py index a078627c..1444da60 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/trigger.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/trigger.py @@ -105,8 +105,8 @@ class TriggerSlope(SCPICmdWrite, SCPICmdReadWithArguments): ``` Info: - - ``POSitive`` specifies a trigger on the rising edge of the external trigger signal. - NEGative specifies a trigger on the falling edge of the external trigger + - ``POSitive`` specifies a trigger on the rising edge of the external trigger + signal.NEGative specifies a trigger on the falling edge of the external trigger signal.```` ::= {ATRigger\|BTRigger}, defaults to ATR if not specified. - ``*RST`` sets all external trigger slopes to POSitive. """ @@ -380,8 +380,8 @@ def slope(self) -> TriggerSlope: ``` Info: - - ``POSitive`` specifies a trigger on the rising edge of the external trigger signal. - NEGative specifies a trigger on the falling edge of the external trigger + - ``POSitive`` specifies a trigger on the rising edge of the external trigger + signal.NEGative specifies a trigger on the falling edge of the external trigger signal.```` ::= {ATRigger\|BTRigger}, defaults to ATR if not specified. - ``*RST`` sets all external trigger slopes to POSitive. """ diff --git a/src/tm_devices/commands/gen_2i1z2s_awg/wlist.py b/src/tm_devices/commands/gen_2i1z2s_awg/wlist.py index 93f76c5e..bad09a20 100644 --- a/src/tm_devices/commands/gen_2i1z2s_awg/wlist.py +++ b/src/tm_devices/commands/gen_2i1z2s_awg/wlist.py @@ -3927,7 +3927,7 @@ class WlistLast(SCPICmdRead): """The ``WLISt:LAST`` command. Description: - - This command returns the name of the most recently added waveform in the waveform list. + - This command returns the name of the most recently added waveform in the waveform list. Usage: - Using the ``.query()`` method will send the ``WLISt:LAST?`` query. @@ -3972,7 +3972,7 @@ def last(self) -> WlistLast: """Return the ``WLISt:LAST`` command. Description: - - This command returns the name of the most recently added waveform in the waveform + - This command returns the name of the most recently added waveform in the waveform list. Usage: diff --git a/src/tm_devices/commands/gen_32dszm_awg/diagnostic.py b/src/tm_devices/commands/gen_32dszm_awg/diagnostic.py index b065cd17..4316c214 100644 --- a/src/tm_devices/commands/gen_32dszm_awg/diagnostic.py +++ b/src/tm_devices/commands/gen_32dszm_awg/diagnostic.py @@ -61,7 +61,7 @@ class DiagnosticImmediate(SCPICmdWriteNoArguments, SCPICmdRead): Description: - This command executes all of the NORMal diagnostic tests. The query form of this command executes all of the NORMal diagnostics and returns the results in the form of numeric of - values of 0 for no errors or -330 for one or more tests failed. This changes the active + values of 0 for no errors or -330 for one or more tests failed. This changes the active mode to DIAGnostic, if necessary, and returns back to the original active mode when done. This makes a single pass of all of the NORMal diagnostics. @@ -179,7 +179,7 @@ def immediate(self) -> DiagnosticImmediate: Description: - This command executes all of the NORMal diagnostic tests. The query form of this command executes all of the NORMal diagnostics and returns the results in the form of - numeric of values of 0 for no errors or -330 for one or more tests failed. This + numeric of values of 0 for no errors or -330 for one or more tests failed. This changes the active mode to DIAGnostic, if necessary, and returns back to the original active mode when done. This makes a single pass of all of the NORMal diagnostics. diff --git a/src/tm_devices/commands/gen_32dszm_awg/sequence.py b/src/tm_devices/commands/gen_32dszm_awg/sequence.py index e9b78972..4be15e22 100644 --- a/src/tm_devices/commands/gen_32dszm_awg/sequence.py +++ b/src/tm_devices/commands/gen_32dszm_awg/sequence.py @@ -25,8 +25,8 @@ - SEQuence:ELEMent[n]:SUBSequence? - SEQuence:ELEMent[n]:TWAit - SEQuence:ELEMent[n]:TWAit? - - SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] [1|2|3|4]? - - SEQuence:ELEMent[n]:WAVeform[m]? + - SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] + - SEQuence:ELEMent[n]:WAVeform[m]? [1|2|3|4] - SEQuence:JUMP:IMMediate - SEQuence:LENGth - SEQuence:LENGth? @@ -38,6 +38,7 @@ from ..helpers import ( DefaultDictPassKeyToFactory, SCPICmdRead, + SCPICmdReadWithArguments, SCPICmdWrite, ValidatedDynamicNumberCmd, ) @@ -137,23 +138,27 @@ def immediate(self) -> SequenceJumpImmediate: return self._immediate -class SequenceElementItemWaveformItem(ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICmdRead): +class SequenceElementItemWaveformItem( + ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICmdReadWithArguments +): """The ``SEQuence:ELEMent[n]:WAVeform[m]`` command. Description: - This command and query sets or returns the waveform for a sequence element. Usage: - - Using the ``.query()`` method will send the ``SEQuence:ELEMent[n]:WAVeform[m]?`` query. - - Using the ``.verify(value)`` method will send the ``SEQuence:ELEMent[n]:WAVeform[m]?`` - query and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.query(argument)`` method will send the + ``SEQuence:ELEMent[n]:WAVeform[m]? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``SEQuence:ELEMent[n]:WAVeform[m]? argument`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``SEQuence:ELEMent[n]:WAVeform[m] value`` command. SCPI Syntax: ``` - - SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] [1|2|3|4]? - - SEQuence:ELEMent[n]:WAVeform[m]? + - SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] + - SEQuence:ELEMent[n]:WAVeform[m]? [1|2|3|4] ``` Info: @@ -771,17 +776,18 @@ def waveform(self) -> Dict[int, SequenceElementItemWaveformItem]: - This command and query sets or returns the waveform for a sequence element. Usage: - - Using the ``.query()`` method will send the ``SEQuence:ELEMent[n]:WAVeform[m]?`` - query. - - Using the ``.verify(value)`` method will send the ``SEQuence:ELEMent[n]:WAVeform[m]?`` - query and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.query(argument)`` method will send the + ``SEQuence:ELEMent[n]:WAVeform[m]? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``SEQuence:ELEMent[n]:WAVeform[m]? argument`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``SEQuence:ELEMent[n]:WAVeform[m] value`` command. SCPI Syntax: ``` - - SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] [1|2|3|4]? - - SEQuence:ELEMent[n]:WAVeform[m]? + - SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] + - SEQuence:ELEMent[n]:WAVeform[m]? [1|2|3|4] ``` Info: diff --git a/src/tm_devices/commands/gen_32dszm_awg/system.py b/src/tm_devices/commands/gen_32dszm_awg/system.py index 2fb6a628..4ed0aba9 100644 --- a/src/tm_devices/commands/gen_32dszm_awg/system.py +++ b/src/tm_devices/commands/gen_32dszm_awg/system.py @@ -151,8 +151,8 @@ class SystemDate(SCPICmdWrite, SCPICmdRead): """The ``SYSTem:DATE`` command. Description: - - This command and query sets or returns the system date. When the values are nonintegers, - they are rounded off to nearest integral values. + - This command sets or returns the system date. When the values are nonintegers, they are + rounded off to nearest integral values. Usage: - Using the ``.query()`` method will send the ``SYSTem:DATE?`` query. @@ -165,11 +165,6 @@ class SystemDate(SCPICmdWrite, SCPICmdRead): - SYSTem:DATE ,, - SYSTem:DATE? ``` - - Info: - - ```` ::= (Four digit number). - - ```` ::= from 1 to 12. - - ```` ::= from 1 to 31. """ @@ -202,8 +197,8 @@ def date(self) -> SystemDate: """Return the ``SYSTem:DATE`` command. Description: - - This command and query sets or returns the system date. When the values are - nonintegers, they are rounded off to nearest integral values. + - This command sets or returns the system date. When the values are nonintegers, they + are rounded off to nearest integral values. Usage: - Using the ``.query()`` method will send the ``SYSTem:DATE?`` query. @@ -216,11 +211,6 @@ def date(self) -> SystemDate: - SYSTem:DATE ,, - SYSTem:DATE? ``` - - Info: - - ```` ::= (Four digit number). - - ```` ::= from 1 to 12. - - ```` ::= from 1 to 31. """ return self._date diff --git a/src/tm_devices/commands/gen_3n9auv_awg/connectivity.py b/src/tm_devices/commands/gen_3n9auv_awg/connectivity.py new file mode 100644 index 00000000..ce2f4539 --- /dev/null +++ b/src/tm_devices/commands/gen_3n9auv_awg/connectivity.py @@ -0,0 +1,329 @@ +"""The connectivity commands module. + +These commands are used in the following models: +AWG5200, AWG70KA, AWG70KB + +THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. + +Please report an issue if one is found. + +Commands and Queries: + ``` + - CONNectivity:ACTive + - CONNectivity:ACTive? + - CONNectivity:CONNect [,] + - CONNectivity:DISConnect + - CONNectivity:GANG:CREAte ,,[,[,]] + - CONNectivity:REMove + - CONNectivity:STATus? + ``` +""" + +from typing import Optional, TYPE_CHECKING + +from ..helpers import SCPICmdRead, SCPICmdReadWithArguments, SCPICmdWrite + +if TYPE_CHECKING: + from tm_devices.drivers.pi.pi_device import PIDevice + + +class ConnectivityStatus(SCPICmdReadWithArguments): + """The ``CONNectivity:STATus`` command. + + Description: + - This command returns the connection status of the named generator. + + Usage: + - Using the ``.query(argument)`` method will send the ``CONNectivity:STATus? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``CONNectivity:STATus? argument`` query and raise an AssertionError if the returned value + does not match ``value``. + + SCPI Syntax: + ``` + - CONNectivity:STATus? + ``` + """ + + +class ConnectivityRemove(SCPICmdWrite): + """The ``CONNectivity:REMove`` command. + + Description: + - This command removes the named generator from SourceXpress. If the named generator is the + active generator, it is disconnected and removed without warning. If the generator is in a + gang, the gang and all its members are removed. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:REMove value`` command. + + SCPI Syntax: + ``` + - CONNectivity:REMove + ``` + """ + + +class ConnectivityGangCreate(SCPICmdWrite): + """The ``CONNectivity:GANG:CREAte`` command. + + Description: + - This command creates a gang generator consisting of the specified instruments (members). A + gang generator can consist of 2 to 4 generators. The gang is placed in the Generator List. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:GANG:CREAte value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:GANG:CREAte ,,[,[,]] + ``` + """ + + +class ConnectivityGang(SCPICmdRead): + """The ``CONNectivity:GANG`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity:GANG?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity:GANG?`` query and raise + an AssertionError if the returned value does not match ``value``. + + Properties: + - ``.create``: The ``CONNectivity:GANG:CREAte`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._create = ConnectivityGangCreate(device, f"{self._cmd_syntax}:CREAte") + + @property + def create(self) -> ConnectivityGangCreate: + """Return the ``CONNectivity:GANG:CREAte`` command. + + Description: + - This command creates a gang generator consisting of the specified instruments + (members). A gang generator can consist of 2 to 4 generators. The gang is placed in + the Generator List. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:GANG:CREAte value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:GANG:CREAte ,,[,[,]] + ``` + """ + return self._create + + +class ConnectivityDisconnect(SCPICmdWrite): + """The ``CONNectivity:DISConnect`` command. + + Description: + - This command disconnects the named generator from SourceXpress. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:DISConnect value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:DISConnect + ``` + """ + + +class ConnectivityConnect(SCPICmdWrite): + """The ``CONNectivity:CONNect`` command. + + Description: + - This command connects SourceXpress to a remote generator using the generator's hostname, + making the remote generator available for use by SourceXpress. You can also assign a + unique generator name of the connected generator. If a name is not specified, then the + hostname is used as the name for the connected generator. The generator name is the name + that appears in the Generator List. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:CONNect value`` command. + + SCPI Syntax: + ``` + - CONNectivity:CONNect [,] + ``` + """ + + +class ConnectivityActive(SCPICmdWrite, SCPICmdRead): + """The ``CONNectivity:ACTive`` command. + + Description: + - This command sets or returns the active generator using the connected generator name. The + active generator is the target of instrument operations. Only a single generator can be + active at once. The set version of this command must use the actual generator name as + listed in the Generator List (in the SourceXpress application). + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity:ACTive?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity:ACTive?`` query and raise + an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``CONNectivity:ACTive value`` command. + + SCPI Syntax: + ``` + - CONNectivity:ACTive + - CONNectivity:ACTive? + ``` + """ + + +class Connectivity(SCPICmdRead): + """The ``CONNectivity`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity?`` query and raise an + AssertionError if the returned value does not match ``value``. + + Properties: + - ``.active``: The ``CONNectivity:ACTive`` command. + - ``.connect``: The ``CONNectivity:CONNect`` command. + - ``.disconnect``: The ``CONNectivity:DISConnect`` command. + - ``.gang``: The ``CONNectivity:GANG`` command tree. + - ``.remove``: The ``CONNectivity:REMove`` command. + - ``.status``: The ``CONNectivity:STATus`` command. + """ + + def __init__( + self, device: Optional["PIDevice"] = None, cmd_syntax: str = "CONNectivity" + ) -> None: + super().__init__(device, cmd_syntax) + self._active = ConnectivityActive(device, f"{self._cmd_syntax}:ACTive") + self._connect = ConnectivityConnect(device, f"{self._cmd_syntax}:CONNect") + self._disconnect = ConnectivityDisconnect(device, f"{self._cmd_syntax}:DISConnect") + self._gang = ConnectivityGang(device, f"{self._cmd_syntax}:GANG") + self._remove = ConnectivityRemove(device, f"{self._cmd_syntax}:REMove") + self._status = ConnectivityStatus(device, f"{self._cmd_syntax}:STATus") + + @property + def active(self) -> ConnectivityActive: + """Return the ``CONNectivity:ACTive`` command. + + Description: + - This command sets or returns the active generator using the connected generator name. + The active generator is the target of instrument operations. Only a single generator + can be active at once. The set version of this command must use the actual generator + name as listed in the Generator List (in the SourceXpress application). + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity:ACTive?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity:ACTive?`` query and + raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``CONNectivity:ACTive value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:ACTive + - CONNectivity:ACTive? + ``` + """ + return self._active + + @property + def connect(self) -> ConnectivityConnect: + """Return the ``CONNectivity:CONNect`` command. + + Description: + - This command connects SourceXpress to a remote generator using the generator's + hostname, making the remote generator available for use by SourceXpress. You can also + assign a unique generator name of the connected generator. If a name is not specified, + then the hostname is used as the name for the connected generator. The generator name + is the name that appears in the Generator List. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:CONNect value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:CONNect [,] + ``` + """ + return self._connect + + @property + def disconnect(self) -> ConnectivityDisconnect: + """Return the ``CONNectivity:DISConnect`` command. + + Description: + - This command disconnects the named generator from SourceXpress. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:DISConnect value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:DISConnect + ``` + """ + return self._disconnect + + @property + def gang(self) -> ConnectivityGang: + """Return the ``CONNectivity:GANG`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``CONNectivity:GANG?`` query. + - Using the ``.verify(value)`` method will send the ``CONNectivity:GANG?`` query and + raise an AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.create``: The ``CONNectivity:GANG:CREAte`` command. + """ + return self._gang + + @property + def remove(self) -> ConnectivityRemove: + """Return the ``CONNectivity:REMove`` command. + + Description: + - This command removes the named generator from SourceXpress. If the named generator is + the active generator, it is disconnected and removed without warning. If the generator + is in a gang, the gang and all its members are removed. + + Usage: + - Using the ``.write(value)`` method will send the ``CONNectivity:REMove value`` + command. + + SCPI Syntax: + ``` + - CONNectivity:REMove + ``` + """ + return self._remove + + @property + def status(self) -> ConnectivityStatus: + """Return the ``CONNectivity:STATus`` command. + + Description: + - This command returns the connection status of the named generator. + + Usage: + - Using the ``.query(argument)`` method will send the ``CONNectivity:STATus? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``CONNectivity:STATus? argument`` query and raise an AssertionError if the returned + value does not match ``value``. + + SCPI Syntax: + ``` + - CONNectivity:STATus? + ``` + """ + return self._status diff --git a/src/tm_devices/commands/gen_3n9auv_awg/output.py b/src/tm_devices/commands/gen_3n9auv_awg/output.py index cbb22d1a..b38843d4 100644 --- a/src/tm_devices/commands/gen_3n9auv_awg/output.py +++ b/src/tm_devices/commands/gen_3n9auv_awg/output.py @@ -47,7 +47,7 @@ class OutputOff(SCPICmdWrite, SCPICmdRead): Info: - ``0`` or OFF disables the All Output Off function, allowing the channel and marker outputs - to go to their defined state. 1 or ON enables the All Output Off function, disabling all + to go to their defined state.1 or ON enables the All Output Off function, disabling all channel outputs and marker outputs. - ``*RST`` sets all channels to 0. """ @@ -95,7 +95,7 @@ def off(self) -> OutputOff: Info: - ``0`` or OFF disables the All Output Off function, allowing the channel and marker - outputs to go to their defined state. 1 or ON enables the All Output Off function, + outputs to go to their defined state.1 or ON enables the All Output Off function, disabling all channel outputs and marker outputs. - ``*RST`` sets all channels to 0. """ diff --git a/src/tm_devices/commands/gen_3n9auv_awg/slist.py b/src/tm_devices/commands/gen_3n9auv_awg/slist.py index 6b4957ed..8b4cad1f 100644 --- a/src/tm_devices/commands/gen_3n9auv_awg/slist.py +++ b/src/tm_devices/commands/gen_3n9auv_awg/slist.py @@ -227,10 +227,10 @@ class SlistSequenceStepItemWinput(SCPICmdWrite, SCPICmdReadWithArguments): Info: - ``ATRigger`` - This enables the sequencer to move due to a trigger event from the A - Trigger Input connector or the A Force Trigger front panel button. BTRigger - This enables + Trigger Input connector or the A Force Trigger front panel button.BTRigger - This enables the sequencer to move due to a trigger event from the B Trigger Input connector or the B - Force Trigger front panel button. ITRigger - This enables the sequencer to move due to an - Internal Trigger event. OFF - Disables the wait for trigger event, allowing the + Force Trigger front panel button.ITRigger - This enables the sequencer to move due to an + Internal Trigger event.OFF - Disables the wait for trigger event, allowing the waveforms(s) of this step to be played immediately. """ @@ -258,9 +258,9 @@ class SlistSequenceStepItemTflagItemDflag(SCPICmdWrite, SCPICmdReadWithArguments Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous step - Default value. HIGH - The flag signal transitions to the high state. LOW - The flag signal - transitions to the low state. TOGGle - The flag signal transitions to the high state if - the previous step defined the flag to be in the low state and vice versa. PULSe - The flag + Default value.HIGH - The flag signal transitions to the high state.LOW - The flag signal + transitions to the low state.TOGGle - The flag signal transitions to the high state if the + previous step defined the flag to be in the low state and vice versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ @@ -288,9 +288,9 @@ class SlistSequenceStepItemTflagItemCflag(SCPICmdWrite, SCPICmdReadWithArguments Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous step - Default value. HIGH - The flag signal transitions to the high state. LOW - The flag signal - transitions to the low state. TOGGle - The flag signal transitions to the high state if - the previous step defined the flag to be in the low state and vice versa. PULSe - The flag + Default value.HIGH - The flag signal transitions to the high state.LOW - The flag signal + transitions to the low state.TOGGle - The flag signal transitions to the high state if the + previous step defined the flag to be in the low state and vice versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ @@ -318,9 +318,9 @@ class SlistSequenceStepItemTflagItemBflag(SCPICmdWrite, SCPICmdReadWithArguments Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous step - Default value. HIGH - The flag signal transitions to the high state. LOW - The flag signal - transitions to the low state. TOGGle - The flag signal transitions to the high state if - the previous step defined the flag to be in the low state and vice versa. PULSe - The flag + Default value.HIGH - The flag signal transitions to the high state.LOW - The flag signal + transitions to the low state.TOGGle - The flag signal transitions to the high state if the + previous step defined the flag to be in the low state and vice versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ @@ -348,9 +348,9 @@ class SlistSequenceStepItemTflagItemAflag(SCPICmdWrite, SCPICmdReadWithArguments Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous step - Default value. HIGH - The flag signal transitions to the high state. LOW - The flag signal - transitions to the low state. TOGGle - The flag signal transitions to the high state if - the previous step defined the flag to be in the low state and vice versa. PULSe - The flag + Default value.HIGH - The flag signal transitions to the high state.LOW - The flag signal + transitions to the low state.TOGGle - The flag signal transitions to the high state if the + previous step defined the flag to be in the low state and vice versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ @@ -401,10 +401,10 @@ def aflag(self) -> SlistSequenceStepItemTflagItemAflag: Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous - step Default value. HIGH - The flag signal transitions to the high state. LOW - The - flag signal transitions to the low state. TOGGle - The flag signal transitions to the - high state if the previous step defined the flag to be in the low state and vice - versa. PULSe - The flag signal outputs a pulse signal of a fixed width. + step Default value.HIGH - The flag signal transitions to the high state.LOW - The flag + signal transitions to the low state.TOGGle - The flag signal transitions to the high + state if the previous step defined the flag to be in the low state and vice + versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ return self._aflag @@ -432,10 +432,10 @@ def bflag(self) -> SlistSequenceStepItemTflagItemBflag: Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous - step Default value. HIGH - The flag signal transitions to the high state. LOW - The - flag signal transitions to the low state. TOGGle - The flag signal transitions to the - high state if the previous step defined the flag to be in the low state and vice - versa. PULSe - The flag signal outputs a pulse signal of a fixed width. + step Default value.HIGH - The flag signal transitions to the high state.LOW - The flag + signal transitions to the low state.TOGGle - The flag signal transitions to the high + state if the previous step defined the flag to be in the low state and vice + versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ return self._bflag @@ -463,10 +463,10 @@ def cflag(self) -> SlistSequenceStepItemTflagItemCflag: Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous - step Default value. HIGH - The flag signal transitions to the high state. LOW - The - flag signal transitions to the low state. TOGGle - The flag signal transitions to the - high state if the previous step defined the flag to be in the low state and vice - versa. PULSe - The flag signal outputs a pulse signal of a fixed width. + step Default value.HIGH - The flag signal transitions to the high state.LOW - The flag + signal transitions to the low state.TOGGle - The flag signal transitions to the high + state if the previous step defined the flag to be in the low state and vice + versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ return self._cflag @@ -494,10 +494,10 @@ def dflag(self) -> SlistSequenceStepItemTflagItemDflag: Info: - ``NCHange`` - The flag state continues to be in the state is defined in the previous - step Default value. HIGH - The flag signal transitions to the high state. LOW - The - flag signal transitions to the low state. TOGGle - The flag signal transitions to the - high state if the previous step defined the flag to be in the low state and vice - versa. PULSe - The flag signal outputs a pulse signal of a fixed width. + step Default value.HIGH - The flag signal transitions to the high state.LOW - The flag + signal transitions to the low state.TOGGle - The flag signal transitions to the high + state if the previous step defined the flag to be in the low state and vice + versa.PULSe - The flag signal outputs a pulse signal of a fixed width. """ return self._dflag @@ -692,7 +692,7 @@ class SlistSequenceStepItemRcount(SCPICmdWrite, SCPICmdReadWithArguments): ``` Info: - - ``ONCE`` - Plays the waveform one time during this sequence step. INFinte - Plays the + - ``ONCE`` - Plays the waveform one time during this sequence step.INFinte - Plays the waveform continuously during this sequence step. - Plays this waveform the selected number of times during this sequence step. The allowed value is between 1 and 2^20. """ @@ -724,10 +724,10 @@ class SlistSequenceStepItemGoto(SCPICmdWrite, SCPICmdReadWithArguments): ``` Info: - - ``LAST`` - This enables the sequencer to go to the last step in the sequence. FIRSt - This - enables the sequencer to go to first step in the sequence. NEXT - This enables the + - ``LAST`` - This enables the sequencer to go to the last step in the sequence.FIRSt - This + enables the sequencer to go to first step in the sequence.NEXT - This enables the sequencer to go to the next sequence step. (The ``SLISt:SEQuence:STEP``[n]``:EJUMp:STEP`` - setting is ignored.) END - This enables the sequencer to go to the end and play 0 V until + setting is ignored.)END - This enables the sequencer to go to the end and play 0 V until play is stopped. """ @@ -756,8 +756,8 @@ class SlistSequenceStepItemEjump(SCPICmdWrite, SCPICmdReadWithArguments): ``` Info: - - ``NEXT`` - This enables the sequencer to jump to the next sequence step. FIRSt - This - enables the sequencer to jump to first step in the sequence. LAST - This enables the + - ``NEXT`` - This enables the sequencer to jump to the next sequence step.FIRSt - This + enables the sequencer to jump to first step in the sequence.LAST - This enables the sequencer to jump to the last step in the sequence. END - This enables the sequencer to jump to the end and play 0 V until play is stopped. """ @@ -787,10 +787,10 @@ class SlistSequenceStepItemEjinput(SCPICmdWrite, SCPICmdReadWithArguments): ``` Info: - - ``ATRigger`` - This enables the sequencer to jump to the event of a ATRIG. BTRigger - This - enables the sequencer to jump to the event of a BTRIG. ITRigger - This enables the - sequencer to jump to the event of an Internal Trigger. OFF - Ignores all events, even if - an event occurs during that step. + - ``ATRigger`` - This enables the sequencer to jump to the event of a ATRIG.BTRigger - This + enables the sequencer to jump to the event of a BTRIG.ITRigger - This enables the + sequencer to jump to the event of an Internal Trigger.OFF - Ignores all events, even if an + event occurs during that step. - ``*RST`` sets this to OFF. """ @@ -855,10 +855,10 @@ def ejinput(self) -> SlistSequenceStepItemEjinput: ``` Info: - - ``ATRigger`` - This enables the sequencer to jump to the event of a ATRIG. BTRigger - - This enables the sequencer to jump to the event of a BTRIG. ITRigger - This enables - the sequencer to jump to the event of an Internal Trigger. OFF - Ignores all events, - even if an event occurs during that step. + - ``ATRigger`` - This enables the sequencer to jump to the event of a ATRIG.BTRigger - + This enables the sequencer to jump to the event of a BTRIG.ITRigger - This enables the + sequencer to jump to the event of an Internal Trigger.OFF - Ignores all events, even + if an event occurs during that step. - ``*RST`` sets this to OFF. """ return self._ejinput @@ -888,8 +888,8 @@ def ejump(self) -> SlistSequenceStepItemEjump: ``` Info: - - ``NEXT`` - This enables the sequencer to jump to the next sequence step. FIRSt - This - enables the sequencer to jump to first step in the sequence. LAST - This enables the + - ``NEXT`` - This enables the sequencer to jump to the next sequence step.FIRSt - This + enables the sequencer to jump to first step in the sequence.LAST - This enables the sequencer to jump to the last step in the sequence. END - This enables the sequencer to jump to the end and play 0 V until play is stopped. """ @@ -922,10 +922,10 @@ def goto(self) -> SlistSequenceStepItemGoto: ``` Info: - - ``LAST`` - This enables the sequencer to go to the last step in the sequence. FIRSt - - This enables the sequencer to go to first step in the sequence. NEXT - This enables - the sequencer to go to the next sequence step. (The - ``SLISt:SEQuence:STEP``[n]``:EJUMp:STEP`` setting is ignored.) END - This enables the + - ``LAST`` - This enables the sequencer to go to the last step in the sequence.FIRSt - + This enables the sequencer to go to first step in the sequence.NEXT - This enables the + sequencer to go to the next sequence step. (The + ``SLISt:SEQuence:STEP``[n]``:EJUMp:STEP`` setting is ignored.)END - This enables the sequencer to go to the end and play 0 V until play is stopped. """ return self._goto @@ -954,7 +954,7 @@ def rcount(self) -> SlistSequenceStepItemRcount: ``` Info: - - ``ONCE`` - Plays the waveform one time during this sequence step. INFinte - Plays the + - ``ONCE`` - Plays the waveform one time during this sequence step.INFinte - Plays the waveform continuously during this sequence step. - Plays this waveform the selected number of times during this sequence step. The allowed value is between 1 and 2^20. @@ -1047,11 +1047,11 @@ def winput(self) -> SlistSequenceStepItemWinput: Info: - ``ATRigger`` - This enables the sequencer to move due to a trigger event from the A - Trigger Input connector or the A Force Trigger front panel button. BTRigger - This + Trigger Input connector or the A Force Trigger front panel button.BTRigger - This enables the sequencer to move due to a trigger event from the B Trigger Input - connector or the B Force Trigger front panel button. ITRigger - This enables the - sequencer to move due to an Internal Trigger event. OFF - Disables the wait for - trigger event, allowing the waveforms(s) of this step to be played immediately. + connector or the B Force Trigger front panel button.ITRigger - This enables the + sequencer to move due to an Internal Trigger event.OFF - Disables the wait for trigger + event, allowing the waveforms(s) of this step to be played immediately. """ return self._winput diff --git a/src/tm_devices/commands/gen_3n9auv_awg/wplugin.py b/src/tm_devices/commands/gen_3n9auv_awg/wplugin.py index 3ea4b08b..a9fb09f7 100644 --- a/src/tm_devices/commands/gen_3n9auv_awg/wplugin.py +++ b/src/tm_devices/commands/gen_3n9auv_awg/wplugin.py @@ -10,6 +10,7 @@ Commands and Queries: ``` - WPLugin:ACTive + - WPLugin:ACTive? - WPLugin:PLUGins? ``` """ @@ -41,18 +42,22 @@ class WpluginPlugins(SCPICmdRead): """ -class WpluginActive(SCPICmdWrite): +class WpluginActive(SCPICmdWrite, SCPICmdRead): """The ``WPLugin:ACTive`` command. Description: - This command sets or returns the active waveform creation plug-in. Usage: + - Using the ``.query()`` method will send the ``WPLugin:ACTive?`` query. + - Using the ``.verify(value)`` method will send the ``WPLugin:ACTive?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WPLugin:ACTive value`` command. SCPI Syntax: ``` - WPLugin:ACTive + - WPLugin:ACTive? ``` """ @@ -83,11 +88,15 @@ def active(self) -> WpluginActive: - This command sets or returns the active waveform creation plug-in. Usage: + - Using the ``.query()`` method will send the ``WPLugin:ACTive?`` query. + - Using the ``.verify(value)`` method will send the ``WPLugin:ACTive?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WPLugin:ACTive value`` command. SCPI Syntax: ``` - WPLugin:ACTive + - WPLugin:ACTive? ``` """ return self._active diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/awgcontrol.py b/src/tm_devices/commands/gen_3rs8qy_awg/awgcontrol.py index 3b824d4b..7274542f 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/awgcontrol.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/awgcontrol.py @@ -10,6 +10,7 @@ Commands and Queries: ``` - AWGControl:ARSettings {0|1|ON|OFF} + - AWGControl:ARSettings? - AWGControl:CLOCk:DRATe - AWGControl:CLOCk:DRATe? - AWGControl:CLOCk:PHASe:ADJust @@ -1207,10 +1208,10 @@ class AwgcontrolClockSource(SCPICmdWrite, SCPICmdRead): Info: - ``INTernal`` - clock signal is generated internally and the reference frequency is derived - by the internal oscillator. EFIXed - clock is generated internally and the reference - frequency is derived from a fixed 10 MHz reference supplied at the Reference In connector. - EVARiable - clock is generated internally and the reference frequency is derived from a - variable reference supplied at the Reference In connector. EXTernal - clock signal + by the internal oscillator.EFIXed - clock is generated internally and the reference + frequency is derived from a fixed 10 MHz reference supplied at the Reference In + connector.EVARiable - clock is generated internally and the reference frequency is derived + from a variable reference supplied at the Reference In connector.EXTernal - clock signal supplied by the Clock In connector and the reference frequency is derived from the internal precision oscillator. - ``*RST`` sets this to INT. @@ -1381,10 +1382,10 @@ def source(self) -> AwgcontrolClockSource: Info: - ``INTernal`` - clock signal is generated internally and the reference frequency is - derived by the internal oscillator. EFIXed - clock is generated internally and the + derived by the internal oscillator.EFIXed - clock is generated internally and the reference frequency is derived from a fixed 10 MHz reference supplied at the Reference - In connector. EVARiable - clock is generated internally and the reference frequency is - derived from a variable reference supplied at the Reference In connector. EXTernal - + In connector.EVARiable - clock is generated internally and the reference frequency is + derived from a variable reference supplied at the Reference In connector.EXTernal - clock signal supplied by the Clock In connector and the reference frequency is derived from the internal precision oscillator. - ``*RST`` sets this to INT. @@ -1392,7 +1393,7 @@ def source(self) -> AwgcontrolClockSource: return self._source -class AwgcontrolArsettings(SCPICmdWrite): +class AwgcontrolArsettings(SCPICmdWrite, SCPICmdRead): """The ``AWGControl:ARSettings`` command. Description: @@ -1404,11 +1405,15 @@ class AwgcontrolArsettings(SCPICmdWrite): waveform properties and sequence properties. Usage: + - Using the ``.query()`` method will send the ``AWGControl:ARSettings?`` query. + - Using the ``.verify(value)`` method will send the ``AWGControl:ARSettings?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``AWGControl:ARSettings value`` command. SCPI Syntax: ``` - AWGControl:ARSettings {0|1|ON|OFF} + - AWGControl:ARSettings? ``` """ @@ -1479,12 +1484,16 @@ def arsettings(self) -> AwgcontrolArsettings: are defined as part the waveform properties and sequence properties. Usage: + - Using the ``.query()`` method will send the ``AWGControl:ARSettings?`` query. + - Using the ``.verify(value)`` method will send the ``AWGControl:ARSettings?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``AWGControl:ARSettings value`` command. SCPI Syntax: ``` - AWGControl:ARSettings {0|1|ON|OFF} + - AWGControl:ARSettings? ``` """ return self._arsettings diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/bwaveform.py b/src/tm_devices/commands/gen_3rs8qy_awg/bwaveform.py index aea79672..9ee5c806 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/bwaveform.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/bwaveform.py @@ -10,27 +10,37 @@ Commands and Queries: ``` - BWAVeform:AMPLitude + - BWAVeform:AMPLitude? - BWAVeform:AUTO {length|cycle|duration|freqency|sample rate} - BWAVeform:AUTO? - BWAVeform:COMPile - BWAVeform:COMPile:CASSign {0|1|OFF|ON} - BWAVeform:COMPile:CASSign? - BWAVeform:COMPile:CHANnel {NONE|} + - BWAVeform:COMPile:CHANnel? - BWAVeform:COMPile:NAME - BWAVeform:COMPile:NAME? - BWAVeform:COMPile:PLAY {0|1|OFF|ON} - BWAVeform:COMPile:PLAY? - BWAVeform:CYCLe + - BWAVeform:CYCLe? - BWAVeform:FDRange {OFF|ON|0|1} + - BWAVeform:FDRange? - BWAVeform:FREQuency + - BWAVeform:FREQuency? - BWAVeform:FUNCtion {sine|square|triangle|ramp|noise|DC} - BWAVeform:FUNCtion? - BWAVeform:HIGH + - BWAVeform:HIGH? - BWAVeform:LENGth + - BWAVeform:LENGth? - BWAVeform:LOW + - BWAVeform:LOW? - BWAVeform:OFFSet + - BWAVeform:OFFSet? - BWAVeform:RESet - BWAVeform:SRATe + - BWAVeform:SRATe? ``` """ @@ -42,7 +52,7 @@ from tm_devices.drivers.pi.pi_device import PIDevice -class BwaveformSrate(SCPICmdWrite): +class BwaveformSrate(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:SRATe`` command. Description: @@ -50,11 +60,15 @@ class BwaveformSrate(SCPICmdWrite): Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:SRATe?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:SRATe?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:SRATe value`` command. SCPI Syntax: ``` - BWAVeform:SRATe + - BWAVeform:SRATe? ``` """ @@ -75,7 +89,7 @@ class BwaveformReset(SCPICmdWriteNoArguments): """ -class BwaveformOffset(SCPICmdWrite): +class BwaveformOffset(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:OFFSet`` command. Description: @@ -85,16 +99,20 @@ class BwaveformOffset(SCPICmdWrite): ``BWAVEFORM:FDRANGE`` for more information. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:OFFSet?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:OFFSet?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:OFFSet value`` command. SCPI Syntax: ``` - BWAVeform:OFFSet + - BWAVeform:OFFSet? ``` """ -class BwaveformLow(SCPICmdWrite): +class BwaveformLow(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:LOW`` command. Description: @@ -102,16 +120,20 @@ class BwaveformLow(SCPICmdWrite): Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:LOW?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:LOW?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:LOW value`` command. SCPI Syntax: ``` - BWAVeform:LOW + - BWAVeform:LOW? ``` """ -class BwaveformLength(SCPICmdWrite): +class BwaveformLength(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:LENGth`` command. Description: @@ -119,16 +141,20 @@ class BwaveformLength(SCPICmdWrite): editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:LENGth?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:LENGth?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:LENGth value`` command. SCPI Syntax: ``` - BWAVeform:LENGth + - BWAVeform:LENGth? ``` """ -class BwaveformHigh(SCPICmdWrite): +class BwaveformHigh(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:HIGH`` command. Description: @@ -136,11 +162,15 @@ class BwaveformHigh(SCPICmdWrite): Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:HIGH?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:HIGH?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:HIGH value`` command. SCPI Syntax: ``` - BWAVeform:HIGH + - BWAVeform:HIGH? ``` """ @@ -168,7 +198,7 @@ class BwaveformFunction(SCPICmdWrite, SCPICmdRead): """ -class BwaveformFrequency(SCPICmdWrite): +class BwaveformFrequency(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:FREQuency`` command. Description: @@ -176,16 +206,20 @@ class BwaveformFrequency(SCPICmdWrite): editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:FREQuency?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:FREQuency?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:FREQuency value`` command. SCPI Syntax: ``` - BWAVeform:FREQuency + - BWAVeform:FREQuency? ``` """ -class BwaveformFdrange(SCPICmdWrite): +class BwaveformFdrange(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:FDRange`` command. Description: @@ -204,16 +238,20 @@ class BwaveformFdrange(SCPICmdWrite): The control is not available for a DC waveform. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:FDRange?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:FDRange?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:FDRange value`` command. SCPI Syntax: ``` - BWAVeform:FDRange {OFF|ON|0|1} + - BWAVeform:FDRange? ``` """ -class BwaveformCycle(SCPICmdWrite): +class BwaveformCycle(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:CYCLe`` command. Description: @@ -221,11 +259,15 @@ class BwaveformCycle(SCPICmdWrite): the waveform created by the Basic Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:CYCLe?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:CYCLe?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:CYCLe value`` command. SCPI Syntax: ``` - BWAVeform:CYCLe + - BWAVeform:CYCLe? ``` """ @@ -273,7 +315,7 @@ class BwaveformCompileName(SCPICmdWrite, SCPICmdRead): """ -class BwaveformCompileChannel(SCPICmdWrite): +class BwaveformCompileChannel(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:COMPile:CHANnel`` command. Description: @@ -282,12 +324,16 @@ class BwaveformCompileChannel(SCPICmdWrite): and offset range. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:COMPile:CHANnel?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:COMPile:CHANnel?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:COMPile:CHANnel value`` command. SCPI Syntax: ``` - BWAVeform:COMPile:CHANnel {NONE|} + - BWAVeform:COMPile:CHANnel? ``` """ @@ -378,12 +424,16 @@ def channel(self) -> BwaveformCompileChannel: amplitude and offset range. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:COMPile:CHANnel?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:COMPile:CHANnel?`` query + and raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:COMPile:CHANnel value`` command. SCPI Syntax: ``` - BWAVeform:COMPile:CHANnel {NONE|} + - BWAVeform:COMPile:CHANnel? ``` """ return self._channel @@ -460,7 +510,7 @@ class BwaveformAuto(SCPICmdWrite, SCPICmdRead): """ -class BwaveformAmplitude(SCPICmdWrite): +class BwaveformAmplitude(SCPICmdWrite, SCPICmdRead): """The ``BWAVeform:AMPLitude`` command. Description: @@ -470,11 +520,15 @@ class BwaveformAmplitude(SCPICmdWrite): command ``BWAVEFORM:FDRANGE`` for more information. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:AMPLitude?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:AMPLitude?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:AMPLitude value`` command. SCPI Syntax: ``` - BWAVeform:AMPLitude + - BWAVeform:AMPLitude? ``` """ @@ -531,12 +585,16 @@ def amplitude(self) -> BwaveformAmplitude: to the command ``BWAVEFORM:FDRANGE`` for more information. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:AMPLitude?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:AMPLitude?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:AMPLitude value`` command. SCPI Syntax: ``` - BWAVeform:AMPLitude + - BWAVeform:AMPLitude? ``` """ return self._amplitude @@ -599,11 +657,15 @@ def cycle(self) -> BwaveformCycle: for the waveform created by the Basic Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:CYCLe?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:CYCLe?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:CYCLe value`` command. SCPI Syntax: ``` - BWAVeform:CYCLe + - BWAVeform:CYCLe? ``` """ return self._cycle @@ -629,11 +691,15 @@ def fdrange(self) -> BwaveformFdrange: available for a DC waveform. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:FDRange?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:FDRange?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:FDRange value`` command. SCPI Syntax: ``` - BWAVeform:FDRange {OFF|ON|0|1} + - BWAVeform:FDRange? ``` """ return self._fdrange @@ -647,12 +713,16 @@ def frequency(self) -> BwaveformFrequency: Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:FREQuency?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:FREQuency?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:FREQuency value`` command. SCPI Syntax: ``` - BWAVeform:FREQuency + - BWAVeform:FREQuency? ``` """ return self._frequency @@ -690,11 +760,15 @@ def high(self) -> BwaveformHigh: Basic Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:HIGH?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:HIGH?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:HIGH value`` command. SCPI Syntax: ``` - BWAVeform:HIGH + - BWAVeform:HIGH? ``` """ return self._high @@ -708,11 +782,15 @@ def length(self) -> BwaveformLength: editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:LENGth?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:LENGth?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:LENGth value`` command. SCPI Syntax: ``` - BWAVeform:LENGth + - BWAVeform:LENGth? ``` """ return self._length @@ -726,11 +804,15 @@ def low(self) -> BwaveformLow: Basic Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:LOW?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:LOW?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:LOW value`` command. SCPI Syntax: ``` - BWAVeform:LOW + - BWAVeform:LOW? ``` """ return self._low @@ -746,11 +828,15 @@ def offset(self) -> BwaveformOffset: command ``BWAVEFORM:FDRANGE`` for more information. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:OFFSet?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:OFFSet?`` query and + raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:OFFSet value`` command. SCPI Syntax: ``` - BWAVeform:OFFSet + - BWAVeform:OFFSet? ``` """ return self._offset @@ -781,11 +867,15 @@ def srate(self) -> BwaveformSrate: Waveform editor plug-in. Usage: + - Using the ``.query()`` method will send the ``BWAVeform:SRATe?`` query. + - Using the ``.verify(value)`` method will send the ``BWAVeform:SRATe?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``BWAVeform:SRATe value`` command. SCPI Syntax: ``` - BWAVeform:SRATe + - BWAVeform:SRATe? ``` """ return self._srate diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/clock.py b/src/tm_devices/commands/gen_3rs8qy_awg/clock.py index 57c0be73..f22ea668 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/clock.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/clock.py @@ -25,6 +25,7 @@ - CLOCk:EREFerence:MULTiplier - CLOCk:EREFerence:MULTiplier? - CLOCk:JITTer {0|1|OFF|ON} + - CLOCk:JITTer? - CLOCk:OUTPut:FREQuency? - CLOCk:OUTPut:STATe {0|1|OFF|ON} - CLOCk:OUTPut:STATe? @@ -425,7 +426,7 @@ def state(self) -> ClockOutputState: return self._state -class ClockJitter(SCPICmdWrite): +class ClockJitter(SCPICmdWrite, SCPICmdRead): """The ``CLOCk:JITTer`` command. Description: @@ -434,11 +435,15 @@ class ClockJitter(SCPICmdWrite): connector. Usage: + - Using the ``.query()`` method will send the ``CLOCk:JITTer?`` query. + - Using the ``.verify(value)`` method will send the ``CLOCk:JITTer?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``CLOCk:JITTer value`` command. SCPI Syntax: ``` - CLOCk:JITTer {0|1|OFF|ON} + - CLOCk:JITTer? ``` Info: @@ -1006,11 +1011,15 @@ def jitter(self) -> ClockJitter: Reference In connector. Usage: + - Using the ``.query()`` method will send the ``CLOCk:JITTer?`` query. + - Using the ``.verify(value)`` method will send the ``CLOCk:JITTer?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``CLOCk:JITTer value`` command. SCPI Syntax: ``` - CLOCk:JITTer {0|1|OFF|ON} + - CLOCk:JITTer? ``` Info: diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/diagnostic.py b/src/tm_devices/commands/gen_3rs8qy_awg/diagnostic.py new file mode 100644 index 00000000..56b6218c --- /dev/null +++ b/src/tm_devices/commands/gen_3rs8qy_awg/diagnostic.py @@ -0,0 +1,1243 @@ +"""The diagnostic commands module. + +These commands are used in the following models: +AWG70KA, AWG70KB + +THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. + +Please report an issue if one is found. + +Commands and Queries: + ``` + - DIAGnostic:ABORt + - DIAGnostic:CATalog? [{ALL|}[,{ALL|}]] + - DIAGnostic:CONTrol:COUNt + - DIAGnostic:CONTrol:COUNt? + - DIAGnostic:CONTrol:HALT {0|1|OFF|ON} + - DIAGnostic:CONTrol:HALT? + - DIAGnostic:CONTrol:LOOP {ONCE|CONTinuous|COUNt} + - DIAGnostic:CONTrol:LOOP? + - DIAGnostic:DATA? + - DIAGnostic:IMMediate + - DIAGnostic:IMMediate? + - DIAGnostic:LOG:CLEar + - DIAGnostic:LOG:FAILuresonly {0|1|OFF|ON} + - DIAGnostic:LOG:FAILuresonly? + - DIAGnostic:LOG? + - DIAGnostic:LOOPs? + - DIAGnostic:RESult:TEMPerature? ''[,''[,'']] + - DIAGnostic:RESult:TIME? ''[,''[,'']] + - DIAGnostic:RESult? [{ALL|}] + - DIAGnostic:RUNNing? + - DIAGnostic:SELect {ALL|} + - DIAGnostic:SELect:VERify? ,, + - DIAGnostic:STARt + - DIAGnostic:STOP + - DIAGnostic:STOP:STATe? + - DIAGnostic:TYPE {NORMal|POST} + - DIAGnostic:TYPE:CATalog? + - DIAGnostic:TYPE? + - DIAGnostic:UNSelect {ALL|<'subsystem'>,<'area'>,<'test'>} + ``` +""" + +from typing import Optional, TYPE_CHECKING + +from ..helpers import SCPICmdRead, SCPICmdReadWithArguments, SCPICmdWrite, SCPICmdWriteNoArguments + +if TYPE_CHECKING: + from tm_devices.drivers.pi.pi_device import PIDevice + + +class DiagnosticUnselect(SCPICmdWrite): + """The ``DIAGnostic:UNSelect`` command. + + Description: + - This command unselects one or more tests of the current test list. Tests can be unselected + by the keyword ALL, by 'subsystem', by 'area', or by 'test'. To unselect an 'area', the + 'subsystem' is required. To unselect a 'test' requires both the 'subsystem' and 'area'. + + Usage: + - Using the ``.write(value)`` method will send the ``DIAGnostic:UNSelect value`` command. + + SCPI Syntax: + ``` + - DIAGnostic:UNSelect {ALL|<'subsystem'>,<'area'>,<'test'>} + ``` + """ + + +class DiagnosticTypeCatalog(SCPICmdRead): + """The ``DIAGnostic:TYPE:CATalog`` command. + + Description: + - This command returns a list of diagnostic types available. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:TYPE:CATalog?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:TYPE:CATalog?`` query and + raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:TYPE:CATalog? + ``` + """ + + +class DiagnosticType(SCPICmdWrite, SCPICmdRead): + """The ``DIAGnostic:TYPE`` command. + + Description: + - This command sets or returns the diagnostic type. The diagnostics work on a list of tests + that support different types of testing. This sets the context for other commands such as + selecting a test to run. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:TYPE?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:TYPE?`` query and raise an + AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:TYPE value`` command. + + SCPI Syntax: + ``` + - DIAGnostic:TYPE {NORMal|POST} + - DIAGnostic:TYPE? + ``` + + Info: + - ``NORMal`` - Normal operating mode POST - Power On Self Test. + - ``*RST`` sets this to NORM. + + Properties: + - ``.catalog``: The ``DIAGnostic:TYPE:CATalog`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._catalog = DiagnosticTypeCatalog(device, f"{self._cmd_syntax}:CATalog") + + @property + def catalog(self) -> DiagnosticTypeCatalog: + """Return the ``DIAGnostic:TYPE:CATalog`` command. + + Description: + - This command returns a list of diagnostic types available. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:TYPE:CATalog?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:TYPE:CATalog?`` query + and raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:TYPE:CATalog? + ``` + """ + return self._catalog + + +class DiagnosticStopState(SCPICmdRead): + """The ``DIAGnostic:STOP:STATe`` command. + + Description: + - This command returns the current state of diagnostic testing. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:STOP:STATe?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:STOP:STATe?`` query and + raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:STOP:STATe? + ``` + """ + + +class DiagnosticStop(SCPICmdWriteNoArguments, SCPICmdRead): + """The ``DIAGnostic:STOP`` command. + + Description: + - This command stops the diagnostic tests from running, after the diagnostic test currently + in progress completes. This also terminates diagnostic test looping. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:STOP`` command. + + SCPI Syntax: + ``` + - DIAGnostic:STOP + ``` + + Properties: + - ``.state``: The ``DIAGnostic:STOP:STATe`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._state = DiagnosticStopState(device, f"{self._cmd_syntax}:STATe") + + @property + def state(self) -> DiagnosticStopState: + """Return the ``DIAGnostic:STOP:STATe`` command. + + Description: + - This command returns the current state of diagnostic testing. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:STOP:STATe?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:STOP:STATe?`` query and + raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:STOP:STATe? + ``` + """ + return self._state + + +class DiagnosticStart(SCPICmdWriteNoArguments): + """The ``DIAGnostic:STARt`` command. + + Description: + - This command starts the execution of the selected set of diagnostic tests. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:STARt`` command. + + SCPI Syntax: + ``` + - DIAGnostic:STARt + ``` + """ + + +class DiagnosticSelectVerify(SCPICmdReadWithArguments): + """The ``DIAGnostic:SELect:VERify`` command. + + Description: + - This command returns selection status of one specific test. A specific test requires the + 'subsystem', 'area', and 'test'. This is context sensitive and is dependent on the type + as set with the command ``DIAGNOSTIC:TYPE``. + + Usage: + - Using the ``.query(argument)`` method will send the ``DIAGnostic:SELect:VERify? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:SELect:VERify? argument`` query and raise an AssertionError if the returned + value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:SELect:VERify? ,, + ``` + """ + + +class DiagnosticSelect(SCPICmdWrite, SCPICmdRead): + """The ``DIAGnostic:SELect`` command. + + Description: + - This command (no query form) selects one or more tests of the current test list. Tests can + be selected by the keyword ALL, by 'subsystem', by 'area', or by 'test'. The selection by + 'area' requires 'subsystem' and a 'test' requires both the 'subsystem' and 'area'. This + command requires that ``ACTIVE:MODE`` is set to DIAGnostic. If not, the following error is + generated: -300,'Device-specific error; Not in Diagnostics mode - ``diag:sel`` + ''Channel1''' If in the proper active of DIAGnostic, then an invalid string generates the + following error: -220,'Parameter error; Invalid subsystem - ``diag:sel`` ''Channel2''' + + Usage: + - Using the ``.write(value)`` method will send the ``DIAGnostic:SELect value`` command. + + SCPI Syntax: + ``` + - DIAGnostic:SELect {ALL|} + ``` + + Properties: + - ``.verify``: The ``DIAGnostic:SELect:VERify`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._verify = DiagnosticSelectVerify(device, f"{self._cmd_syntax}:VERify") + + @property + def verify_(self) -> DiagnosticSelectVerify: + """Return the ``DIAGnostic:SELect:VERify`` command. + + Description: + - This command returns selection status of one specific test. A specific test requires + the 'subsystem', 'area', and 'test'. This is context sensitive and is dependent on + the type as set with the command ``DIAGNOSTIC:TYPE``. + + Usage: + - Using the ``.query(argument)`` method will send the + ``DIAGnostic:SELect:VERify? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:SELect:VERify? argument`` query and raise an AssertionError if the + returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:SELect:VERify? ,, + ``` + """ + return self._verify + + +class DiagnosticRunning(SCPICmdRead): + """The ``DIAGnostic:RUNNing`` command. + + Description: + - This command returns the name of the subsystem, area, and test of the current diagnostic + test. This command can be issued at any time. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:RUNNing?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:RUNNing?`` query and raise + an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RUNNing? + ``` + """ + + +class DiagnosticResultTime(SCPICmdReadWithArguments): + """The ``DIAGnostic:RESult:TIME`` command. + + Description: + - This command returns the time from the results of the last start of a set of selected + tests. Time is returned as a date time string as in the following example of '3/14/2013 + ``10:19 AM``'. Time for an area or subsystem have the following requirements: The time + only reflects the 'selected' tests. The 'selected' tests must have results of pass or + fail. As an example, if 3 of the 4 tests in an area has been selected, then only those 3 + contribute to the 'area' result. If only 2 of the selected 3 have run and completed (a + stop event occurred) then only those 2 contribute to the result. The time returned, which + is associated with the highest temperature of any selected test, is returned when the + results for more than one test is requested as in an area. + + Usage: + - Using the ``.query(argument)`` method will send the ``DIAGnostic:RESult:TIME? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:RESult:TIME? argument`` query and raise an AssertionError if the returned + value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RESult:TIME? ''[,''[,'']] + ``` + """ + + +class DiagnosticResultTemperature(SCPICmdReadWithArguments): + """The ``DIAGnostic:RESult:TEMPerature`` command. + + Description: + - This command returns the temperature from the results of the last start of a set of + selected tests. All temperatures will be in °C. Temperature for an area or subsystem have + the following requirements. The temperature only reflects the 'selected' tests. The + 'selected' tests must have results of pass or fail. As an example, if 3 of the 4 tests in + an area has been selected, then only those 3 contribute to the 'area' result. If only 2 of + the selected 3 have run and completed (a stop event occurred) then only those 2 contribute + to the result. The highest temperature is returned when the results for more than one test + is requested (as in an area). The time will also be recorded for the highest temperature + and may be found with the ``Diag:Result:Time?`` query. + + Usage: + - Using the ``.query(argument)`` method will send the + ``DIAGnostic:RESult:TEMPerature? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:RESult:TEMPerature? argument`` query and raise an AssertionError if the + returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RESult:TEMPerature? ''[,''[,'']] + ``` + """ + + +class DiagnosticResult(SCPICmdReadWithArguments): + """The ``DIAGnostic:RESult`` command. + + Description: + - This command returns the status about the results of the last start of a set of selected + tests. An individual test result can have a status of Pass, Fail or Running. Status for an + area or a subsystem have the following requirements: The results only reflect the + 'selected' tests. The selected tests have to have results of pass or fail or be in the + running state. Only selected tests in an area or subsystem contribute to the result. As an + example, if 3 of the 4 tests in an area has been selected, then only those 3 contribute to + the 'area' result. If only 2 of the selected 3 have run and completed (a stop event + occurred) then only those 2 contribute to the result. If all contributors have passed, + then the result is passed. If any contributor has failed, then the result is failed. If + any contributor is running, then the result is running. + + Usage: + - Using the ``.query(argument)`` method will send the ``DIAGnostic:RESult? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:RESult? argument`` query and raise an AssertionError if the returned value + does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RESult? [{ALL|}] + ``` + + Properties: + - ``.temperature``: The ``DIAGnostic:RESult:TEMPerature`` command. + - ``.time``: The ``DIAGnostic:RESult:TIME`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._temperature = DiagnosticResultTemperature(device, f"{self._cmd_syntax}:TEMPerature") + self._time = DiagnosticResultTime(device, f"{self._cmd_syntax}:TIME") + + @property + def temperature(self) -> DiagnosticResultTemperature: + """Return the ``DIAGnostic:RESult:TEMPerature`` command. + + Description: + - This command returns the temperature from the results of the last start of a set of + selected tests. All temperatures will be in °C. Temperature for an area or subsystem + have the following requirements. The temperature only reflects the 'selected' tests. + The 'selected' tests must have results of pass or fail. As an example, if 3 of the 4 + tests in an area has been selected, then only those 3 contribute to the 'area' result. + If only 2 of the selected 3 have run and completed (a stop event occurred) then only + those 2 contribute to the result. The highest temperature is returned when the results + for more than one test is requested (as in an area). The time will also be recorded + for the highest temperature and may be found with the ``Diag:Result:Time?`` query. + + Usage: + - Using the ``.query(argument)`` method will send the + ``DIAGnostic:RESult:TEMPerature? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:RESult:TEMPerature? argument`` query and raise an AssertionError if the + returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RESult:TEMPerature? ''[,''[,'']] + ``` + """ + return self._temperature + + @property + def time(self) -> DiagnosticResultTime: + """Return the ``DIAGnostic:RESult:TIME`` command. + + Description: + - This command returns the time from the results of the last start of a set of selected + tests. Time is returned as a date time string as in the following example of + '3/14/2013 ``10:19 AM``'. Time for an area or subsystem have the following + requirements: The time only reflects the 'selected' tests. The 'selected' tests must + have results of pass or fail. As an example, if 3 of the 4 tests in an area has been + selected, then only those 3 contribute to the 'area' result. If only 2 of the selected + 3 have run and completed (a stop event occurred) then only those 2 contribute to the + result. The time returned, which is associated with the highest temperature of any + selected test, is returned when the results for more than one test is requested as in + an area. + + Usage: + - Using the ``.query(argument)`` method will send the + ``DIAGnostic:RESult:TIME? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:RESult:TIME? argument`` query and raise an AssertionError if the returned + value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RESult:TIME? ''[,''[,'']] + ``` + """ + return self._time + + +class DiagnosticLoops(SCPICmdRead): + """The ``DIAGnostic:LOOPs`` command. + + Description: + - This command returns the number of times that the selected diagnostics set was completed + during the current running or the last diagnostic running of the set. The current loop is + reset after every start. This command can be issued while diagnostics are still in + progress. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:LOOPs?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:LOOPs?`` query and raise an + AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:LOOPs? + ``` + """ + + +class DiagnosticLogFailuresonly(SCPICmdWrite, SCPICmdRead): + """The ``DIAGnostic:LOG:FAILuresonly`` command. + + Description: + - This command sets or returns the flag that controls the amount of result information saved + into the diagnostic log. This controls all tests that pass or fail or only tests that + fail. The flag must be set before starting the diagnostic tests to obtain the expected + data. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:LOG:FAILuresonly?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:LOG:FAILuresonly?`` query + and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:LOG:FAILuresonly value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:LOG:FAILuresonly {0|1|OFF|ON} + - DIAGnostic:LOG:FAILuresonly? + ``` + + Info: + - ``*RST`` sets this to 0. + """ + + +class DiagnosticLogClear(SCPICmdWriteNoArguments): + """The ``DIAGnostic:LOG:CLEar`` command. + + Description: + - This command clears the diagnostics results log. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:LOG:CLEar`` command. + + SCPI Syntax: + ``` + - DIAGnostic:LOG:CLEar + ``` + """ + + +class DiagnosticLog(SCPICmdRead): + """The ``DIAGnostic:LOG`` command. + + Description: + - This command returns a string of continuous concatenated test results. The start time is + recorded for each of the selected tests. This command can be issued at any time including + while diagnostics are in progress. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:LOG?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:LOG?`` query and raise an + AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:LOG? + ``` + + Properties: + - ``.clear``: The ``DIAGnostic:LOG:CLEar`` command. + - ``.failuresonly``: The ``DIAGnostic:LOG:FAILuresonly`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._clear = DiagnosticLogClear(device, f"{self._cmd_syntax}:CLEar") + self._failuresonly = DiagnosticLogFailuresonly(device, f"{self._cmd_syntax}:FAILuresonly") + + @property + def clear(self) -> DiagnosticLogClear: + """Return the ``DIAGnostic:LOG:CLEar`` command. + + Description: + - This command clears the diagnostics results log. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:LOG:CLEar`` command. + + SCPI Syntax: + ``` + - DIAGnostic:LOG:CLEar + ``` + """ + return self._clear + + @property + def failuresonly(self) -> DiagnosticLogFailuresonly: + """Return the ``DIAGnostic:LOG:FAILuresonly`` command. + + Description: + - This command sets or returns the flag that controls the amount of result information + saved into the diagnostic log. This controls all tests that pass or fail or only tests + that fail. The flag must be set before starting the diagnostic tests to obtain the + expected data. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:LOG:FAILuresonly?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:LOG:FAILuresonly?`` + query and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:LOG:FAILuresonly value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:LOG:FAILuresonly {0|1|OFF|ON} + - DIAGnostic:LOG:FAILuresonly? + ``` + + Info: + - ``*RST`` sets this to 0. + """ + return self._failuresonly + + +class DiagnosticImmediate(SCPICmdWriteNoArguments, SCPICmdRead): + """The ``DIAGnostic:IMMediate`` command. + + Description: + - This command executes all of the NORMal diagnostic tests. The query form of this command + executes all of the NORMal diagnostics and returns the results in the form of numeric of + values of 0 for no errors or -330 for one or more tests failed. This changes the active + mode to DIAGnostic, if necessary, and returns back to the original active mode when done. + This makes a single pass of all of the NORMal diagnostics. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:IMMediate?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:IMMediate?`` query and + raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write()`` method will send the ``DIAGnostic:IMMediate`` command. + + SCPI Syntax: + ``` + - DIAGnostic:IMMediate + - DIAGnostic:IMMediate? + ``` + """ + + +class DiagnosticData(SCPICmdRead): + """The ``DIAGnostic:DATA`` command. + + Description: + - This command returns the results of last executed tests for the NORMal diagnostic type in + the form of a numeric value of 0 for no errors or -330 for one or more tests failed. + Additional error details can be found by using the subsystem, area, and test queries such + as ``DIAGnostic:RESult?`` [,[,]]. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:DATA?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:DATA?`` query and raise an + AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:DATA? + ``` + """ + + +class DiagnosticControlLoop(SCPICmdWrite, SCPICmdRead): + """The ``DIAGnostic:CONTrol:LOOP`` command. + + Description: + - This command sets or returns whether the next start of diagnostics runs once, runs + continuous loops, or loops for a number times for the selected set of tests. All loops may + be affected by the ``DIAGNOSTIC:CONTROL:HALT`` command which determines what happens if an + error occurs. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol:LOOP?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol:LOOP?`` query and + raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:CONTrol:LOOP value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:CONTrol:LOOP {ONCE|CONTinuous|COUNt} + - DIAGnostic:CONTrol:LOOP? + ``` + + Info: + - ``ONCE`` disables the loop function, causes the execution of selected test(s), which may + be one or more, of diagnostics once and then halt. + - ``CONTinuous`` enables the loop function, causing the execution of diagnostics to + continuously loop. + - ``COUNt`` enables the loop function, causing the execution of diagnostics to loop for a + predefined count. Exit of the loop happens when the predefined loop count occurs. + - ``*RST`` sets this to ONCE. + """ + + +class DiagnosticControlHalt(SCPICmdWrite, SCPICmdRead): + """The ``DIAGnostic:CONTrol:HALT`` command. + + Description: + - This command sets or returns whether the next execution of diagnostics looping stops on + the first diagnostic failure that occurs or continues to loop on the selected set of + diagnostic functions. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol:HALT?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol:HALT?`` query and + raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:CONTrol:HALT value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:CONTrol:HALT {0|1|OFF|ON} + - DIAGnostic:CONTrol:HALT? + ``` + + Info: + - ``*RST`` sets this to 0. + """ + + +class DiagnosticControlCount(SCPICmdWrite, SCPICmdRead): + """The ``DIAGnostic:CONTrol:COUNt`` command. + + Description: + - This command sets or returns the number of loop counts used when the loop mode is set to + COUNt. See ``DIAGNOSTIC:CONTROL:LOOP``. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol:COUNt?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol:COUNt?`` query and + raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:CONTrol:COUNt value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:CONTrol:COUNt + - DIAGnostic:CONTrol:COUNt? + ``` + + Info: + - ``*RST`` sets this to 0. + """ + + +class DiagnosticControl(SCPICmdRead): + """The ``DIAGnostic:CONTrol`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol?`` query and raise + an AssertionError if the returned value does not match ``value``. + + Properties: + - ``.count``: The ``DIAGnostic:CONTrol:COUNt`` command. + - ``.halt``: The ``DIAGnostic:CONTrol:HALT`` command. + - ``.loop``: The ``DIAGnostic:CONTrol:LOOP`` command. + """ + + def __init__(self, device: Optional["PIDevice"], cmd_syntax: str) -> None: + super().__init__(device, cmd_syntax) + self._count = DiagnosticControlCount(device, f"{self._cmd_syntax}:COUNt") + self._halt = DiagnosticControlHalt(device, f"{self._cmd_syntax}:HALT") + self._loop = DiagnosticControlLoop(device, f"{self._cmd_syntax}:LOOP") + + @property + def count(self) -> DiagnosticControlCount: + """Return the ``DIAGnostic:CONTrol:COUNt`` command. + + Description: + - This command sets or returns the number of loop counts used when the loop mode is set + to COUNt. See ``DIAGNOSTIC:CONTROL:LOOP``. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol:COUNt?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol:COUNt?`` query + and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:CONTrol:COUNt value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:CONTrol:COUNt + - DIAGnostic:CONTrol:COUNt? + ``` + + Info: + - ``*RST`` sets this to 0. + """ + return self._count + + @property + def halt(self) -> DiagnosticControlHalt: + """Return the ``DIAGnostic:CONTrol:HALT`` command. + + Description: + - This command sets or returns whether the next execution of diagnostics looping stops + on the first diagnostic failure that occurs or continues to loop on the selected set + of diagnostic functions. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol:HALT?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol:HALT?`` query + and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:CONTrol:HALT value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:CONTrol:HALT {0|1|OFF|ON} + - DIAGnostic:CONTrol:HALT? + ``` + + Info: + - ``*RST`` sets this to 0. + """ + return self._halt + + @property + def loop(self) -> DiagnosticControlLoop: + """Return the ``DIAGnostic:CONTrol:LOOP`` command. + + Description: + - This command sets or returns whether the next start of diagnostics runs once, runs + continuous loops, or loops for a number times for the selected set of tests. All loops + may be affected by the ``DIAGNOSTIC:CONTROL:HALT`` command which determines what + happens if an error occurs. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol:LOOP?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol:LOOP?`` query + and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:CONTrol:LOOP value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:CONTrol:LOOP {ONCE|CONTinuous|COUNt} + - DIAGnostic:CONTrol:LOOP? + ``` + + Info: + - ``ONCE`` disables the loop function, causes the execution of selected test(s), which + may be one or more, of diagnostics once and then halt. + - ``CONTinuous`` enables the loop function, causing the execution of diagnostics to + continuously loop. + - ``COUNt`` enables the loop function, causing the execution of diagnostics to loop for + a predefined count. Exit of the loop happens when the predefined loop count occurs. + - ``*RST`` sets this to ONCE. + """ + return self._loop + + +class DiagnosticCatalog(SCPICmdReadWithArguments): + """The ``DIAGnostic:CATalog`` command. + + Description: + - This command returns the list of all diagnostic tests per selected type per subsystems, + areas, or ALL. All tests are grouped by areas. All areas are grouped by subsystems. The + available subsystems, areas, and tests depend on the type of testing (such as POST only or + Full diagnostics). The selected type is set with the command ``DIAGNOSTIC:TYPE``. + + Usage: + - Using the ``.query(argument)`` method will send the ``DIAGnostic:CATalog? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:CATalog? argument`` query and raise an AssertionError if the returned value + does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:CATalog? [{ALL|}[,{ALL|}]] + ``` + """ + + +class DiagnosticAbort(SCPICmdWriteNoArguments): + """The ``DIAGnostic:ABORt`` command. + + Description: + - This command attempts to stop the current diagnostic test and stops the execution of any + additional selected tests. This may result in loss of logging information collected for + the current test that responds to the abort event. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:ABORt`` command. + + SCPI Syntax: + ``` + - DIAGnostic:ABORt + ``` + """ + + +# pylint: disable=too-many-instance-attributes +class Diagnostic(SCPICmdRead): + """The ``DIAGnostic`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic?`` query and raise an + AssertionError if the returned value does not match ``value``. + + Properties: + - ``.abort``: The ``DIAGnostic:ABORt`` command. + - ``.catalog``: The ``DIAGnostic:CATalog`` command. + - ``.control``: The ``DIAGnostic:CONTrol`` command tree. + - ``.data``: The ``DIAGnostic:DATA`` command. + - ``.log``: The ``DIAGnostic:LOG`` command. + - ``.loops``: The ``DIAGnostic:LOOPs`` command. + - ``.result``: The ``DIAGnostic:RESult`` command. + - ``.running``: The ``DIAGnostic:RUNNing`` command. + - ``.select``: The ``DIAGnostic:SELect`` command. + - ``.start``: The ``DIAGnostic:STARt`` command. + - ``.stop``: The ``DIAGnostic:STOP`` command. + - ``.type``: The ``DIAGnostic:TYPE`` command. + - ``.unselect``: The ``DIAGnostic:UNSelect`` command. + - ``.immediate``: The ``DIAGnostic:IMMediate`` command. + """ + + def __init__(self, device: Optional["PIDevice"] = None, cmd_syntax: str = "DIAGnostic") -> None: + super().__init__(device, cmd_syntax) + self._abort = DiagnosticAbort(device, f"{self._cmd_syntax}:ABORt") + self._catalog = DiagnosticCatalog(device, f"{self._cmd_syntax}:CATalog") + self._control = DiagnosticControl(device, f"{self._cmd_syntax}:CONTrol") + self._data = DiagnosticData(device, f"{self._cmd_syntax}:DATA") + self._log = DiagnosticLog(device, f"{self._cmd_syntax}:LOG") + self._loops = DiagnosticLoops(device, f"{self._cmd_syntax}:LOOPs") + self._result = DiagnosticResult(device, f"{self._cmd_syntax}:RESult") + self._running = DiagnosticRunning(device, f"{self._cmd_syntax}:RUNNing") + self._select = DiagnosticSelect(device, f"{self._cmd_syntax}:SELect") + self._start = DiagnosticStart(device, f"{self._cmd_syntax}:STARt") + self._stop = DiagnosticStop(device, f"{self._cmd_syntax}:STOP") + self._type = DiagnosticType(device, f"{self._cmd_syntax}:TYPE") + self._unselect = DiagnosticUnselect(device, f"{self._cmd_syntax}:UNSelect") + self._immediate = DiagnosticImmediate(device, f"{self._cmd_syntax}:IMMediate") + + @property + def abort(self) -> DiagnosticAbort: + """Return the ``DIAGnostic:ABORt`` command. + + Description: + - This command attempts to stop the current diagnostic test and stops the execution of + any additional selected tests. This may result in loss of logging information + collected for the current test that responds to the abort event. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:ABORt`` command. + + SCPI Syntax: + ``` + - DIAGnostic:ABORt + ``` + """ + return self._abort + + @property + def catalog(self) -> DiagnosticCatalog: + """Return the ``DIAGnostic:CATalog`` command. + + Description: + - This command returns the list of all diagnostic tests per selected type per + subsystems, areas, or ALL. All tests are grouped by areas. All areas are grouped by + subsystems. The available subsystems, areas, and tests depend on the type of testing + (such as POST only or Full diagnostics). The selected type is set with the command + ``DIAGNOSTIC:TYPE``. + + Usage: + - Using the ``.query(argument)`` method will send the ``DIAGnostic:CATalog? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:CATalog? argument`` query and raise an AssertionError if the returned + value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:CATalog? [{ALL|}[,{ALL|}]] + ``` + """ + return self._catalog + + @property + def control(self) -> DiagnosticControl: + """Return the ``DIAGnostic:CONTrol`` command tree. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:CONTrol?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:CONTrol?`` query and + raise an AssertionError if the returned value does not match ``value``. + + Sub-properties: + - ``.count``: The ``DIAGnostic:CONTrol:COUNt`` command. + - ``.halt``: The ``DIAGnostic:CONTrol:HALT`` command. + - ``.loop``: The ``DIAGnostic:CONTrol:LOOP`` command. + """ + return self._control + + @property + def data(self) -> DiagnosticData: + """Return the ``DIAGnostic:DATA`` command. + + Description: + - This command returns the results of last executed tests for the NORMal diagnostic type + in the form of a numeric value of 0 for no errors or -330 for one or more tests + failed. Additional error details can be found by using the subsystem, area, and test + queries such as ``DIAGnostic:RESult?`` [,[,]]. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:DATA?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:DATA?`` query and raise + an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:DATA? + ``` + """ + return self._data + + @property + def log(self) -> DiagnosticLog: + """Return the ``DIAGnostic:LOG`` command. + + Description: + - This command returns a string of continuous concatenated test results. The start time + is recorded for each of the selected tests. This command can be issued at any time + including while diagnostics are in progress. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:LOG?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:LOG?`` query and raise + an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:LOG? + ``` + + Sub-properties: + - ``.clear``: The ``DIAGnostic:LOG:CLEar`` command. + - ``.failuresonly``: The ``DIAGnostic:LOG:FAILuresonly`` command. + """ + return self._log + + @property + def loops(self) -> DiagnosticLoops: + """Return the ``DIAGnostic:LOOPs`` command. + + Description: + - This command returns the number of times that the selected diagnostics set was + completed during the current running or the last diagnostic running of the set. The + current loop is reset after every start. This command can be issued while diagnostics + are still in progress. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:LOOPs?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:LOOPs?`` query and + raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:LOOPs? + ``` + """ + return self._loops + + @property + def result(self) -> DiagnosticResult: + """Return the ``DIAGnostic:RESult`` command. + + Description: + - This command returns the status about the results of the last start of a set of + selected tests. An individual test result can have a status of Pass, Fail or Running. + Status for an area or a subsystem have the following requirements: The results only + reflect the 'selected' tests. The selected tests have to have results of pass or fail + or be in the running state. Only selected tests in an area or subsystem contribute to + the result. As an example, if 3 of the 4 tests in an area has been selected, then only + those 3 contribute to the 'area' result. If only 2 of the selected 3 have run and + completed (a stop event occurred) then only those 2 contribute to the result. If all + contributors have passed, then the result is passed. If any contributor has failed, + then the result is failed. If any contributor is running, then the result is running. + + Usage: + - Using the ``.query(argument)`` method will send the ``DIAGnostic:RESult? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``DIAGnostic:RESult? argument`` query and raise an AssertionError if the returned + value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RESult? [{ALL|}] + ``` + + Sub-properties: + - ``.temperature``: The ``DIAGnostic:RESult:TEMPerature`` command. + - ``.time``: The ``DIAGnostic:RESult:TIME`` command. + """ + return self._result + + @property + def running(self) -> DiagnosticRunning: + """Return the ``DIAGnostic:RUNNing`` command. + + Description: + - This command returns the name of the subsystem, area, and test of the current + diagnostic test. This command can be issued at any time. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:RUNNing?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:RUNNing?`` query and + raise an AssertionError if the returned value does not match ``value``. + + SCPI Syntax: + ``` + - DIAGnostic:RUNNing? + ``` + """ + return self._running + + @property + def select(self) -> DiagnosticSelect: + """Return the ``DIAGnostic:SELect`` command. + + Description: + - This command (no query form) selects one or more tests of the current test list. Tests + can be selected by the keyword ALL, by 'subsystem', by 'area', or by 'test'. The + selection by 'area' requires 'subsystem' and a 'test' requires both the 'subsystem' + and 'area'. This command requires that ``ACTIVE:MODE`` is set to DIAGnostic. If not, + the following error is generated: -300,'Device-specific error; Not in Diagnostics mode + - ``diag:sel`` ''Channel1''' If in the proper active of DIAGnostic, then an invalid + string generates the following error: -220,'Parameter error; Invalid subsystem - + ``diag:sel`` ''Channel2''' + + Usage: + - Using the ``.write(value)`` method will send the ``DIAGnostic:SELect value`` command. + + SCPI Syntax: + ``` + - DIAGnostic:SELect {ALL|} + ``` + + Sub-properties: + - ``.verify``: The ``DIAGnostic:SELect:VERify`` command. + """ + return self._select + + @property + def start(self) -> DiagnosticStart: + """Return the ``DIAGnostic:STARt`` command. + + Description: + - This command starts the execution of the selected set of diagnostic tests. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:STARt`` command. + + SCPI Syntax: + ``` + - DIAGnostic:STARt + ``` + """ + return self._start + + @property + def stop(self) -> DiagnosticStop: + """Return the ``DIAGnostic:STOP`` command. + + Description: + - This command stops the diagnostic tests from running, after the diagnostic test + currently in progress completes. This also terminates diagnostic test looping. + + Usage: + - Using the ``.write()`` method will send the ``DIAGnostic:STOP`` command. + + SCPI Syntax: + ``` + - DIAGnostic:STOP + ``` + + Sub-properties: + - ``.state``: The ``DIAGnostic:STOP:STATe`` command. + """ + return self._stop + + @property + def type(self) -> DiagnosticType: + """Return the ``DIAGnostic:TYPE`` command. + + Description: + - This command sets or returns the diagnostic type. The diagnostics work on a list of + tests that support different types of testing. This sets the context for other + commands such as selecting a test to run. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:TYPE?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:TYPE?`` query and raise + an AssertionError if the returned value does not match ``value``. + - Using the ``.write(value)`` method will send the ``DIAGnostic:TYPE value`` command. + + SCPI Syntax: + ``` + - DIAGnostic:TYPE {NORMal|POST} + - DIAGnostic:TYPE? + ``` + + Info: + - ``NORMal`` - Normal operating mode POST - Power On Self Test. + - ``*RST`` sets this to NORM. + + Sub-properties: + - ``.catalog``: The ``DIAGnostic:TYPE:CATalog`` command. + """ + return self._type + + @property + def unselect(self) -> DiagnosticUnselect: + """Return the ``DIAGnostic:UNSelect`` command. + + Description: + - This command unselects one or more tests of the current test list. Tests can be + unselected by the keyword ALL, by 'subsystem', by 'area', or by 'test'. To unselect an + 'area', the 'subsystem' is required. To unselect a 'test' requires both the + 'subsystem' and 'area'. + + Usage: + - Using the ``.write(value)`` method will send the ``DIAGnostic:UNSelect value`` + command. + + SCPI Syntax: + ``` + - DIAGnostic:UNSelect {ALL|<'subsystem'>,<'area'>,<'test'>} + ``` + """ + return self._unselect + + @property + def immediate(self) -> DiagnosticImmediate: + """Return the ``DIAGnostic:IMMediate`` command. + + Description: + - This command executes all of the NORMal diagnostic tests. The query form of this + command executes all of the NORMal diagnostics and returns the results in the form of + numeric of values of 0 for no errors or -330 for one or more tests failed. This + changes the active mode to DIAGnostic, if necessary, and returns back to the original + active mode when done. This makes a single pass of all of the NORMal diagnostics. + + Usage: + - Using the ``.query()`` method will send the ``DIAGnostic:IMMediate?`` query. + - Using the ``.verify(value)`` method will send the ``DIAGnostic:IMMediate?`` query and + raise an AssertionError if the returned value does not match ``value``. + - Using the ``.write()`` method will send the ``DIAGnostic:IMMediate`` command. + + SCPI Syntax: + ``` + - DIAGnostic:IMMediate + - DIAGnostic:IMMediate? + ``` + """ + return self._immediate diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/instrument.py b/src/tm_devices/commands/gen_3rs8qy_awg/instrument.py index fb688cef..9d90437b 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/instrument.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/instrument.py @@ -44,7 +44,7 @@ class InstrumentMode(SCPICmdWrite, SCPICmdRead): ``` Info: - - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode. FGEN sets the + - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode.FGEN sets the instrument to the Function generator mode. - ``*RST`` sets this to AWG. """ @@ -175,7 +175,7 @@ def mode(self) -> InstrumentMode: ``` Info: - - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode. FGEN sets the + - ``AWG`` sets the instrument to the Arbitrary Waveform Generator mode.FGEN sets the instrument to the Function generator mode. - ``*RST`` sets this to AWG. """ diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/mmemory.py b/src/tm_devices/commands/gen_3rs8qy_awg/mmemory.py index 8ffd0903..b2441af3 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/mmemory.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/mmemory.py @@ -24,6 +24,7 @@ - MMEMory:MSIS? - MMEMory:OPEN - MMEMory:OPEN:PARameter:NORMalize + - MMEMory:OPEN:PARameter:NORMalize? - MMEMory:OPEN:PARameter:SIQ {0|1|OFF|ON} - MMEMory:OPEN:PARameter:SIQ? - MMEMory:OPEN:SASSet:SEQuence [,] @@ -584,7 +585,7 @@ class MmemoryOpenParameterSiq(SCPICmdWrite, SCPICmdRead): """ -class MmemoryOpenParameterNormalize(SCPICmdWrite): +class MmemoryOpenParameterNormalize(SCPICmdWrite, SCPICmdRead): """The ``MMEMory:OPEN:PARameter:NORMalize`` command. Description: @@ -595,18 +596,22 @@ class MmemoryOpenParameterNormalize(SCPICmdWrite): Analog text files from AWG.RFD - RFXpress AWG Series waveforms.MAT - Matlab files Usage: + - Using the ``.query()`` method will send the ``MMEMory:OPEN:PARameter:NORMalize?`` query. + - Using the ``.verify(value)`` method will send the ``MMEMory:OPEN:PARameter:NORMalize?`` + query and raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``MMEMory:OPEN:PARameter:NORMalize value`` command. SCPI Syntax: ``` - MMEMory:OPEN:PARameter:NORMalize + - MMEMory:OPEN:PARameter:NORMalize? ``` Info: - ``NONE`` will not normalize the imported data. The data may contain points outside of the - AWG's amplitude range. FSCale normalizes the imported data to the full amplitude range. - ZREFerence normalizes the imported data while preserving the offset. + AWG's amplitude range.FSCale normalizes the imported data to the full amplitude + range.ZREFerence normalizes the imported data while preserving the offset. - ``*RST`` sets the arguments to NONE. """ @@ -641,18 +646,24 @@ def normalize(self) -> MmemoryOpenParameterNormalize: - Analog text files from AWG.RFD - RFXpress AWG Series waveforms.MAT - Matlab files Usage: + - Using the ``.query()`` method will send the ``MMEMory:OPEN:PARameter:NORMalize?`` + query. + - Using the ``.verify(value)`` method will send the + ``MMEMory:OPEN:PARameter:NORMalize?`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``MMEMory:OPEN:PARameter:NORMalize value`` command. SCPI Syntax: ``` - MMEMory:OPEN:PARameter:NORMalize + - MMEMory:OPEN:PARameter:NORMalize? ``` Info: - ``NONE`` will not normalize the imported data. The data may contain points outside of - the AWG's amplitude range. FSCale normalizes the imported data to the full amplitude - range. ZREFerence normalizes the imported data while preserving the offset. + the AWG's amplitude range.FSCale normalizes the imported data to the full amplitude + range.ZREFerence normalizes the imported data while preserving the offset. - ``*RST`` sets the arguments to NONE. """ return self._normalize @@ -849,8 +860,8 @@ class MmemoryImportParameterNormalize(SCPICmdWrite, SCPICmdRead): Info: - ``NONE`` will not normalize the imported data. The data may contain points outside of the - AWG's amplitude range. FSCale normalizes the imported data to the full amplitude range. - ZREFerence normalizes the imported data while preserving the offset. + AWG's amplitude range.FSCale normalizes the imported data to the full amplitude + range.ZREFerence normalizes the imported data while preserving the offset. """ @@ -898,8 +909,8 @@ def normalize(self) -> MmemoryImportParameterNormalize: Info: - ``NONE`` will not normalize the imported data. The data may contain points outside of - the AWG's amplitude range. FSCale normalizes the imported data to the full amplitude - range. ZREFerence normalizes the imported data while preserving the offset. + the AWG's amplitude range.FSCale normalizes the imported data to the full amplitude + range.ZREFerence normalizes the imported data while preserving the offset. """ return self._normalize diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/output.py b/src/tm_devices/commands/gen_3rs8qy_awg/output.py index d909afaa..316fccf7 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/output.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/output.py @@ -72,8 +72,8 @@ class OutputItemWvalueMarkerItem(ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICm Info: - ``FIRSt`` sets the marker output level to match the first point in the waveform when the - channel is in the waiting-for-trigger state. LOW sets the marker output to a logic level - low for when the channel is in the waiting-for-trigger state. HIGH sets the marker output + channel is in the waiting-for-trigger state.LOW sets the marker output to a logic level + low for when the channel is in the waiting-for-trigger state.HIGH sets the marker output to a logic level high when the channel is in the waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. @@ -104,7 +104,7 @@ class OutputItemWvalueAnalogState(SCPICmdWrite, SCPICmdRead): Info: - ``FIRSt`` sets the output level for channel 'n' to match the first point in the waveform - when channel 'n' is in the Waiting-for-trigger state. ZERO sets the output level for + when channel 'n' is in the Waiting-for-trigger state.ZERO sets the output level for channel 'n' to 0 volts when channel 'n' is in the Waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. @@ -151,7 +151,7 @@ def state(self) -> OutputItemWvalueAnalogState: Info: - ``FIRSt`` sets the output level for channel 'n' to match the first point in the - waveform when channel 'n' is in the Waiting-for-trigger state. ZERO sets the output + waveform when channel 'n' is in the Waiting-for-trigger state.ZERO sets the output level for channel 'n' to 0 volts when channel 'n' is in the Waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. @@ -203,8 +203,8 @@ def marker(self) -> Dict[int, OutputItemWvalueMarkerItem]: Info: - ``FIRSt`` sets the marker output level to match the first point in the waveform when - the channel is in the waiting-for-trigger state. LOW sets the marker output to a logic - level low for when the channel is in the waiting-for-trigger state. HIGH sets the + the channel is in the waiting-for-trigger state.LOW sets the marker output to a logic + level low for when the channel is in the waiting-for-trigger state.HIGH sets the marker output to a logic level high when the channel is in the waiting-for-trigger state.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. @@ -249,7 +249,7 @@ class OutputItemSvalueMarkerItem(ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICm Info: - ``OFF`` sets the stop state marker output for channel 'n' to open (electrically - disconnected). LOW sets the stop state marker output for channel 'n' value to 0 volts.[n] + disconnected).LOW sets the stop state marker output for channel 'n' value to 0 volts.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. - ``*RST`` sets all channel markers to LOW. @@ -277,9 +277,9 @@ class OutputItemSvalueAnalogState(SCPICmdWrite, SCPICmdRead): ``` Info: - - ``OFF`` sets the stop state output for channel 'n' to open (electrically disconnected). - ZERO sets the stop state output value for channel 'n' to 0 volts.[n] determines the - channel number. If omitted, interpreted as 1. + - ``OFF`` sets the stop state output for channel 'n' to open (electrically + disconnected).ZERO sets the stop state output value for channel 'n' to 0 volts.[n] + determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. """ @@ -323,7 +323,7 @@ def state(self) -> OutputItemSvalueAnalogState: Info: - ``OFF`` sets the stop state output for channel 'n' to open (electrically - disconnected). ZERO sets the stop state output value for channel 'n' to 0 volts.[n] + disconnected).ZERO sets the stop state output value for channel 'n' to 0 volts.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to ZERO. """ @@ -373,7 +373,7 @@ def marker(self) -> Dict[int, OutputItemSvalueMarkerItem]: Info: - ``OFF`` sets the stop state marker output for channel 'n' to open (electrically - disconnected). LOW sets the stop state marker output for channel 'n' value to 0 + disconnected).LOW sets the stop state marker output for channel 'n' value to 0 volts.[n] determines the channel number. If omitted, interpreted as 1.[m] determines the marker number. If omitted, interpreted as 1. - ``*RST`` sets all channel markers to LOW. @@ -414,7 +414,7 @@ class OutputItemState(SCPICmdWrite, SCPICmdRead): ``` Info: - - ``0`` or OFF disables the channel's output. 1 or ON enables the channel's output.[n] + - ``0`` or OFF disables the channel's output.1 or ON enables the channel's output.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to 0. """ @@ -442,7 +442,7 @@ class OutputItemPath(SCPICmdWrite, SCPICmdRead): Info: - ``DIRect`` sets the signal path to go directly from the DAC to the + and - differential - outputs. AC sets signal path to go through the attenuators and amplifiers, then to the + outputs.AC sets signal path to go through the attenuators and amplifiers, then to the single-ended AC output. Available only for the AWG70001 with Option AC.DCAmplified sets the signal path to go directly from the DAC to the + and - differential outputs that must be connected to the inputs of an MDC4500. The DCAmplified setting provides additional @@ -875,9 +875,9 @@ def path(self) -> OutputItemPath: Info: - ``DIRect`` sets the signal path to go directly from the DAC to the + and - - differential outputs. AC sets signal path to go through the attenuators and - amplifiers, then to the single-ended AC output. Available only for the AWG70001 with - Option AC.DCAmplified sets the signal path to go directly from the DAC to the + and - + differential outputs.AC sets signal path to go through the attenuators and amplifiers, + then to the single-ended AC output. Available only for the AWG70001 with Option + AC.DCAmplified sets the signal path to go directly from the DAC to the + and - differential outputs that must be connected to the inputs of an MDC4500. The DCAmplified setting provides additional output range and output offset adjustment from the MDC4500 outputs. @@ -934,7 +934,7 @@ def state(self) -> OutputItemState: ``` Info: - - ``0`` or OFF disables the channel's output. 1 or ON enables the channel's output.[n] + - ``0`` or OFF disables the channel's output.1 or ON enables the channel's output.[n] determines the channel number. If omitted, interpreted as 1. - ``*RST`` sets all channels to 0. """ diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/source.py b/src/tm_devices/commands/gen_3rs8qy_awg/source.py index 1a95d5f3..ff43250e 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/source.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/source.py @@ -12,6 +12,7 @@ - SOURce:FREQuency - SOURce:FREQuency? - SOURce:RCCouple {0|1|ON|OFF} + - SOURce:RCCouple? - SOURce:ROSCillator:MULTiplier - SOURce:ROSCillator:MULTiplier? - SOURce[n]:CASSet:SEQuence , [,] @@ -476,7 +477,7 @@ class SourceItemRmode(SCPICmdWrite, SCPICmdRead): Info: - ``CONTinuous`` sets the Run Mode to Continuous (not waiting for trigger). TRIGgered sets the Run Mode to Triggered, waiting for a trigger event. One waveform play out cycle - completes, then play out stops, waiting for the next trigger event. TCONtinuous sets the + completes, then play out stops, waiting for the next trigger event.TCONtinuous sets the Run Mode to Triggered Continuous, waiting for a trigger. Once a trigger is received, the waveform plays out continuously.[n] determines the channel number. If omitted, interpreted as 1. @@ -1484,7 +1485,7 @@ def rmode(self) -> SourceItemRmode: Info: - ``CONTinuous`` sets the Run Mode to Continuous (not waiting for trigger). TRIGgered sets the Run Mode to Triggered, waiting for a trigger event. One waveform play out - cycle completes, then play out stops, waiting for the next trigger event. TCONtinuous + cycle completes, then play out stops, waiting for the next trigger event.TCONtinuous sets the Run Mode to Triggered Continuous, waiting for a trigger. Once a trigger is received, the waveform plays out continuously.[n] determines the channel number. If omitted, interpreted as 1. @@ -1679,7 +1680,7 @@ def multiplier(self) -> SourceRoscillatorMultiplier: return self._multiplier -class SourceRccouple(SCPICmdWrite): +class SourceRccouple(SCPICmdWrite, SCPICmdRead): """The ``SOURce:RCCouple`` command. Description: @@ -1690,11 +1691,15 @@ class SourceRccouple(SCPICmdWrite): all channels. Usage: + - Using the ``.query()`` method will send the ``SOURce:RCCouple?`` query. + - Using the ``.verify(value)`` method will send the ``SOURce:RCCouple?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``SOURce:RCCouple value`` command. SCPI Syntax: ``` - SOURce:RCCouple {0|1|ON|OFF} + - SOURce:RCCouple? ``` Info: @@ -1784,11 +1789,15 @@ def rccouple(self) -> SourceRccouple: channel affects all channels. Usage: + - Using the ``.query()`` method will send the ``SOURce:RCCouple?`` query. + - Using the ``.verify(value)`` method will send the ``SOURce:RCCouple?`` query and raise + an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``SOURce:RCCouple value`` command. SCPI Syntax: ``` - SOURce:RCCouple {0|1|ON|OFF} + - SOURce:RCCouple? ``` Info: diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/system.py b/src/tm_devices/commands/gen_3rs8qy_awg/system.py index c2b23d34..0819ea54 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/system.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/system.py @@ -10,6 +10,7 @@ Commands and Queries: ``` - SYSTem:DATE ,, + - SYSTem:DATE? - SYSTem:ERRor:ALL? - SYSTem:ERRor:CODE:ALL? - SYSTem:ERRor:CODE:NEXT? @@ -515,7 +516,7 @@ def next(self) -> SystemErrorNext: return self._next -class SystemDate(SCPICmdWrite): +class SystemDate(SCPICmdWrite, SCPICmdRead): """The ``SYSTem:DATE`` command. Description: @@ -523,11 +524,15 @@ class SystemDate(SCPICmdWrite): rounded off to nearest integral values. Usage: + - Using the ``.query()`` method will send the ``SYSTem:DATE?`` query. + - Using the ``.verify(value)`` method will send the ``SYSTem:DATE?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``SYSTem:DATE value`` command. SCPI Syntax: ``` - SYSTem:DATE ,, + - SYSTem:DATE? ``` """ @@ -565,11 +570,15 @@ def date(self) -> SystemDate: are rounded off to nearest integral values. Usage: + - Using the ``.query()`` method will send the ``SYSTem:DATE?`` query. + - Using the ``.verify(value)`` method will send the ``SYSTem:DATE?`` query and raise an + AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``SYSTem:DATE value`` command. SCPI Syntax: ``` - SYSTem:DATE ,, + - SYSTem:DATE? ``` """ return self._date diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/trigger.py b/src/tm_devices/commands/gen_3rs8qy_awg/trigger.py index d2d50faa..5a6df680 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/trigger.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/trigger.py @@ -105,8 +105,8 @@ class TriggerSlope(SCPICmdWrite, SCPICmdReadWithArguments): ``` Info: - - ``POSitive`` specifies a trigger on the rising edge of the external trigger signal. - NEGative specifies a trigger on the falling edge of the external trigger + - ``POSitive`` specifies a trigger on the rising edge of the external trigger + signal.NEGative specifies a trigger on the falling edge of the external trigger signal.```` ::= {ATRigger\|BTRigger}, defaults to ATR if not specified. - ``*RST`` sets all external trigger slopes to POSitive. """ @@ -133,7 +133,7 @@ class TriggerMode(SCPICmdWrite, SCPICmdReadWithArguments): Info: - ``SYNChronous`` : Synchronous triggering. This is the recommended trigger type when using - the Sync Clock Out to synchronize with external devices. ASYNchronous: Asynchronous + the Sync Clock Out to synchronize with external devices.ASYNchronous: Asynchronous triggering. This is the fastest triggering type. - ``*RST`` sets this to ASYNchronous. """ @@ -354,7 +354,7 @@ def mode(self) -> TriggerMode: Info: - ``SYNChronous`` : Synchronous triggering. This is the recommended trigger type when - using the Sync Clock Out to synchronize with external devices. ASYNchronous: + using the Sync Clock Out to synchronize with external devices.ASYNchronous: Asynchronous triggering. This is the fastest triggering type. - ``*RST`` sets this to ASYNchronous. """ @@ -382,8 +382,8 @@ def slope(self) -> TriggerSlope: ``` Info: - - ``POSitive`` specifies a trigger on the rising edge of the external trigger signal. - NEGative specifies a trigger on the falling edge of the external trigger + - ``POSitive`` specifies a trigger on the rising edge of the external trigger + signal.NEGative specifies a trigger on the falling edge of the external trigger signal.```` ::= {ATRigger\|BTRigger}, defaults to ATR if not specified. - ``*RST`` sets all external trigger slopes to POSitive. """ diff --git a/src/tm_devices/commands/gen_3rs8qy_awg/wlist.py b/src/tm_devices/commands/gen_3rs8qy_awg/wlist.py index 8d79d342..2d2925e8 100644 --- a/src/tm_devices/commands/gen_3rs8qy_awg/wlist.py +++ b/src/tm_devices/commands/gen_3rs8qy_awg/wlist.py @@ -42,6 +42,7 @@ - WLISt:SPARameter:CASCading:STAGe[m]:ENABle {0|1|OFF|ON} - WLISt:SPARameter:CASCading:STAGe[m]:ENABle? - WLISt:SPARameter:CASCading:STAGe[m]:FILE + - WLISt:SPARameter:CASCading:STAGe[m]:FILE? - WLISt:SPARameter:CASCading:STAGe[m]:RX[n] - WLISt:SPARameter:CASCading:STAGe[m]:RX[n]? - WLISt:SPARameter:CASCading:STAGe[m]:SSCHeme {SENDed|DIFFerential} @@ -75,6 +76,7 @@ - WLISt:SPARameter:NCAScading:DTX[n] - WLISt:SPARameter:NCAScading:DTX[n]? - WLISt:SPARameter:NCAScading:FILE + - WLISt:SPARameter:NCAScading:FILE? - WLISt:SPARameter:NCAScading:LAYout {TYPical|ALTernate} - WLISt:SPARameter:NCAScading:LAYout? - WLISt:SPARameter:NCAScading:RX[n] @@ -86,6 +88,7 @@ - WLISt:SPARameter:NCAScading:TX[n] - WLISt:SPARameter:NCAScading:TX[n]? - WLISt:SPARameter:NCAScading:TYPE {1|2|4|6|8|12} + - WLISt:SPARameter:NCAScading:TYPE? - WLISt:SPARameter:SFORmat {REAL|I|Q|IQ} - WLISt:SPARameter:SFORmat? - WLISt:WAVeform:ACFile ,[,] @@ -106,7 +109,7 @@ - WLISt:WAVeform:DATA:Q? [,[,]] - WLISt:WAVeform:DELete {|ALL} - WLISt:WAVeform:FREQuency , - - WLISt:WAVeform:FREQuency? + - WLISt:WAVeform:FREQuency? - WLISt:WAVeform:GRANularity? - WLISt:WAVeform:INVert - WLISt:WAVeform:LENGth? @@ -656,23 +659,25 @@ class WlistWaveformGranularity(SCPICmdRead): """ -class WlistWaveformFrequency(SCPICmdWrite, SCPICmdRead): +class WlistWaveformFrequency(SCPICmdWrite, SCPICmdReadWithArguments): """The ``WLISt:WAVeform:FREQuency`` command. Description: - The command sets or returns the Recommended Center Frequency of the named IQ waveform. Usage: - - Using the ``.query()`` method will send the ``WLISt:WAVeform:FREQuency?`` query. - - Using the ``.verify(value)`` method will send the ``WLISt:WAVeform:FREQuency?`` query and - raise an AssertionError if the returned value does not match ``value``. + - Using the ``.query(argument)`` method will send the ``WLISt:WAVeform:FREQuency? argument`` + query. + - Using the ``.verify(argument, value)`` method will send the + ``WLISt:WAVeform:FREQuency? argument`` query and raise an AssertionError if the returned + value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:WAVeform:FREQuency value`` command. SCPI Syntax: ``` - WLISt:WAVeform:FREQuency , - - WLISt:WAVeform:FREQuency? + - WLISt:WAVeform:FREQuency? ``` """ @@ -758,7 +763,7 @@ class WlistWaveformDataI(SCPICmdWrite, SCPICmdReadWithArguments): """ -class WlistWaveformData(SCPICmdRead): +class WlistWaveformData(SCPICmdWrite, SCPICmdReadWithArguments): """The ``WLISt:WAVeform:DATA`` command tree. Usage: @@ -1290,16 +1295,18 @@ def frequency(self) -> WlistWaveformFrequency: - The command sets or returns the Recommended Center Frequency of the named IQ waveform. Usage: - - Using the ``.query()`` method will send the ``WLISt:WAVeform:FREQuency?`` query. - - Using the ``.verify(value)`` method will send the ``WLISt:WAVeform:FREQuency?`` query - and raise an AssertionError if the returned value does not match ``value``. + - Using the ``.query(argument)`` method will send the + ``WLISt:WAVeform:FREQuency? argument`` query. + - Using the ``.verify(argument, value)`` method will send the + ``WLISt:WAVeform:FREQuency? argument`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:WAVeform:FREQuency value`` command. SCPI Syntax: ``` - WLISt:WAVeform:FREQuency , - - WLISt:WAVeform:FREQuency? + - WLISt:WAVeform:FREQuency? ``` """ return self._frequency @@ -1724,19 +1731,23 @@ class WlistSparameterSformat(SCPICmdWrite, SCPICmdRead): """ -class WlistSparameterNcascadingType(SCPICmdWrite): +class WlistSparameterNcascadingType(SCPICmdWrite, SCPICmdRead): """The ``WLISt:SPARameter:NCAScading:TYPE`` command. Description: - This command sets or returns the S-Parameter number of ports, in Non-Cascading mode. Usage: + - Using the ``.query()`` method will send the ``WLISt:SPARameter:NCAScading:TYPE?`` query. + - Using the ``.verify(value)`` method will send the ``WLISt:SPARameter:NCAScading:TYPE?`` + query and raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:SPARameter:NCAScading:TYPE value`` command. SCPI Syntax: ``` - WLISt:SPARameter:NCAScading:TYPE {1|2|4|6|8|12} + - WLISt:SPARameter:NCAScading:TYPE? ``` """ @@ -1854,7 +1865,7 @@ class WlistSparameterNcascadingLayout(SCPICmdWrite, SCPICmdRead): """ -class WlistSparameterNcascadingFile(SCPICmdWrite): +class WlistSparameterNcascadingFile(SCPICmdWrite, SCPICmdRead): """The ``WLISt:SPARameter:NCAScading:FILE`` command. Description: @@ -1862,12 +1873,16 @@ class WlistSparameterNcascadingFile(SCPICmdWrite): Non-Cascading mode. Usage: + - Using the ``.query()`` method will send the ``WLISt:SPARameter:NCAScading:FILE?`` query. + - Using the ``.verify(value)`` method will send the ``WLISt:SPARameter:NCAScading:FILE?`` + query and raise an AssertionError if the returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:SPARameter:NCAScading:FILE value`` command. SCPI Syntax: ``` - WLISt:SPARameter:NCAScading:FILE + - WLISt:SPARameter:NCAScading:FILE? ``` """ @@ -2529,12 +2544,18 @@ def file(self) -> WlistSparameterNcascadingFile: Non-Cascading mode. Usage: + - Using the ``.query()`` method will send the ``WLISt:SPARameter:NCAScading:FILE?`` + query. + - Using the ``.verify(value)`` method will send the + ``WLISt:SPARameter:NCAScading:FILE?`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:SPARameter:NCAScading:FILE value`` command. SCPI Syntax: ``` - WLISt:SPARameter:NCAScading:FILE + - WLISt:SPARameter:NCAScading:FILE? ``` """ return self._file @@ -2674,12 +2695,18 @@ def type(self) -> WlistSparameterNcascadingType: - This command sets or returns the S-Parameter number of ports, in Non-Cascading mode. Usage: + - Using the ``.query()`` method will send the ``WLISt:SPARameter:NCAScading:TYPE?`` + query. + - Using the ``.verify(value)`` method will send the + ``WLISt:SPARameter:NCAScading:TYPE?`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:SPARameter:NCAScading:TYPE value`` command. SCPI Syntax: ``` - WLISt:SPARameter:NCAScading:TYPE {1|2|4|6|8|12} + - WLISt:SPARameter:NCAScading:TYPE? ``` """ return self._type @@ -2828,7 +2855,7 @@ class WlistSparameterCascadingStageItemRxItem(ValidatedDynamicNumberCmd, SCPICmd """ -class WlistSparameterCascadingStageItemFile(SCPICmdWrite): +class WlistSparameterCascadingStageItemFile(SCPICmdWrite, SCPICmdRead): """The ``WLISt:SPARameter:CASCading:STAGe[m]:FILE`` command. Description: @@ -2836,12 +2863,18 @@ class WlistSparameterCascadingStageItemFile(SCPICmdWrite): in Cascading mode. Usage: + - Using the ``.query()`` method will send the ``WLISt:SPARameter:CASCading:STAGe[m]:FILE?`` + query. + - Using the ``.verify(value)`` method will send the + ``WLISt:SPARameter:CASCading:STAGe[m]:FILE?`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:SPARameter:CASCading:STAGe[m]:FILE value`` command. SCPI Syntax: ``` - WLISt:SPARameter:CASCading:STAGe[m]:FILE + - WLISt:SPARameter:CASCading:STAGe[m]:FILE? ``` """ @@ -3057,12 +3090,18 @@ def file(self) -> WlistSparameterCascadingStageItemFile: Stage, in Cascading mode. Usage: + - Using the ``.query()`` method will send the + ``WLISt:SPARameter:CASCading:STAGe[m]:FILE?`` query. + - Using the ``.verify(value)`` method will send the + ``WLISt:SPARameter:CASCading:STAGe[m]:FILE?`` query and raise an AssertionError if the + returned value does not match ``value``. - Using the ``.write(value)`` method will send the ``WLISt:SPARameter:CASCading:STAGe[m]:FILE value`` command. SCPI Syntax: ``` - WLISt:SPARameter:CASCading:STAGe[m]:FILE + - WLISt:SPARameter:CASCading:STAGe[m]:FILE? ``` """ return self._file @@ -4063,7 +4102,7 @@ class WlistLast(SCPICmdRead): """The ``WLISt:LAST`` command. Description: - - This command returns the name of the most recently added waveform in the waveform list. + - This command returns the name of the most recently added waveform in the waveform list. Usage: - Using the ``.query()`` method will send the ``WLISt:LAST?`` query. @@ -4108,7 +4147,7 @@ def last(self) -> WlistLast: """Return the ``WLISt:LAST`` command. Description: - - This command returns the name of the most recently added waveform in the waveform + - This command returns the name of the most recently added waveform in the waveform list. Usage: diff --git a/src/tm_devices/commands/gen_3skc3w_dpo/trigger.py b/src/tm_devices/commands/gen_3skc3w_dpo/trigger.py index 99181f72..4551f32d 100644 --- a/src/tm_devices/commands/gen_3skc3w_dpo/trigger.py +++ b/src/tm_devices/commands/gen_3skc3w_dpo/trigger.py @@ -987,7 +987,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -1020,7 +1020,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1106,7 +1106,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2179,7 +2179,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -36979,7 +36979,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -37133,7 +37133,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_3tjgb2_dpo/trigger.py b/src/tm_devices/commands/gen_3tjgb2_dpo/trigger.py index 695cb32c..a9a84f96 100644 --- a/src/tm_devices/commands/gen_3tjgb2_dpo/trigger.py +++ b/src/tm_devices/commands/gen_3tjgb2_dpo/trigger.py @@ -999,7 +999,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -1030,7 +1030,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1116,7 +1116,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2104,7 +2104,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -37698,7 +37698,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -37852,7 +37852,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_4jiykk_dpo/counter.py b/src/tm_devices/commands/gen_4jiykk_dpo/counter.py index 5903212c..bfaa4a78 100644 --- a/src/tm_devices/commands/gen_4jiykk_dpo/counter.py +++ b/src/tm_devices/commands/gen_4jiykk_dpo/counter.py @@ -34,7 +34,7 @@ - COUnter:SHOWLog? - COUnter:SHOWMeasurement - COUnter:SHOWMeasurement? - - COUnter:STAte {|OFF|ON} + - COUnter:STAte {ON|OFF|} - COUnter:STAte? - COUnter:TYPe - COUnter:TYPe? @@ -188,7 +188,7 @@ class CounterState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - COUnter:STAte {|OFF|ON} + - COUnter:STAte {ON|OFF|} - COUnter:STAte? ``` @@ -1138,7 +1138,7 @@ def state(self) -> CounterState: SCPI Syntax: ``` - - COUnter:STAte {|OFF|ON} + - COUnter:STAte {ON|OFF|} - COUnter:STAte? ``` diff --git a/src/tm_devices/commands/gen_4jiykk_dpo/errordetector.py b/src/tm_devices/commands/gen_4jiykk_dpo/errordetector.py index c5eb481a..04607ca9 100644 --- a/src/tm_devices/commands/gen_4jiykk_dpo/errordetector.py +++ b/src/tm_devices/commands/gen_4jiykk_dpo/errordetector.py @@ -21,7 +21,7 @@ - ERRORDetector:ALIGNPRIMitive:MINus? - ERRORDetector:ALIGNPRIMitive:PLUS? - ERRORDetector:ALIGNPRIMitive:PLUS? - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? - ERRORDetector:ALIGNPRIMitive:SYMBOL - ERRORDetector:ALIGNPRIMitive:SYMBOL? @@ -124,13 +124,13 @@ - ERRORDetector:SCRAMBLED? - ERRORDetector:SENDEMAIL {OFF|ON} - ERRORDetector:SENDEMAIL? - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? - ERRORDetector:SSC {ON|OFF} - ERRORDetector:SSC? - ERRORDetector:STANdard - ERRORDetector:STANdard? - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? - ERRORDetector:STATus? - ERRORDetector:STOPWHEN DPO70000SX @@ -1315,7 +1315,7 @@ class ErrordetectorState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? ``` @@ -1393,7 +1393,7 @@ class ErrordetectorSignaltype(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? ``` @@ -4664,7 +4664,7 @@ class ErrordetectorAlignprimitiveState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? ``` @@ -4901,7 +4901,7 @@ def state(self) -> ErrordetectorAlignprimitiveState: SCPI Syntax: ``` - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? ``` @@ -5736,7 +5736,7 @@ def signaltype(self) -> ErrordetectorSignaltype: SCPI Syntax: ``` - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? ``` @@ -5814,7 +5814,7 @@ def state(self) -> ErrordetectorState: SCPI Syntax: ``` - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? ``` diff --git a/src/tm_devices/commands/gen_4jiykk_dpo/rosc.py b/src/tm_devices/commands/gen_4jiykk_dpo/rosc.py index 7e3ccac3..635f2959 100644 --- a/src/tm_devices/commands/gen_4jiykk_dpo/rosc.py +++ b/src/tm_devices/commands/gen_4jiykk_dpo/rosc.py @@ -13,7 +13,7 @@ - ROSc:OUT:FREQuency? - ROSc:OUT:ULTRAsync {OFF|ON} - ROSc:OUT:ULTRAsync? - - ROSc:SOUrce {ULTRAsync|INTERnal|EXTernal|TEKLink} + - ROSc:SOUrce {EXTernal|ULTRAsync|INTERnal|TEKLink} - ROSc:SOUrce? - ROSc:STATE? - ROSc:TRACking {STABle|FAST} @@ -94,7 +94,7 @@ class RoscSource(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ROSc:SOUrce {ULTRAsync|INTERnal|EXTernal|TEKLink} + - ROSc:SOUrce {EXTernal|ULTRAsync|INTERnal|TEKLink} - ROSc:SOUrce? ``` @@ -283,7 +283,7 @@ def source(self) -> RoscSource: SCPI Syntax: ``` - - ROSc:SOUrce {ULTRAsync|INTERnal|EXTernal|TEKLink} + - ROSc:SOUrce {EXTernal|ULTRAsync|INTERnal|TEKLink} - ROSc:SOUrce? ``` diff --git a/src/tm_devices/commands/gen_4jiykk_dpo/trigger.py b/src/tm_devices/commands/gen_4jiykk_dpo/trigger.py index 556c9733..5c5422a3 100644 --- a/src/tm_devices/commands/gen_4jiykk_dpo/trigger.py +++ b/src/tm_devices/commands/gen_4jiykk_dpo/trigger.py @@ -949,7 +949,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -982,7 +982,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1068,7 +1068,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2141,7 +2141,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35767,7 +35767,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35921,7 +35921,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_561g9r_mso/trigger.py b/src/tm_devices/commands/gen_561g9r_mso/trigger.py index 6ff8c4d4..f89044b1 100644 --- a/src/tm_devices/commands/gen_561g9r_mso/trigger.py +++ b/src/tm_devices/commands/gen_561g9r_mso/trigger.py @@ -1003,7 +1003,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -1034,7 +1034,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1120,7 +1120,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2108,7 +2108,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -37876,7 +37876,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -38030,7 +38030,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_5vmwut_dpodsamso/trigger.py b/src/tm_devices/commands/gen_5vmwut_dpodsamso/trigger.py index 72af53a3..5333b04f 100644 --- a/src/tm_devices/commands/gen_5vmwut_dpodsamso/trigger.py +++ b/src/tm_devices/commands/gen_5vmwut_dpodsamso/trigger.py @@ -949,7 +949,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -982,7 +982,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1068,7 +1068,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2141,7 +2141,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35743,7 +35743,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35897,7 +35897,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_5xwdsk_dpodsamso/errordetector.py b/src/tm_devices/commands/gen_5xwdsk_dpodsamso/errordetector.py index 20059e85..a82a8d5e 100644 --- a/src/tm_devices/commands/gen_5xwdsk_dpodsamso/errordetector.py +++ b/src/tm_devices/commands/gen_5xwdsk_dpodsamso/errordetector.py @@ -21,7 +21,7 @@ - ERRORDetector:ALIGNPRIMitive:MINus? - ERRORDetector:ALIGNPRIMitive:PLUS? - ERRORDetector:ALIGNPRIMitive:PLUS? - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? - ERRORDetector:ALIGNPRIMitive:SYMBOL - ERRORDetector:ALIGNPRIMitive:SYMBOL? @@ -30,7 +30,7 @@ - ERRORDetector:ALIGNPRIMitive? - ERRORDetector:BIT:LENgth - ERRORDetector:BIT:LENgth? - - ERRORDetector:BIT:SYNCPATtern:ADVanced {|OFF|ON} + - ERRORDetector:BIT:SYNCPATtern:ADVanced {ON|OFF|} - ERRORDetector:BIT:SYNCPATtern:ADVanced? - ERRORDetector:BIT:SYNCPATtern:BITString - ERRORDetector:BIT:SYNCPATtern:BITString? @@ -148,7 +148,7 @@ - ERRORDetector:SCRAMBLED? - ERRORDetector:SENDEMAIL {OFF|ON} - ERRORDetector:SENDEMAIL? - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? - ERRORDetector:SKIPSETPRIMitive:MINus? - ERRORDetector:SKIPSETPRIMitive:PLUS? @@ -162,7 +162,7 @@ - ERRORDetector:SSC? - ERRORDetector:STANdard - ERRORDetector:STANdard? - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? - ERRORDetector:STATus? - ERRORDetector:STOPWHEN DPO70000SX @@ -1347,7 +1347,7 @@ class ErrordetectorState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? ``` @@ -1725,7 +1725,7 @@ class ErrordetectorSignaltype(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? ``` @@ -5515,7 +5515,7 @@ class ErrordetectorBitSyncpatternAdvanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:BIT:SYNCPATtern:ADVanced {|OFF|ON} + - ERRORDetector:BIT:SYNCPATtern:ADVanced {ON|OFF|} - ERRORDetector:BIT:SYNCPATtern:ADVanced? ``` @@ -5612,7 +5612,7 @@ def advanced(self) -> ErrordetectorBitSyncpatternAdvanced: SCPI Syntax: ``` - - ERRORDetector:BIT:SYNCPATtern:ADVanced {|OFF|ON} + - ERRORDetector:BIT:SYNCPATtern:ADVanced {ON|OFF|} - ERRORDetector:BIT:SYNCPATtern:ADVanced? ``` @@ -6000,7 +6000,7 @@ class ErrordetectorAlignprimitiveState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? ``` @@ -6237,7 +6237,7 @@ def state(self) -> ErrordetectorAlignprimitiveState: SCPI Syntax: ``` - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? ``` @@ -7099,7 +7099,7 @@ def signaltype(self) -> ErrordetectorSignaltype: SCPI Syntax: ``` - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? ``` @@ -7195,7 +7195,7 @@ def state(self) -> ErrordetectorState: SCPI Syntax: ``` - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? ``` diff --git a/src/tm_devices/commands/gen_5yyb4r_mso/trigger.py b/src/tm_devices/commands/gen_5yyb4r_mso/trigger.py index e5d97536..d02f6744 100644 --- a/src/tm_devices/commands/gen_5yyb4r_mso/trigger.py +++ b/src/tm_devices/commands/gen_5yyb4r_mso/trigger.py @@ -953,7 +953,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -986,7 +986,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1072,7 +1072,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2145,7 +2145,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35921,7 +35921,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -36075,7 +36075,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/acquire.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/acquire.py index 5aeb9c20..b05fbddf 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/acquire.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/acquire.py @@ -17,7 +17,7 @@ - ACQuire:FASTAVerage:STOPafter? - ACQuire:FASTAcq:PALEtte {NORMal|TEMPerature|SPECtral|INVErted} - ACQuire:FASTAcq:PALEtte? - - ACQuire:FASTAcq:STATE {|OFF|ON} + - ACQuire:FASTAcq:STATE {ON|OFF|} - ACQuire:FASTAcq:STATE? - ACQuire:MAXSamplerate? - ACQuire:MODe {SAMple|PEAKdetect|HIRes|AVErage|ENVelope} @@ -397,7 +397,7 @@ class AcquireFastacqState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ACQuire:FASTAcq:STATE {|OFF|ON} + - ACQuire:FASTAcq:STATE {ON|OFF|} - ACQuire:FASTAcq:STATE? ``` @@ -509,7 +509,7 @@ def state(self) -> AcquireFastacqState: SCPI Syntax: ``` - - ACQuire:FASTAcq:STATE {|OFF|ON} + - ACQuire:FASTAcq:STATE {ON|OFF|} - ACQuire:FASTAcq:STATE? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/bus.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/bus.py index 4c3da8b2..eb0a027c 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/bus.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/bus.py @@ -441,7 +441,7 @@ - BUS:B:PARallel:CLOCKSOUrce? - BUS:B:PARallel:CLOCk:EDGE {FALLING|RISING|EITHER} - BUS:B:PARallel:CLOCk:EDGE? - - BUS:B:PARallel:CLOCk:ISCLOCKED {OFF|ON|} + - BUS:B:PARallel:CLOCk:ISCLOCKED {ON|OFF|} - BUS:B:PARallel:CLOCk:ISCLOCKED? - BUS:B:PSIFIVe:BITPERiod - BUS:B:PSIFIVe:BITPERiod? @@ -7305,7 +7305,7 @@ class BusBItemParallelClockIsclocked(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - BUS:B:PARallel:CLOCk:ISCLOCKED {OFF|ON|} + - BUS:B:PARallel:CLOCk:ISCLOCKED {ON|OFF|} - BUS:B:PARallel:CLOCk:ISCLOCKED? ``` @@ -7414,7 +7414,7 @@ def isclocked(self) -> BusBItemParallelClockIsclocked: SCPI Syntax: ``` - - BUS:B:PARallel:CLOCk:ISCLOCKED {OFF|ON|} + - BUS:B:PARallel:CLOCk:ISCLOCKED {ON|OFF|} - BUS:B:PARallel:CLOCk:ISCLOCKED? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/display.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/display.py index abd20090..13327bce 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/display.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/display.py @@ -15,15 +15,15 @@ - DISplay:CH:NORMALColor? - DISplay:COLors {NORMal|INVERTed} - DISplay:COLors? - - DISplay:GLObal:B:STATE {|OFF|ON} + - DISplay:GLObal:B:STATE {ON|OFF|} - DISplay:GLObal:B:STATE? - - DISplay:GLObal:CH:STATE {|OFF|ON} + - DISplay:GLObal:CH:STATE {ON|OFF|} - DISplay:GLObal:CH:STATE? - - DISplay:GLObal:MATH:STATE {|OFF|ON} + - DISplay:GLObal:MATH:STATE {ON|OFF|} - DISplay:GLObal:MATH:STATE? - - DISplay:GLObal:PLOT:STATE {|OFF|ON} + - DISplay:GLObal:PLOT:STATE {ON|OFF|} - DISplay:GLObal:PLOT:STATE? - - DISplay:GLObal:REF:STATE {|OFF|ON} + - DISplay:GLObal:REF:STATE {ON|OFF|} - DISplay:GLObal:REF:STATE? - DISplay:INTENSITy:BACKLight {LOW|MEDium|HIGH} - DISplay:INTENSITy:BACKLight:AUTODim:ENAble {ON|OFF} @@ -32,7 +32,7 @@ - DISplay:INTENSITy:BACKLight:AUTODim:TIMe? - DISplay:INTENSITy:BACKLight? - DISplay:INTENSITy? - - DISplay:MATHFFTView1:AUTOScale {OFF|ON| + - DISplay:MATHFFTView1:AUTOScale {ON|OFF|} - DISplay:MATHFFTView1:AUTOScale? - DISplay:MATHFFTView1:CURSor:ASOUrce? - DISplay:MATHFFTView1:CURSor:BSOUrce? @@ -73,7 +73,7 @@ - DISplay:MATHFFTView1:CURSor:WAVEform:BPOSition? - DISplay:MATHFFTView1:GRIDlines {HORizontal|VERTical|BOTH} - DISplay:MATHFFTView1:GRIDlines? - - DISplay:MATHFFTView1:MATH:MATH:STATE {OFF|ON|} + - DISplay:MATHFFTView1:MATH:MATH:STATE {ON|OFF|} - DISplay:MATHFFTView1:XAXIS:SCALE {LINEAr|LOG} - DISplay:MATHFFTView1:XAXIS:SCALE? - DISplay:MATHFFTView1:YAXIS:SCALE {LINEAr|DBM} @@ -92,7 +92,7 @@ - DISplay:PERSistence {OFF|AUTO|INFPersist|INFInite|VARpersist|CLEAR} - DISplay:PERSistence:RESET - DISplay:PERSistence? - - DISplay:PLOTView1:AUTOScale {OFF|ON|} + - DISplay:PLOTView1:AUTOScale {ON|OFF|} - DISplay:PLOTView1:AUTOScale? - DISplay:PLOTView1:CURSor:ASOUrce? - DISplay:PLOTView1:CURSor:BSOUrce? @@ -121,7 +121,7 @@ - DISplay:PLOTView1:CURSor:SCREEN:BYPOSition? - DISplay:PLOTView1:CURSor:SPLITMODE {SAME|SPLIT} - DISplay:PLOTView1:CURSor:SPLITMODE? - - DISplay:PLOTView1:CURSor:STATE {OFF|ON|} + - DISplay:PLOTView1:CURSor:STATE {ON|OFF|} - DISplay:PLOTView1:CURSor:STATE? - DISplay:PLOTView1:CURSor:VBArs:APOSition - DISplay:PLOTView1:CURSor:VBArs:APOSition? @@ -259,15 +259,15 @@ - DISplay:WAVEView1:BUS:B:STATE? - DISplay:WAVEView1:BUS:B:VERTical:POSition - DISplay:WAVEView1:BUS:B:VERTical:POSition? - - DISplay:WAVEView1:CH:STATE {|OFF|ON} + - DISplay:WAVEView1:CH:STATE {ON|OFF|} - DISplay:WAVEView1:CH:STATE? - DISplay:WAVEView1:CH:VERTical:POSition - DISplay:WAVEView1:CH:VERTical:POSition? - DISplay:WAVEView1:CH:VERTical:SCAle - DISplay:WAVEView1:CH:VERTical:SCAle? - - DISplay:WAVEView1:CH_D:STATE {|OFF|ON} + - DISplay:WAVEView1:CH_D:STATE {ON|OFF|} - DISplay:WAVEView1:CH_D:STATE? - - DISplay:WAVEView1:CH_DALL:STATE {|OFF|ON} + - DISplay:WAVEView1:CH_DALL:STATE {ON|OFF|} - DISplay:WAVEView1:CH_DALL:STATE? - DISplay:WAVEView1:CH_DALL:VERTical:POSition - DISplay:WAVEView1:CH_DALL:VERTical:POSition? @@ -297,7 +297,7 @@ - DISplay:WAVEView1:CURSor:CURSOR1:SCREEN:BYPOSition? - DISplay:WAVEView1:CURSor:CURSOR1:SPLITMODE {SAME|SPLIT} - DISplay:WAVEView1:CURSor:CURSOR1:SPLITMODE? - - DISplay:WAVEView1:CURSor:CURSOR1:STATE {|OFF|ON} + - DISplay:WAVEView1:CURSor:CURSOR1:STATE {ON|OFF|} - DISplay:WAVEView1:CURSor:CURSOR1:STATE? - DISplay:WAVEView1:CURSor:CURSOR1:VBArs:APOSition - DISplay:WAVEView1:CURSor:CURSOR1:VBArs:APOSition? @@ -321,17 +321,17 @@ - DISplay:WAVEView1:INTENSITy:GRATicule? - DISplay:WAVEView1:INTENSITy:WAVEform - DISplay:WAVEView1:INTENSITy:WAVEform? - - DISplay:WAVEView1:MATH:MATH:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:AUTOScale {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:AUTOScale? - - DISplay:WAVEView1:MATH:MATH:STATE {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:STATE {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:STATE? - DISplay:WAVEView1:MATH:MATH:VERTical:POSition - DISplay:WAVEView1:MATH:MATH:VERTical:POSition? - DISplay:WAVEView1:MATH:MATH:VERTical:SCAle - DISplay:WAVEView1:MATH:MATH:VERTical:SCAle? - - DISplay:WAVEView1:PLOT:PLOT:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:PLOT:PLOT:AUTOScale {ON|OFF|} - DISplay:WAVEView1:PLOT:PLOT:AUTOScale? - - DISplay:WAVEView1:PLOT:PLOT:STATE {|OFF|ON} + - DISplay:WAVEView1:PLOT:PLOT:STATE {ON|OFF|} - DISplay:WAVEView1:PLOT:PLOT:STATE? - DISplay:WAVEView1:PLOT:PLOT:VERTical:POSition - DISplay:WAVEView1:PLOT:PLOT:VERTical:POSition? @@ -339,7 +339,7 @@ - DISplay:WAVEView1:PLOT:PLOT:VERTical:SCAle? - DISplay:WAVEView1:REF:REF:FRAMe - DISplay:WAVEView1:REF:REF:FRAMe? - - DISplay:WAVEView1:REF:REF:STATE {|OFF|ON} + - DISplay:WAVEView1:REF:REF:STATE {ON|OFF|} - DISplay:WAVEView1:REF:REF:STATE? - DISplay:WAVEView1:REF:REF:VERTical:POSition - DISplay:WAVEView1:REF:REF:VERTical:POSition? @@ -381,7 +381,7 @@ - DISplay:WAVEView:CURSor:CURSOR1:ROLOCATION? - DISplay:WAVEView:GRIDTYPE {MOVEABLE|FIXED} - DISplay:WAVEView:GRIDTYPE? - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? - DISplay? ``` @@ -419,7 +419,7 @@ class DisplayWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? ``` @@ -1981,7 +1981,7 @@ class DisplayWaveview1RefRefItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:REF:REF:STATE {|OFF|ON} + - DISplay:WAVEView1:REF:REF:STATE {ON|OFF|} - DISplay:WAVEView1:REF:REF:STATE? ``` @@ -2057,7 +2057,7 @@ def state(self) -> DisplayWaveview1RefRefItemState: SCPI Syntax: ``` - - DISplay:WAVEView1:REF:REF:STATE {|OFF|ON} + - DISplay:WAVEView1:REF:REF:STATE {ON|OFF|} - DISplay:WAVEView1:REF:REF:STATE? ``` @@ -2301,7 +2301,7 @@ class DisplayWaveview1PlotPlotItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:PLOT:PLOT:STATE {|OFF|ON} + - DISplay:WAVEView1:PLOT:PLOT:STATE {ON|OFF|} - DISplay:WAVEView1:PLOT:PLOT:STATE? ``` @@ -2331,7 +2331,7 @@ class DisplayWaveview1PlotPlotItemAutoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:PLOT:PLOT:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:PLOT:PLOT:AUTOScale {ON|OFF|} - DISplay:WAVEView1:PLOT:PLOT:AUTOScale? ``` @@ -2386,7 +2386,7 @@ def autoscale(self) -> DisplayWaveview1PlotPlotItemAutoscale: SCPI Syntax: ``` - - DISplay:WAVEView1:PLOT:PLOT:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:PLOT:PLOT:AUTOScale {ON|OFF|} - DISplay:WAVEView1:PLOT:PLOT:AUTOScale? ``` @@ -2417,7 +2417,7 @@ def state(self) -> DisplayWaveview1PlotPlotItemState: SCPI Syntax: ``` - - DISplay:WAVEView1:PLOT:PLOT:STATE {|OFF|ON} + - DISplay:WAVEView1:PLOT:PLOT:STATE {ON|OFF|} - DISplay:WAVEView1:PLOT:PLOT:STATE? ``` @@ -2633,7 +2633,7 @@ class DisplayWaveview1MathMathItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:STATE {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:STATE {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:STATE? ``` @@ -2663,7 +2663,7 @@ class DisplayWaveview1MathMathItemAutoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:AUTOScale {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:AUTOScale? ``` @@ -2718,7 +2718,7 @@ def autoscale(self) -> DisplayWaveview1MathMathItemAutoscale: SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:AUTOScale {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:AUTOScale {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:AUTOScale? ``` @@ -2749,7 +2749,7 @@ def state(self) -> DisplayWaveview1MathMathItemState: SCPI Syntax: ``` - - DISplay:WAVEView1:MATH:MATH:STATE {|OFF|ON} + - DISplay:WAVEView1:MATH:MATH:STATE {ON|OFF|} - DISplay:WAVEView1:MATH:MATH:STATE? ``` @@ -3585,7 +3585,7 @@ class DisplayWaveview1CursorCursor1State(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:CURSor:CURSOR1:STATE {|OFF|ON} + - DISplay:WAVEView1:CURSor:CURSOR1:STATE {ON|OFF|} - DISplay:WAVEView1:CURSor:CURSOR1:STATE? ``` @@ -4650,7 +4650,7 @@ def state(self) -> DisplayWaveview1CursorCursor1State: SCPI Syntax: ``` - - DISplay:WAVEView1:CURSor:CURSOR1:STATE {|OFF|ON} + - DISplay:WAVEView1:CURSor:CURSOR1:STATE {ON|OFF|} - DISplay:WAVEView1:CURSor:CURSOR1:STATE? ``` @@ -4910,7 +4910,7 @@ class DisplayWaveview1ChannelDallState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:CH_DALL:STATE {|OFF|ON} + - DISplay:WAVEView1:CH_DALL:STATE {ON|OFF|} - DISplay:WAVEView1:CH_DALL:STATE? ``` @@ -4959,7 +4959,7 @@ def state(self) -> DisplayWaveview1ChannelDallState: SCPI Syntax: ``` - - DISplay:WAVEView1:CH_DALL:STATE {|OFF|ON} + - DISplay:WAVEView1:CH_DALL:STATE {ON|OFF|} - DISplay:WAVEView1:CH_DALL:STATE? ``` @@ -5004,7 +5004,7 @@ class DisplayWaveview1ChannelDigitalBitState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:CH_D:STATE {|OFF|ON} + - DISplay:WAVEView1:CH_D:STATE {ON|OFF|} - DISplay:WAVEView1:CH_D:STATE? ``` @@ -5051,7 +5051,7 @@ def state(self) -> DisplayWaveview1ChannelDigitalBitState: SCPI Syntax: ``` - - DISplay:WAVEView1:CH_D:STATE {|OFF|ON} + - DISplay:WAVEView1:CH_D:STATE {ON|OFF|} - DISplay:WAVEView1:CH_D:STATE? ``` @@ -5214,7 +5214,7 @@ class DisplayWaveview1ChannelState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEView1:CH:STATE {|OFF|ON} + - DISplay:WAVEView1:CH:STATE {ON|OFF|} - DISplay:WAVEView1:CH:STATE? ``` @@ -5266,7 +5266,7 @@ def state(self) -> DisplayWaveview1ChannelState: SCPI Syntax: ``` - - DISplay:WAVEView1:CH:STATE {|OFF|ON} + - DISplay:WAVEView1:CH:STATE {ON|OFF|} - DISplay:WAVEView1:CH:STATE? ``` @@ -11376,7 +11376,7 @@ class DisplayPlotview1CursorState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:PLOTView1:CURSor:STATE {OFF|ON|} + - DISplay:PLOTView1:CURSor:STATE {ON|OFF|} - DISplay:PLOTView1:CURSor:STATE? ``` @@ -12445,7 +12445,7 @@ def state(self) -> DisplayPlotview1CursorState: SCPI Syntax: ``` - - DISplay:PLOTView1:CURSor:STATE {OFF|ON|} + - DISplay:PLOTView1:CURSor:STATE {ON|OFF|} - DISplay:PLOTView1:CURSor:STATE? ``` @@ -12508,7 +12508,7 @@ class DisplayPlotview1Autoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:PLOTView1:AUTOScale {OFF|ON|} + - DISplay:PLOTView1:AUTOScale {ON|OFF|} - DISplay:PLOTView1:AUTOScale? ``` @@ -12563,7 +12563,7 @@ def autoscale(self) -> DisplayPlotview1Autoscale: SCPI Syntax: ``` - - DISplay:PLOTView1:AUTOScale {OFF|ON|} + - DISplay:PLOTView1:AUTOScale {ON|OFF|} - DISplay:PLOTView1:AUTOScale? ``` @@ -13345,7 +13345,7 @@ class DisplayMathfftview1MathMathItemState(SCPICmdWrite): SCPI Syntax: ``` - - DISplay:MATHFFTView1:MATH:MATH:STATE {OFF|ON|} + - DISplay:MATHFFTView1:MATH:MATH:STATE {ON|OFF|} ``` Info: @@ -13387,7 +13387,7 @@ def state(self) -> DisplayMathfftview1MathMathItemState: SCPI Syntax: ``` - - DISplay:MATHFFTView1:MATH:MATH:STATE {OFF|ON|} + - DISplay:MATHFFTView1:MATH:MATH:STATE {ON|OFF|} ``` Info: @@ -15005,7 +15005,7 @@ class DisplayMathfftview1Autoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:MATHFFTView1:AUTOScale {OFF|ON| + - DISplay:MATHFFTView1:AUTOScale {ON|OFF|} - DISplay:MATHFFTView1:AUTOScale? ``` @@ -15062,7 +15062,7 @@ def autoscale(self) -> DisplayMathfftview1Autoscale: SCPI Syntax: ``` - - DISplay:MATHFFTView1:AUTOScale {OFF|ON| + - DISplay:MATHFFTView1:AUTOScale {ON|OFF|} - DISplay:MATHFFTView1:AUTOScale? ``` @@ -15449,7 +15449,7 @@ class DisplayGlobalRefItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:REF:STATE {|OFF|ON} + - DISplay:GLObal:REF:STATE {ON|OFF|} - DISplay:GLObal:REF:STATE? ``` @@ -15501,7 +15501,7 @@ def state(self) -> DisplayGlobalRefItemState: SCPI Syntax: ``` - - DISplay:GLObal:REF:STATE {|OFF|ON} + - DISplay:GLObal:REF:STATE {ON|OFF|} - DISplay:GLObal:REF:STATE? ``` @@ -15533,7 +15533,7 @@ class DisplayGlobalPlotItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:PLOT:STATE {|OFF|ON} + - DISplay:GLObal:PLOT:STATE {ON|OFF|} - DISplay:GLObal:PLOT:STATE? ``` @@ -15585,7 +15585,7 @@ def state(self) -> DisplayGlobalPlotItemState: SCPI Syntax: ``` - - DISplay:GLObal:PLOT:STATE {|OFF|ON} + - DISplay:GLObal:PLOT:STATE {ON|OFF|} - DISplay:GLObal:PLOT:STATE? ``` @@ -15617,7 +15617,7 @@ class DisplayGlobalMathItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:MATH:STATE {|OFF|ON} + - DISplay:GLObal:MATH:STATE {ON|OFF|} - DISplay:GLObal:MATH:STATE? ``` @@ -15665,7 +15665,7 @@ def state(self) -> DisplayGlobalMathItemState: SCPI Syntax: ``` - - DISplay:GLObal:MATH:STATE {|OFF|ON} + - DISplay:GLObal:MATH:STATE {ON|OFF|} - DISplay:GLObal:MATH:STATE? ``` @@ -15697,7 +15697,7 @@ class DisplayGlobalChannelState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:CH:STATE {|OFF|ON} + - DISplay:GLObal:CH:STATE {ON|OFF|} - DISplay:GLObal:CH:STATE? ``` @@ -15745,7 +15745,7 @@ def state(self) -> DisplayGlobalChannelState: SCPI Syntax: ``` - - DISplay:GLObal:CH:STATE {|OFF|ON} + - DISplay:GLObal:CH:STATE {ON|OFF|} - DISplay:GLObal:CH:STATE? ``` @@ -15776,7 +15776,7 @@ class DisplayGlobalBItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:GLObal:B:STATE {|OFF|ON} + - DISplay:GLObal:B:STATE {ON|OFF|} - DISplay:GLObal:B:STATE? ``` @@ -15823,7 +15823,7 @@ def state(self) -> DisplayGlobalBItemState: SCPI Syntax: ``` - - DISplay:GLObal:B:STATE {|OFF|ON} + - DISplay:GLObal:B:STATE {ON|OFF|} - DISplay:GLObal:B:STATE? ``` @@ -16465,7 +16465,7 @@ def waveform(self) -> DisplayWaveform: SCPI Syntax: ``` - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/horizontal.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/horizontal.py index b3398787..521801e7 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/horizontal.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/horizontal.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - HORizontal:ACQDURATION? - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? - HORizontal:DELay:TIMe - HORizontal:DELay:TIMe? @@ -22,14 +22,14 @@ - HORizontal:FASTframe:MULtipleframes:MODe? - HORizontal:FASTframe:REF:FRAme - HORizontal:FASTframe:REF:FRAme? - - HORizontal:FASTframe:REF:INCLUde {|OFF|ON} + - HORizontal:FASTframe:REF:INCLUde {ON|OFF|} - HORizontal:FASTframe:REF:INCLUde? - HORizontal:FASTframe:SELECTED - HORizontal:FASTframe:SELECTED? - - HORizontal:FASTframe:STATE {|OFF|ON} + - HORizontal:FASTframe:STATE {ON|OFF|} - HORizontal:FASTframe:STATE? - HORizontal:FASTframe:SUMFrame {NONe|AVErage|ENVelope} - - HORizontal:FASTframe:SUMFrame:STATE {|OFF|ON} + - HORizontal:FASTframe:SUMFrame:STATE {ON|OFF|} - HORizontal:FASTframe:SUMFrame:STATE? - HORizontal:FASTframe:TIMEStamp:ALL? - HORizontal:FASTframe:TIMEStamp:DELTa? @@ -1954,7 +1954,7 @@ class HorizontalFastframeSumframeState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:FASTframe:SUMFrame:STATE {|OFF|ON} + - HORizontal:FASTframe:SUMFrame:STATE {ON|OFF|} - HORizontal:FASTframe:SUMFrame:STATE? ``` @@ -2017,7 +2017,7 @@ def state(self) -> HorizontalFastframeSumframeState: SCPI Syntax: ``` - - HORizontal:FASTframe:SUMFrame:STATE {|OFF|ON} + - HORizontal:FASTframe:SUMFrame:STATE {ON|OFF|} - HORizontal:FASTframe:SUMFrame:STATE? ``` @@ -2047,7 +2047,7 @@ class HorizontalFastframeState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:FASTframe:STATE {|OFF|ON} + - HORizontal:FASTframe:STATE {ON|OFF|} - HORizontal:FASTframe:STATE? ``` @@ -2099,7 +2099,7 @@ class HorizontalFastframeRefInclude(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:FASTframe:REF:INCLUde {|OFF|ON} + - HORizontal:FASTframe:REF:INCLUde {ON|OFF|} - HORizontal:FASTframe:REF:INCLUde? ``` @@ -2197,7 +2197,7 @@ def include(self) -> HorizontalFastframeRefInclude: SCPI Syntax: ``` - - HORizontal:FASTframe:REF:INCLUde {|OFF|ON} + - HORizontal:FASTframe:REF:INCLUde {ON|OFF|} - HORizontal:FASTframe:REF:INCLUde? ``` @@ -2492,7 +2492,7 @@ def state(self) -> HorizontalFastframeState: SCPI Syntax: ``` - - HORizontal:FASTframe:STATE {|OFF|ON} + - HORizontal:FASTframe:STATE {ON|OFF|} - HORizontal:FASTframe:STATE? ``` @@ -2621,7 +2621,7 @@ class HorizontalDelayMode(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` @@ -2668,7 +2668,7 @@ def mode(self) -> HorizontalDelayMode: SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/math.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/math.py index 93a8b603..8b91305d 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/math.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/math.py @@ -19,7 +19,7 @@ - MATH:MATH:AUDIO:SUPPortedfields? - MATH:MATH:AUTOETHERnet:SUPPortedfields {DATa|IPData|TDATa} - MATH:MATH:AUTOETHERnet:SUPPortedfields? - - MATH:MATH:AVG:MODE {|OFF|ON} + - MATH:MATH:AVG:MODE {ON|OFF|} - MATH:MATH:AVG:WEIGht - MATH:MATH:CAN:SUPPortedfields {DATa} - MATH:MATH:CAN:SUPPortedfields? @@ -84,11 +84,11 @@ - MATH:MATH:I3C:SUPPortedfields? - MATH:MATH:INTERpolation {ON|OFF} - MATH:MATH:LABel:COLor - - MATH:MATH:LABel:FONT:BOLD {|OFF|ON} - - MATH:MATH:LABel:FONT:ITALic {|OFF|ON} + - MATH:MATH:LABel:FONT:BOLD {ON|OFF|} + - MATH:MATH:LABel:FONT:ITALic {ON|OFF|} - MATH:MATH:LABel:FONT:SIZE - MATH:MATH:LABel:FONT:TYPE - - MATH:MATH:LABel:FONT:UNDERline {|OFF|ON} + - MATH:MATH:LABel:FONT:UNDERline {ON|OFF|} - MATH:MATH:LABel:NAMe - MATH:MATH:LABel:NAMe? - MATH:MATH:LABel:XPOS @@ -2131,7 +2131,7 @@ class MathMathItemLabelFontUnderline(SCPICmdWrite): SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:UNDERline {|OFF|ON} + - MATH:MATH:LABel:FONT:UNDERline {ON|OFF|} ``` Info: @@ -2198,7 +2198,7 @@ class MathMathItemLabelFontItalic(SCPICmdWrite): SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:ITALic {|OFF|ON} + - MATH:MATH:LABel:FONT:ITALic {ON|OFF|} ``` Info: @@ -2221,7 +2221,7 @@ class MathMathItemLabelFontBold(SCPICmdWrite): SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:BOLD {|OFF|ON} + - MATH:MATH:LABel:FONT:BOLD {ON|OFF|} ``` Info: @@ -2269,7 +2269,7 @@ def bold(self) -> MathMathItemLabelFontBold: SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:BOLD {|OFF|ON} + - MATH:MATH:LABel:FONT:BOLD {ON|OFF|} ``` Info: @@ -2293,7 +2293,7 @@ def italic(self) -> MathMathItemLabelFontItalic: SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:ITALic {|OFF|ON} + - MATH:MATH:LABel:FONT:ITALic {ON|OFF|} ``` Info: @@ -2361,7 +2361,7 @@ def underline(self) -> MathMathItemLabelFontUnderline: SCPI Syntax: ``` - - MATH:MATH:LABel:FONT:UNDERline {|OFF|ON} + - MATH:MATH:LABel:FONT:UNDERline {ON|OFF|} ``` Info: @@ -4512,7 +4512,7 @@ class MathMathItemAvgMode(SCPICmdWrite): SCPI Syntax: ``` - - MATH:MATH:AVG:MODE {|OFF|ON} + - MATH:MATH:AVG:MODE {ON|OFF|} ``` Info: @@ -4554,7 +4554,7 @@ def mode(self) -> MathMathItemAvgMode: SCPI Syntax: ``` - - MATH:MATH:AVG:MODE {|OFF|ON} + - MATH:MATH:AVG:MODE {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/measurement.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/measurement.py index 59d7d00b..3849be82 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/measurement.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/measurement.py @@ -92,7 +92,7 @@ - MEASUrement:DISPLAYUnits {SEConds|UNITINtervals} - MEASUrement:DISPLAYUnits? - MEASUrement:EDGE {RISE|FALL|BOTH} - - MEASUrement:EYERENDER {|OFF|ON} + - MEASUrement:EYERENDER {ON|OFF|} - MEASUrement:EYERENDER? - MEASUrement:FILTers:BLANKingtime - MEASUrement:FILTers:BLANKingtime? @@ -289,7 +289,7 @@ - MEASUrement:MEAS:DBDown? - MEASUrement:MEAS:DELay:EDGE {FALL|RISe|BOTH|SAMEas|OPPositeas} - MEASUrement:MEAS:DELay:EDGE? - - MEASUrement:MEAS:DISPlaystat:ENABle {OFF|ON|} + - MEASUrement:MEAS:DISPlaystat:ENABle {ON|OFF|} - MEASUrement:MEAS:DISPlaystat:ENABle? - MEASUrement:MEAS:EDGE {RISE|FALL|BOTH} - MEASUrement:MEAS:EDGEIncre @@ -684,7 +684,7 @@ - MEASUrement:MEAS:TOSYmbol:LOGIC5SOUrce? - MEASUrement:MEAS:TOSYmbol:MEASUREAT {Start|Stop|ClockEdge} - MEASUrement:MEAS:TOSYmbol:MEASUREAT? - - MEASUrement:MEAS:TRANSition {|OFF|ON} + - MEASUrement:MEAS:TRANSition {ON|OFF|} - MEASUrement:MEAS:TYPe {ACCOMMONMODE|ACPR|ACRMS|AMPlITUDE|AREA|BASE|BITAMPLITUDE|BITHIGH|BITLOW|BURSTWIDTH|COMMONMODE|CPOWER|DATARATE|DCD|DDJ|DDRAOS|DDRAOSPERTCK|DDRAOSPERUI|DDRAUS|DDRAUSPERTCK|DDRAUSPERUI|DDRHOLDDIFF|DDRSETUPDIFF|DDRTCHABS|DDRTCHAVERAGE|DDRTCKAVERAGE|DDRTCLABS|DDRTCLAVERAGE|DDRTERRMN|DDRTERRN|DDRTJITCC|DDRTJITDUTY|DDRTJITPER|DDRTPST|DDRTRPRE|DDRTWPRE|DDRVIXAC|DDRTDQSCK|DELAY|DJ|DJDIRAC|DPMOVERSHOOT|DPMPSIJ|DPMUNDERSHOOT|DPMRIPPLE|DPMTURNOFFTIME|DPMTURNONTIME|EYEHIGH|EYELOW|FALLSLEWRATE|FALLTIME|FREQUENCY|F2|F4|F8|HIGH|HEIGHT|HEIGHTBER|HIGHTIME|HOLD|IMDAANGLE|IMDADIRECTION|IMDADQ0|IMDAEFFICIENCY|IMDAHARMONICS|IMDAMECHPWR|IMDAPOWERQUALITY|IMDASPEED|IMDASYSEFF|IMDATORQUE|JITTERSUMMARY|J2|J9|LOW|LOWTIME|MAXIMUM|MEAN|MINIMUM|NDUtY|NPERIOD|NPJ|NOVERSHOOT|NWIDTH|OBW|PDUTTY|PERIOD|PHASE|PHASENOISE|PJ|PK2Pk|POVERSHOOT|PWIDTH|QFACTOR|RISESLEWRATE|RISETIME|RJ|RJDIRAC|RMS|SRJ|SSCFREQDEV|SSCMODRATE|SETUP|SKEW|TIE|TIMEOUTSIDELEVEL|TJBER|TNTRATIO|TOP|UNITINTERVAL|VDIFFXOVR|WBGDDT|WBGDIODEDDT|WBGEOFF|WBGEON|WBGERR|WBGIPEAK|WBGIRRM|WBGQOSS|WBGQRR|WBGTDOFF|WBGTDON|WBGTF|WBGTON|WBGTOFF|WBGTR|WBGTRR|WBGVPEAK|WIDTH|WIDTHBER} - MEASUrement:MEAS:TYPe? - MEASUrement:MEAS:VLEVel {PERCent|ABSolute} @@ -5663,7 +5663,7 @@ class MeasurementMeasItemTransition(SCPICmdWrite): SCPI Syntax: ``` - - MEASUrement:MEAS:TRANSition {|OFF|ON} + - MEASUrement:MEAS:TRANSition {ON|OFF|} ``` Info: @@ -16401,7 +16401,7 @@ class MeasurementMeasItemDisplaystatEnable(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:DISPlaystat:ENABle {OFF|ON|} + - MEASUrement:MEAS:DISPlaystat:ENABle {ON|OFF|} - MEASUrement:MEAS:DISPlaystat:ENABle? ``` @@ -16453,7 +16453,7 @@ def enable(self) -> MeasurementMeasItemDisplaystatEnable: SCPI Syntax: ``` - - MEASUrement:MEAS:DISPlaystat:ENABle {OFF|ON|} + - MEASUrement:MEAS:DISPlaystat:ENABle {ON|OFF|} - MEASUrement:MEAS:DISPlaystat:ENABle? ``` @@ -23312,7 +23312,7 @@ def transition(self) -> MeasurementMeasItemTransition: SCPI Syntax: ``` - - MEASUrement:MEAS:TRANSition {|OFF|ON} + - MEASUrement:MEAS:TRANSition {ON|OFF|} ``` Info: @@ -27162,7 +27162,7 @@ class MeasurementEyerender(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:EYERENDER {|OFF|ON} + - MEASUrement:EYERENDER {ON|OFF|} - MEASUrement:EYERENDER? ``` @@ -30903,7 +30903,7 @@ def eyerender(self) -> MeasurementEyerender: SCPI Syntax: ``` - - MEASUrement:EYERENDER {|OFF|ON} + - MEASUrement:EYERENDER {ON|OFF|} - MEASUrement:EYERENDER? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/pilogger.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/pilogger.py index 7b9c9550..9e54cc25 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/pilogger.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/pilogger.py @@ -11,7 +11,7 @@ ``` - PILOGger:FILEName - PILOGger:FILEName? - - PILOGger:STATE {|OFF|ON} + - PILOGger:STATE {ON|OFF|} - PILOGger:STATE? ``` """ @@ -40,7 +40,7 @@ class PiloggerState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - PILOGger:STATE {|OFF|ON} + - PILOGger:STATE {ON|OFF|} - PILOGger:STATE? ``` @@ -145,7 +145,7 @@ def state(self) -> PiloggerState: SCPI Syntax: ``` - - PILOGger:STATE {|OFF|ON} + - PILOGger:STATE {ON|OFF|} - PILOGger:STATE? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/plot.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/plot.py index aecc1331..9abc5651 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/plot.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/plot.py @@ -34,15 +34,15 @@ - PLOT:PLOT:INTerpolate? - PLOT:PLOT:LABel:COLor - PLOT:PLOT:LABel:COLor? - - PLOT:PLOT:LABel:FONT:BOLD {|OFF|ON} + - PLOT:PLOT:LABel:FONT:BOLD {ON|OFF|} - PLOT:PLOT:LABel:FONT:BOLD? - - PLOT:PLOT:LABel:FONT:ITALic {|OFF|ON} + - PLOT:PLOT:LABel:FONT:ITALic {ON|OFF|} - PLOT:PLOT:LABel:FONT:ITALic? - PLOT:PLOT:LABel:FONT:SIZE - PLOT:PLOT:LABel:FONT:SIZE? - PLOT:PLOT:LABel:FONT:TYPE - PLOT:PLOT:LABel:FONT:TYPE? - - PLOT:PLOT:LABel:FONT:UNDERline {|OFF|ON} + - PLOT:PLOT:LABel:FONT:UNDERline {ON|OFF|} - PLOT:PLOT:LABel:FONT:UNDERline? - PLOT:PLOT:LABel:NAMe - PLOT:PLOT:LABel:NAMe? @@ -854,7 +854,7 @@ class PlotPlotItemLabelFontUnderline(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - PLOT:PLOT:LABel:FONT:UNDERline {|OFF|ON} + - PLOT:PLOT:LABel:FONT:UNDERline {ON|OFF|} - PLOT:PLOT:LABel:FONT:UNDERline? ``` @@ -935,7 +935,7 @@ class PlotPlotItemLabelFontItalic(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - PLOT:PLOT:LABel:FONT:ITALic {|OFF|ON} + - PLOT:PLOT:LABel:FONT:ITALic {ON|OFF|} - PLOT:PLOT:LABel:FONT:ITALic? ``` @@ -962,7 +962,7 @@ class PlotPlotItemLabelFontBold(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - PLOT:PLOT:LABel:FONT:BOLD {|OFF|ON} + - PLOT:PLOT:LABel:FONT:BOLD {ON|OFF|} - PLOT:PLOT:LABel:FONT:BOLD? ``` @@ -1014,7 +1014,7 @@ def bold(self) -> PlotPlotItemLabelFontBold: SCPI Syntax: ``` - - PLOT:PLOT:LABel:FONT:BOLD {|OFF|ON} + - PLOT:PLOT:LABel:FONT:BOLD {ON|OFF|} - PLOT:PLOT:LABel:FONT:BOLD? ``` @@ -1042,7 +1042,7 @@ def italic(self) -> PlotPlotItemLabelFontItalic: SCPI Syntax: ``` - - PLOT:PLOT:LABel:FONT:ITALic {|OFF|ON} + - PLOT:PLOT:LABel:FONT:ITALic {ON|OFF|} - PLOT:PLOT:LABel:FONT:ITALic? ``` @@ -1126,7 +1126,7 @@ def underline(self) -> PlotPlotItemLabelFontUnderline: SCPI Syntax: ``` - - PLOT:PLOT:LABel:FONT:UNDERline {|OFF|ON} + - PLOT:PLOT:LABel:FONT:UNDERline {ON|OFF|} - PLOT:PLOT:LABel:FONT:UNDERline? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/ref.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/ref.py index 06cff571..ed677b6b 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/ref.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/ref.py @@ -15,15 +15,15 @@ - REF:REF:DESKew - REF:REF:LABel:COLor - REF:REF:LABel:COLor? - - REF:REF:LABel:FONT:BOLD {|OFF|ON} + - REF:REF:LABel:FONT:BOLD {ON|OFF|} - REF:REF:LABel:FONT:BOLD? - - REF:REF:LABel:FONT:ITALic {|OFF|ON} + - REF:REF:LABel:FONT:ITALic {ON|OFF|} - REF:REF:LABel:FONT:ITALic? - REF:REF:LABel:FONT:SIZE - REF:REF:LABel:FONT:SIZE? - REF:REF:LABel:FONT:TYPE - REF:REF:LABel:FONT:TYPE? - - REF:REF:LABel:FONT:UNDERline {|OFF|ON} + - REF:REF:LABel:FONT:UNDERline {ON|OFF|} - REF:REF:LABel:FONT:UNDERline? - REF:REF:LABel:NAMe - REF:REF:LABel:NAMe? @@ -1419,7 +1419,7 @@ class RefRefItemLabelFontUnderline(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - REF:REF:LABel:FONT:UNDERline {|OFF|ON} + - REF:REF:LABel:FONT:UNDERline {ON|OFF|} - REF:REF:LABel:FONT:UNDERline? ``` @@ -1496,7 +1496,7 @@ class RefRefItemLabelFontItalic(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - REF:REF:LABel:FONT:ITALic {|OFF|ON} + - REF:REF:LABel:FONT:ITALic {ON|OFF|} - REF:REF:LABel:FONT:ITALic? ``` @@ -1522,7 +1522,7 @@ class RefRefItemLabelFontBold(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - REF:REF:LABel:FONT:BOLD {|OFF|ON} + - REF:REF:LABel:FONT:BOLD {ON|OFF|} - REF:REF:LABel:FONT:BOLD? ``` @@ -1573,7 +1573,7 @@ def bold(self) -> RefRefItemLabelFontBold: SCPI Syntax: ``` - - REF:REF:LABel:FONT:BOLD {|OFF|ON} + - REF:REF:LABel:FONT:BOLD {ON|OFF|} - REF:REF:LABel:FONT:BOLD? ``` @@ -1600,7 +1600,7 @@ def italic(self) -> RefRefItemLabelFontItalic: SCPI Syntax: ``` - - REF:REF:LABel:FONT:ITALic {|OFF|ON} + - REF:REF:LABel:FONT:ITALic {ON|OFF|} - REF:REF:LABel:FONT:ITALic? ``` @@ -1679,7 +1679,7 @@ def underline(self) -> RefRefItemLabelFontUnderline: SCPI Syntax: ``` - - REF:REF:LABel:FONT:UNDERline {|OFF|ON} + - REF:REF:LABel:FONT:UNDERline {ON|OFF|} - REF:REF:LABel:FONT:UNDERline? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/saveon.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/saveon.py index 801f41d0..b60fa77d 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/saveon.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/saveon.py @@ -13,13 +13,13 @@ - SAVEON:FILE:DEST? - SAVEON:FILE:NAME - SAVEON:FILE:NAME? - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe:FILEFormat {PNG|BMP|JPG} - SAVEON:IMAGe:FILEFormat? - SAVEON:IMAGe? - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform:FILEFormat {INTERNal|SPREADSheet} - SAVEON:WAVEform:FILEFormat? - SAVEON:WAVEform:SOURce {CH|MATH|REF|ALL} @@ -108,7 +108,7 @@ class SaveonWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` @@ -208,7 +208,7 @@ class SaveonTrigger(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? ``` @@ -261,7 +261,7 @@ class SaveonImage(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? ``` @@ -483,7 +483,7 @@ def image(self) -> SaveonImage: SCPI Syntax: ``` - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? ``` @@ -522,7 +522,7 @@ def trigger(self) -> SaveonTrigger: SCPI Syntax: ``` - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? ``` @@ -552,7 +552,7 @@ def waveform(self) -> SaveonWaveform: SCPI Syntax: ``` - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_e3e9uu_lpdmso/search.py b/src/tm_devices/commands/gen_e3e9uu_lpdmso/search.py index 4de5d828..aac8b909 100644 --- a/src/tm_devices/commands/gen_e3e9uu_lpdmso/search.py +++ b/src/tm_devices/commands/gen_e3e9uu_lpdmso/search.py @@ -1169,8 +1169,8 @@ - SEARCH:SEARCH:TRIGger:A:SETHold:LOGICPattern:REF? - SEARCH:SEARCH:TRIGger:A:SETHold:SETTime - SEARCH:SEARCH:TRIGger:A:SETHold:SETTime? - - SEARCH:SEARCH:TRIGger:A:STATE {|OFF|ON} - - SEARCH:SEARCH:TRIGger:A:STOPAcq {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STATE {ON|OFF|} + - SEARCH:SEARCH:TRIGger:A:STOPAcq {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STOPAcq? - SEARCH:SEARCH:TRIGger:A:TIMEOut:LOGICQUALification {ON|OFF} - SEARCH:SEARCH:TRIGger:A:TIMEOut:LOGICQUALification? @@ -2756,7 +2756,7 @@ class SearchSearchItemTriggerAStopacq(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STOPAcq {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STOPAcq {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STOPAcq? ``` @@ -2783,7 +2783,7 @@ class SearchSearchItemTriggerAState(SCPICmdWrite): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STATE {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STATE {ON|OFF|} ``` Info: @@ -53686,7 +53686,7 @@ def state(self) -> SearchSearchItemTriggerAState: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STATE {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STATE {ON|OFF|} ``` Info: @@ -53715,7 +53715,7 @@ def stopacq(self) -> SearchSearchItemTriggerAStopacq: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:STOPAcq {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:STOPAcq {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:STOPAcq? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/acquire.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/acquire.py index 11ba51fd..3491c3c3 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/acquire.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/acquire.py @@ -14,7 +14,7 @@ - ACQuire:ENHANCEDEnob:STATE? - ACQuire:INTERPEightbit {AUTO|ON|OFF} - ACQuire:INTERPEightbit? - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? - ACQuire:MODe {SAMple|PEAKdetect|HIRes|AVErage|WFMDB|ENVelope} - ACQuire:MODe:ACTUal? @@ -416,7 +416,7 @@ class AcquireMagnivu(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` @@ -628,7 +628,7 @@ def magnivu(self) -> AcquireMagnivu: SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/ch.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/ch.py index 3309207b..5eae07a9 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/ch.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/ch.py @@ -31,7 +31,7 @@ - CH:FASTFRamecapable? - CH:ICAPture:SOUrce {D|CQ0} - CH:ICAPture:SOUrce? - - CH:ICAPture:STATE {|OFF|ON} + - CH:ICAPture:STATE {ON|OFF|} - CH:ICAPture:STATE? - CH:INVert {ON|OFF|} - CH:INVert? @@ -2416,7 +2416,7 @@ class ChannelIcaptureState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - CH:ICAPture:STATE {|OFF|ON} + - CH:ICAPture:STATE {ON|OFF|} - CH:ICAPture:STATE? ``` @@ -2512,7 +2512,7 @@ def state(self) -> ChannelIcaptureState: SCPI Syntax: ``` - - CH:ICAPture:STATE {|OFF|ON} + - CH:ICAPture:STATE {ON|OFF|} - CH:ICAPture:STATE? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/cursor.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/cursor.py index a80bcede..8270f06a 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/cursor.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/cursor.py @@ -29,7 +29,7 @@ - CURSor:SCREEN:YPOSITION? - CURSor:SOUrce1 {CH|MATH|REF1|REF1|REF3|REF4} - CURSor:SOUrce1? - - CURSor:STATE {|ON|OFF} + - CURSor:STATE {ON|OFF|} - CURSor:STATE? - CURSor:VBArs SNAp - CURSor:VBArs:DELTa? @@ -1356,7 +1356,7 @@ class CursorState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - CURSor:STATE {|ON|OFF} + - CURSor:STATE {ON|OFF|} - CURSor:STATE? ``` @@ -2054,7 +2054,7 @@ def state(self) -> CursorState: SCPI Syntax: ``` - - CURSor:STATE {|ON|OFF} + - CURSor:STATE {ON|OFF|} - CURSor:STATE? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/data.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/data.py index 137a2a19..b2219f2f 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/data.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/data.py @@ -25,7 +25,7 @@ - DATa:STARt? - DATa:STOP - DATa:STOP? - - DATa:SYNCSOUrces {|OFF|ON} + - DATa:SYNCSOUrces {ON|OFF|} - DATa:SYNCSOUrces? - DATa? ``` @@ -53,7 +53,7 @@ class DataSyncsources(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DATa:SYNCSOUrces {|OFF|ON} + - DATa:SYNCSOUrces {ON|OFF|} - DATa:SYNCSOUrces? ``` @@ -624,7 +624,7 @@ def syncsources(self) -> DataSyncsources: SCPI Syntax: ``` - - DATa:SYNCSOUrces {|OFF|ON} + - DATa:SYNCSOUrces {ON|OFF|} - DATa:SYNCSOUrces? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/diag.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/diag.py index 95e441ba..f4656076 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/diag.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/diag.py @@ -10,12 +10,12 @@ Commands and Queries: ``` - - DIAg:CONTROL:HALT {|ON|OFF} + - DIAg:CONTROL:HALT {ON|OFF|} - DIAg:CONTROL:HALT? - - DIAg:CONTROL:LOOP {|ON|OFF} + - DIAg:CONTROL:LOOP {ON|OFF|} - DIAg:CONTROL:LOOP? - DIAg:EXECUTE - - DIAg:FAILURES:CLEAR {|OFF|ON} + - DIAg:FAILURES:CLEAR {ON|OFF|} - DIAg:FAILURES:CLEAR? - DIAg:ITEM:FAILURES? - DIAg:ITEM:NAMe? @@ -969,7 +969,7 @@ class DiagFailuresClear(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DIAg:FAILURES:CLEAR {|OFF|ON} + - DIAg:FAILURES:CLEAR {ON|OFF|} - DIAg:FAILURES:CLEAR? ``` @@ -1015,7 +1015,7 @@ def clear(self) -> DiagFailuresClear: SCPI Syntax: ``` - - DIAg:FAILURES:CLEAR {|OFF|ON} + - DIAg:FAILURES:CLEAR {ON|OFF|} - DIAg:FAILURES:CLEAR? ``` @@ -1065,7 +1065,7 @@ class DiagControlLoop(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DIAg:CONTROL:LOOP {|ON|OFF} + - DIAg:CONTROL:LOOP {ON|OFF|} - DIAg:CONTROL:LOOP? ``` @@ -1095,7 +1095,7 @@ class DiagControlHalt(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DIAg:CONTROL:HALT {|ON|OFF} + - DIAg:CONTROL:HALT {ON|OFF|} - DIAg:CONTROL:HALT? ``` @@ -1144,7 +1144,7 @@ def halt(self) -> DiagControlHalt: SCPI Syntax: ``` - - DIAg:CONTROL:HALT {|ON|OFF} + - DIAg:CONTROL:HALT {ON|OFF|} - DIAg:CONTROL:HALT? ``` @@ -1176,7 +1176,7 @@ def loop(self) -> DiagControlLoop: SCPI Syntax: ``` - - DIAg:CONTROL:LOOP {|ON|OFF} + - DIAg:CONTROL:LOOP {ON|OFF|} - DIAg:CONTROL:LOOP? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/display.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/display.py index ed689811..8bf57ce8 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/display.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/display.py @@ -11,7 +11,7 @@ Commands and Queries: ``` - - DISplay:CLOCk {|ON|OFF} + - DISplay:CLOCk {ON|OFF|} - DISplay:CLOCk? - DISplay:COLOr:MATHCOLOr {DEFAULT|INHERIT} - DISplay:COLOr:MATHCOLOr? @@ -54,13 +54,13 @@ - DISplay:FORMat? - DISplay:GRAticule {CROSSHair|FRAme|FULl|GRId|IRE|NTSC|MV|PAL} - DISplay:GRAticule? - - DISplay:INTENSITy:AUTOBright {OFF|ON|} + - DISplay:INTENSITy:AUTOBright {ON|OFF|} - DISplay:INTENSITy:AUTOBright? - DISplay:INTENSITy:BACKLight {LOW|MEDium|HIGH} - DISplay:INTENSITy:BACKLight? - DISplay:INTENSITy:CUSTOMPct - DISplay:INTENSITy:CUSTOMPct? - - DISplay:INTENSITy:SCREENSAVER {OFF|ON|} + - DISplay:INTENSITy:SCREENSAVER {ON|OFF|} - DISplay:INTENSITy:SCREENSAVER? - DISplay:INTENSITy:SCREENSAVERDELAY {} - DISplay:INTENSITy:SCREENSAVERDELAY? @@ -84,24 +84,24 @@ - DISplay:SCREENTExt:LABel:FONTSTyle? - DISplay:SCREENTExt:LABel:NAMe - DISplay:SCREENTExt:LABel:NAMe? - - DISplay:SCREENTExt:LABel:STATE {|OFF|ON} + - DISplay:SCREENTExt:LABel:STATE {ON|OFF|} - DISplay:SCREENTExt:LABel:STATE? - DISplay:SCREENTExt:LABel:XPOS - DISplay:SCREENTExt:LABel:YPOS - DISplay:SCREENTExt:LABel? - - DISplay:SCREENTExt:STATE {|ON|OFF} + - DISplay:SCREENTExt:STATE {ON|OFF|} - DISplay:SCREENTExt? - - DISplay:SHOWREmote {|ON|OFF} + - DISplay:SHOWREmote {ON|OFF|} - DISplay:SHOWREmote? - DISplay:STYle {DOTs|INTENSIFied|VECtors} - DISplay:STYle? - DISplay:TRIGBar {OFF|SHORt|LONG} - DISplay:TRIGBar? - - DISplay:TRIGT {|OFF|ON} + - DISplay:TRIGT {ON|OFF|} - DISplay:TRIGT? - DISplay:VARpersist - DISplay:VARpersist? - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? - DISplay? ``` @@ -139,7 +139,7 @@ class DisplayWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? ``` @@ -190,7 +190,7 @@ class DisplayTrigt(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:TRIGT {|OFF|ON} + - DISplay:TRIGT {ON|OFF|} - DISplay:TRIGT? ``` @@ -280,7 +280,7 @@ class DisplayShowremote(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:SHOWREmote {|ON|OFF} + - DISplay:SHOWREmote {ON|OFF|} - DISplay:SHOWREmote? ``` @@ -304,7 +304,7 @@ class DisplayScreentextState(SCPICmdWrite): SCPI Syntax: ``` - - DISplay:SCREENTExt:STATE {|ON|OFF} + - DISplay:SCREENTExt:STATE {ON|OFF|} ``` Info: @@ -374,7 +374,7 @@ class DisplayScreentextLabelItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:SCREENTExt:LABel:STATE {|OFF|ON} + - DISplay:SCREENTExt:LABel:STATE {ON|OFF|} - DISplay:SCREENTExt:LABel:STATE? ``` @@ -795,7 +795,7 @@ def state(self) -> DisplayScreentextLabelItemState: SCPI Syntax: ``` - - DISplay:SCREENTExt:LABel:STATE {|OFF|ON} + - DISplay:SCREENTExt:LABel:STATE {ON|OFF|} - DISplay:SCREENTExt:LABel:STATE? ``` @@ -925,7 +925,7 @@ def state(self) -> DisplayScreentextState: SCPI Syntax: ``` - - DISplay:SCREENTExt:STATE {|ON|OFF} + - DISplay:SCREENTExt:STATE {ON|OFF|} ``` Info: @@ -1184,7 +1184,7 @@ class DisplayIntensityScreensaver(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:INTENSITy:SCREENSAVER {OFF|ON|} + - DISplay:INTENSITy:SCREENSAVER {ON|OFF|} - DISplay:INTENSITy:SCREENSAVER? ``` @@ -1270,7 +1270,7 @@ class DisplayIntensityAutobright(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:INTENSITy:AUTOBright {OFF|ON|} + - DISplay:INTENSITy:AUTOBright {ON|OFF|} - DISplay:INTENSITy:AUTOBright? ``` @@ -1340,7 +1340,7 @@ def autobright(self) -> DisplayIntensityAutobright: SCPI Syntax: ``` - - DISplay:INTENSITy:AUTOBright {OFF|ON|} + - DISplay:INTENSITy:AUTOBright {ON|OFF|} - DISplay:INTENSITy:AUTOBright? ``` @@ -1438,7 +1438,7 @@ def screensaver(self) -> DisplayIntensityScreensaver: SCPI Syntax: ``` - - DISplay:INTENSITy:SCREENSAVER {OFF|ON|} + - DISplay:INTENSITy:SCREENSAVER {ON|OFF|} - DISplay:INTENSITy:SCREENSAVER? ``` @@ -2709,9 +2709,8 @@ class DisplayClock(SCPICmdWrite, SCPICmdRead): """The ``DISplay:CLOCk`` command. Description: - - This command sets or queries the display of the date and time. This is equivalent to - selecting Display Date & Time from the Display menu. The query form of this command - returns an ON (1) or an OFF (0). + - This command specifies whether the oscilloscope displays the date and time. The query form + of this command returns an ON (1) or an OFF (0). Usage: - Using the ``.query()`` method will send the ``DISplay:CLOCk?`` query. @@ -2721,15 +2720,15 @@ class DisplayClock(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - DISplay:CLOCk {|ON|OFF} + - DISplay:CLOCk {ON|OFF|} - DISplay:CLOCk? ``` Info: - - ```` = 0 disables display of date and time; any other value enables display of date - and time. - - ``ON`` enables display of date and time. - - ``OFF`` disables display of date and time. + - ``ON`` enables the display of date and time. + - ``OFF`` disables the display of date and time. + - ```` = 0 disables the display of date and time; any other value enables the display + of date and time. """ @@ -2797,9 +2796,8 @@ def clock(self) -> DisplayClock: """Return the ``DISplay:CLOCk`` command. Description: - - This command sets or queries the display of the date and time. This is equivalent to - selecting Display Date & Time from the Display menu. The query form of this command - returns an ON (1) or an OFF (0). + - This command specifies whether the oscilloscope displays the date and time. The query + form of this command returns an ON (1) or an OFF (0). Usage: - Using the ``.query()`` method will send the ``DISplay:CLOCk?`` query. @@ -2809,15 +2807,15 @@ def clock(self) -> DisplayClock: SCPI Syntax: ``` - - DISplay:CLOCk {|ON|OFF} + - DISplay:CLOCk {ON|OFF|} - DISplay:CLOCk? ``` Info: - - ```` = 0 disables display of date and time; any other value enables display of - date and time. - - ``ON`` enables display of date and time. - - ``OFF`` disables display of date and time. + - ``ON`` enables the display of date and time. + - ``OFF`` disables the display of date and time. + - ```` = 0 disables the display of date and time; any other value enables the + display of date and time. """ return self._clock @@ -3134,7 +3132,7 @@ def showremote(self) -> DisplayShowremote: SCPI Syntax: ``` - - DISplay:SHOWREmote {|ON|OFF} + - DISplay:SHOWREmote {ON|OFF|} - DISplay:SHOWREmote? ``` @@ -3225,7 +3223,7 @@ def trigt(self) -> DisplayTrigt: SCPI Syntax: ``` - - DISplay:TRIGT {|OFF|ON} + - DISplay:TRIGT {ON|OFF|} - DISplay:TRIGT? ``` @@ -3278,7 +3276,7 @@ def waveform(self) -> DisplayWaveform: SCPI Syntax: ``` - - DISplay:WAVEform {|OFF|ON} + - DISplay:WAVEform {ON|OFF|} - DISplay:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/email.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/email.py index aaaf0690..c42a3304 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/email.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/email.py @@ -25,11 +25,11 @@ - EMail:IMAGe? - EMail:LIMit {ON|OFF|} - EMail:LIMit? - - EMail:MASK {|ON|OFF} + - EMail:MASK {ON|OFF|} - EMail:MASK? - EMail:MAXSize {} - EMail:MAXSize? - - EMail:MEASUrement {|ON|OFF} + - EMail:MEASUrement {ON|OFF|} - EMail:MEASUrement? - EMail:NUMEMails {} - EMail:NUMEMails? @@ -42,9 +42,9 @@ - EMail:TIMEOut? - EMail:TO - EMail:TO? - - EMail:TRIGger {|ON|OFF} + - EMail:TRIGger {ON|OFF|} - EMail:TRIGger? - - EMail:WAVEform {|ON|OFF} + - EMail:WAVEform {ON|OFF|} - EMail:WAVEform? ``` """ @@ -74,7 +74,7 @@ class EmailWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - EMail:WAVEform {|ON|OFF} + - EMail:WAVEform {ON|OFF|} - EMail:WAVEform? ``` @@ -101,7 +101,7 @@ class EmailTrigger(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - EMail:TRIGger {|ON|OFF} + - EMail:TRIGger {ON|OFF|} - EMail:TRIGger? ``` @@ -277,7 +277,7 @@ class EmailMeasurement(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - EMail:MEASUrement {|ON|OFF} + - EMail:MEASUrement {ON|OFF|} - EMail:MEASUrement? ``` @@ -328,7 +328,7 @@ class EmailMask(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - EMail:MASK {|ON|OFF} + - EMail:MASK {ON|OFF|} - EMail:MASK? ``` @@ -817,7 +817,7 @@ def mask(self) -> EmailMask: SCPI Syntax: ``` - - EMail:MASK {|ON|OFF} + - EMail:MASK {ON|OFF|} - EMail:MASK? ``` @@ -872,7 +872,7 @@ def measurement(self) -> EmailMeasurement: SCPI Syntax: ``` - - EMail:MEASUrement {|ON|OFF} + - EMail:MEASUrement {ON|OFF|} - EMail:MEASUrement? ``` @@ -1050,7 +1050,7 @@ def trigger(self) -> EmailTrigger: SCPI Syntax: ``` - - EMail:TRIGger {|ON|OFF} + - EMail:TRIGger {ON|OFF|} - EMail:TRIGger? ``` @@ -1080,7 +1080,7 @@ def waveform(self) -> EmailWaveform: SCPI Syntax: ``` - - EMail:WAVEform {|ON|OFF} + - EMail:WAVEform {ON|OFF|} - EMail:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/fastacq.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/fastacq.py index a84730f1..ddf3ac65 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/fastacq.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/fastacq.py @@ -10,9 +10,9 @@ Commands and Queries: ``` - - FASTAcq:HIACQRATE {|OFF|ON} + - FASTAcq:HIACQRATE {ON|OFF|} - FASTAcq:HIACQRATE? - - FASTAcq:STATE {|ON|OFF} + - FASTAcq:STATE {ON|OFF|} - FASTAcq:STATE? - FASTAcq? ``` @@ -41,7 +41,7 @@ class FastacqState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - FASTAcq:STATE {|ON|OFF} + - FASTAcq:STATE {ON|OFF|} - FASTAcq:STATE? ``` @@ -68,7 +68,7 @@ class FastacqHiacqrate(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - FASTAcq:HIACQRATE {|OFF|ON} + - FASTAcq:HIACQRATE {ON|OFF|} - FASTAcq:HIACQRATE? ``` @@ -124,7 +124,7 @@ def hiacqrate(self) -> FastacqHiacqrate: SCPI Syntax: ``` - - FASTAcq:HIACQRATE {|OFF|ON} + - FASTAcq:HIACQRATE {ON|OFF|} - FASTAcq:HIACQRATE? ``` @@ -154,7 +154,7 @@ def state(self) -> FastacqState: SCPI Syntax: ``` - - FASTAcq:STATE {|ON|OFF} + - FASTAcq:STATE {ON|OFF|} - FASTAcq:STATE? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/hdr.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/hdr.py index 2d82270b..104545e8 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/hdr.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/hdr.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` """ @@ -38,7 +38,7 @@ class Hdr(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/histogram.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/histogram.py index d01cd490..5ee2e497 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/histogram.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/histogram.py @@ -26,7 +26,7 @@ - HIStogram:SIZe? - HIStogram:SOUrce {CH|MATH|REF} - HIStogram:SOUrce? - - HIStogram:STATE {|ON|OFF} + - HIStogram:STATE {ON|OFF|} - HIStogram:STATE? - HIStogram? ``` @@ -55,7 +55,7 @@ class HistogramState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HIStogram:STATE {|ON|OFF} + - HIStogram:STATE {ON|OFF|} - HIStogram:STATE? ``` @@ -655,7 +655,7 @@ def state(self) -> HistogramState: SCPI Syntax: ``` - - HIStogram:STATE {|ON|OFF} + - HIStogram:STATE {ON|OFF|} - HIStogram:STATE? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/horizontal.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/horizontal.py index 1c4c2b94..d5003a4e 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/horizontal.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/horizontal.py @@ -59,11 +59,11 @@ - HORizontal:FASTframe:SELECTED:SOUrce? - HORizontal:FASTframe:SEQuence {FIRst|LAST} - HORizontal:FASTframe:SEQuence? - - HORizontal:FASTframe:SINGLEFramemath {|OFF|ON} + - HORizontal:FASTframe:SINGLEFramemath {ON|OFF|} - HORizontal:FASTframe:SINGLEFramemath? - - HORizontal:FASTframe:SIXteenbit {|OFF|ON} + - HORizontal:FASTframe:SIXteenbit {ON|OFF|} - HORizontal:FASTframe:SIXteenbit? - - HORizontal:FASTframe:STATE {|ON|OFF} + - HORizontal:FASTframe:STATE {ON|OFF|} - HORizontal:FASTframe:STATE? - HORizontal:FASTframe:SUMFrame {NONe|AVErage|ENVelope} - HORizontal:FASTframe:SUMFrame? @@ -98,7 +98,7 @@ - HORizontal:FASTframe:XZEro:SELECTED:CH? - HORizontal:FASTframe:XZEro:SELECTED:REF? - HORizontal:FASTframe? - - HORizontal:MAIn:DELay:MODe {|ON|OFF} + - HORizontal:MAIn:DELay:MODe {ON|OFF|} - HORizontal:MAIn:DELay:MODe? - HORizontal:MAIn:DELay:POSition - HORizontal:MAIn:DELay:POSition? @@ -770,7 +770,7 @@ class HorizontalMainDelayMode(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:MAIn:DELay:MODe {|ON|OFF} + - HORizontal:MAIn:DELay:MODe {ON|OFF|} - HORizontal:MAIn:DELay:MODe? ``` @@ -819,7 +819,7 @@ def mode(self) -> HorizontalMainDelayMode: SCPI Syntax: ``` - - HORizontal:MAIn:DELay:MODe {|ON|OFF} + - HORizontal:MAIn:DELay:MODe {ON|OFF|} - HORizontal:MAIn:DELay:MODe? ``` @@ -2961,11 +2961,10 @@ class HorizontalFastframeState(SCPICmdWrite, SCPICmdRead): """The ``HORizontal:FASTframe:STATE`` command. Description: - - This command sets or queries the state of FastFrame acquisition. This is equivalent to - setting FastFrame to On in the FastFrame Setup menu. FastFrame lets users capture a series - of triggered acquisitions with minimal time between them. The digitizing instrument in - FastFrame mode is ready to accept a continuous burst of triggers 400 ms after the - controller sends the ``ACQUIRE:STATE RUN`` command. + - This command sets or returns the state of FastFrame. Acquisition modes Envelope and + Average are not compatible with FastFrame. If FastFrame is on, an attempted set to those + acquisition modes will fail and revert to Sample mode. If FastFrame is turned on while in + one of those acquisition modes, the acquisition mode is changed to Sample. Usage: - Using the ``.query()`` method will send the ``HORizontal:FASTframe:STATE?`` query. @@ -2976,15 +2975,14 @@ class HorizontalFastframeState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:FASTframe:STATE {|ON|OFF} + - HORizontal:FASTframe:STATE {ON|OFF|} - HORizontal:FASTframe:STATE? ``` Info: - - ```` = 0 turns off horizontal FastFrame; any other value turns on horizontal - FastFrame. - - ```` turns on horizontal FastFrame. - - ```` turns off horizontal FastFrame. + - ``ON`` indicates FastFrame is active. + - ``OFF`` indicates that FastFrame is off. + - ```` A 0 turns off FastFrame; any other value activates FastFrame. """ @@ -3003,7 +3001,7 @@ class HorizontalFastframeSixteenbit(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:FASTframe:SIXteenbit {|OFF|ON} + - HORizontal:FASTframe:SIXteenbit {ON|OFF|} - HORizontal:FASTframe:SIXteenbit? ``` @@ -3032,7 +3030,7 @@ class HorizontalFastframeSingleframemath(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:FASTframe:SINGLEFramemath {|OFF|ON} + - HORizontal:FASTframe:SINGLEFramemath {ON|OFF|} - HORizontal:FASTframe:SINGLEFramemath? ``` @@ -4500,7 +4498,7 @@ def singleframemath(self) -> HorizontalFastframeSingleframemath: SCPI Syntax: ``` - - HORizontal:FASTframe:SINGLEFramemath {|OFF|ON} + - HORizontal:FASTframe:SINGLEFramemath {ON|OFF|} - HORizontal:FASTframe:SINGLEFramemath? ``` @@ -4528,7 +4526,7 @@ def sixteenbit(self) -> HorizontalFastframeSixteenbit: SCPI Syntax: ``` - - HORizontal:FASTframe:SIXteenbit {|OFF|ON} + - HORizontal:FASTframe:SIXteenbit {ON|OFF|} - HORizontal:FASTframe:SIXteenbit? ``` @@ -4545,11 +4543,10 @@ def state(self) -> HorizontalFastframeState: """Return the ``HORizontal:FASTframe:STATE`` command. Description: - - This command sets or queries the state of FastFrame acquisition. This is equivalent to - setting FastFrame to On in the FastFrame Setup menu. FastFrame lets users capture a - series of triggered acquisitions with minimal time between them. The digitizing - instrument in FastFrame mode is ready to accept a continuous burst of triggers 400 ms - after the controller sends the ``ACQUIRE:STATE RUN`` command. + - This command sets or returns the state of FastFrame. Acquisition modes Envelope and + Average are not compatible with FastFrame. If FastFrame is on, an attempted set to + those acquisition modes will fail and revert to Sample mode. If FastFrame is turned on + while in one of those acquisition modes, the acquisition mode is changed to Sample. Usage: - Using the ``.query()`` method will send the ``HORizontal:FASTframe:STATE?`` query. @@ -4560,15 +4557,14 @@ def state(self) -> HorizontalFastframeState: SCPI Syntax: ``` - - HORizontal:FASTframe:STATE {|ON|OFF} + - HORizontal:FASTframe:STATE {ON|OFF|} - HORizontal:FASTframe:STATE? ``` Info: - - ```` = 0 turns off horizontal FastFrame; any other value turns on horizontal - FastFrame. - - ```` turns on horizontal FastFrame. - - ```` turns off horizontal FastFrame. + - ``ON`` indicates FastFrame is active. + - ``OFF`` indicates that FastFrame is off. + - ```` A 0 turns off FastFrame; any other value activates FastFrame. """ return self._state diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/limit.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/limit.py index 37ae38f1..654df522 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/limit.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/limit.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - - LIMit:BEEP {|OFF|ON} + - LIMit:BEEP {ON|OFF|} - LIMit:BEEP? - LIMit:COMpare {RESet} - LIMit:COMpare:CH {NONe|REF} @@ -19,27 +19,27 @@ - LIMit:COMpare:MATH? - LIMit:COMpare:REF {NONe|REF} - LIMit:COMpare:REF? - - LIMit:EMail {|OFF|ON} + - LIMit:EMail {ON|OFF|} - LIMit:EMail? - - LIMit:HARDCopy {|OFF|ON} + - LIMit:HARDCopy {ON|OFF|} - LIMit:HARDCopy? - - LIMit:HIGHLIGHTHits {|OFF|ON} + - LIMit:HIGHLIGHTHits {ON|OFF|} - LIMit:HIGHLIGHTHits:RESet - LIMit:HIGHLIGHTHits? - - LIMit:LOCk {|OFF|ON} + - LIMit:LOCk {ON|OFF|} - LIMit:LOCk? - - LIMit:LOG {|OFF|ON} + - LIMit:LOG {ON|OFF|} - LIMit:LOG? - - LIMit:SAVEWFM {|OFF|ON} + - LIMit:SAVEWFM {ON|OFF|} - LIMit:SAVEWFM:FILEName - LIMit:SAVEWFM:FILEName? - LIMit:SAVEWFM? - - LIMit:SRQ {|OFF|ON} + - LIMit:SRQ {ON|OFF|} - LIMit:SRQ? - - LIMit:STATE {|OFF|ON} + - LIMit:STATE {ON|OFF|} - LIMit:STATE? - LIMit:STATus? - - LIMit:STOPOnviolation {|OFF|ON} + - LIMit:STOPOnviolation {ON|OFF|} - LIMit:STOPOnviolation? - LIMit:TEMPlate:DESTination {REF} - LIMit:TEMPlate:DESTination? @@ -425,7 +425,7 @@ class LimitStoponviolation(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:STOPOnviolation {|OFF|ON} + - LIMit:STOPOnviolation {ON|OFF|} - LIMit:STOPOnviolation? ``` @@ -472,7 +472,7 @@ class LimitState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:STATE {|OFF|ON} + - LIMit:STATE {ON|OFF|} - LIMit:STATE? ``` @@ -500,7 +500,7 @@ class LimitSrq(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:SRQ {|OFF|ON} + - LIMit:SRQ {ON|OFF|} - LIMit:SRQ? ``` @@ -559,7 +559,7 @@ class LimitSavewfm(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:SAVEWFM {|OFF|ON} + - LIMit:SAVEWFM {ON|OFF|} - LIMit:SAVEWFM? ``` @@ -623,7 +623,7 @@ class LimitLog(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:LOG {|OFF|ON} + - LIMit:LOG {ON|OFF|} - LIMit:LOG? ``` @@ -653,7 +653,7 @@ class LimitLock(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:LOCk {|OFF|ON} + - LIMit:LOCk {ON|OFF|} - LIMit:LOCk? ``` @@ -697,7 +697,7 @@ class LimitHighlighthits(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:HIGHLIGHTHits {|OFF|ON} + - LIMit:HIGHLIGHTHits {ON|OFF|} - LIMit:HIGHLIGHTHits? ``` @@ -752,7 +752,7 @@ class LimitHardcopy(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:HARDCopy {|OFF|ON} + - LIMit:HARDCopy {ON|OFF|} - LIMit:HARDCopy? ``` @@ -782,7 +782,7 @@ class LimitEmail(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:EMail {|OFF|ON} + - LIMit:EMail {ON|OFF|} - LIMit:EMail? ``` @@ -1019,7 +1019,7 @@ class LimitBeep(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - LIMit:BEEP {|OFF|ON} + - LIMit:BEEP {ON|OFF|} - LIMit:BEEP? ``` @@ -1095,7 +1095,7 @@ def beep(self) -> LimitBeep: SCPI Syntax: ``` - - LIMit:BEEP {|OFF|ON} + - LIMit:BEEP {ON|OFF|} - LIMit:BEEP? ``` @@ -1147,7 +1147,7 @@ def email(self) -> LimitEmail: SCPI Syntax: ``` - - LIMit:EMail {|OFF|ON} + - LIMit:EMail {ON|OFF|} - LIMit:EMail? ``` @@ -1181,7 +1181,7 @@ def hardcopy(self) -> LimitHardcopy: SCPI Syntax: ``` - - LIMit:HARDCopy {|OFF|ON} + - LIMit:HARDCopy {ON|OFF|} - LIMit:HARDCopy? ``` @@ -1213,7 +1213,7 @@ def highlighthits(self) -> LimitHighlighthits: SCPI Syntax: ``` - - LIMit:HIGHLIGHTHits {|OFF|ON} + - LIMit:HIGHLIGHTHits {ON|OFF|} - LIMit:HIGHLIGHTHits? ``` @@ -1246,7 +1246,7 @@ def lock(self) -> LimitLock: SCPI Syntax: ``` - - LIMit:LOCk {|OFF|ON} + - LIMit:LOCk {ON|OFF|} - LIMit:LOCk? ``` @@ -1275,7 +1275,7 @@ def log(self) -> LimitLog: SCPI Syntax: ``` - - LIMit:LOG {|OFF|ON} + - LIMit:LOG {ON|OFF|} - LIMit:LOG? ``` @@ -1306,7 +1306,7 @@ def savewfm(self) -> LimitSavewfm: SCPI Syntax: ``` - - LIMit:SAVEWFM {|OFF|ON} + - LIMit:SAVEWFM {ON|OFF|} - LIMit:SAVEWFM? ``` @@ -1341,7 +1341,7 @@ def srq(self) -> LimitSrq: SCPI Syntax: ``` - - LIMit:SRQ {|OFF|ON} + - LIMit:SRQ {ON|OFF|} - LIMit:SRQ? ``` @@ -1374,7 +1374,7 @@ def state(self) -> LimitState: SCPI Syntax: ``` - - LIMit:STATE {|OFF|ON} + - LIMit:STATE {ON|OFF|} - LIMit:STATE? ``` @@ -1423,7 +1423,7 @@ def stoponviolation(self) -> LimitStoponviolation: SCPI Syntax: ``` - - LIMit:STOPOnviolation {|OFF|ON} + - LIMit:STOPOnviolation {ON|OFF|} - LIMit:STOPOnviolation? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/mark.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/mark.py index 5785a025..fcf01269 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/mark.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/mark.py @@ -22,7 +22,7 @@ - MARK:SELECTED:OWNer? - MARK:SELECTED:SOUrce? - MARK:SELECTED:STARt? - - MARK:SELECTED:STATE {|OFF|ON} + - MARK:SELECTED:STATE {ON|OFF|} - MARK:SELECTED:STATE? - MARK:SELECTED:ZOOm:POSition? - MARK:SELECTED:ZOOm:SCAle? @@ -174,7 +174,7 @@ class MarkSelectedState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MARK:SELECTED:STATE {|OFF|ON} + - MARK:SELECTED:STATE {ON|OFF|} - MARK:SELECTED:STATE? ``` @@ -522,7 +522,7 @@ def state(self) -> MarkSelectedState: SCPI Syntax: ``` - - MARK:SELECTED:STATE {|OFF|ON} + - MARK:SELECTED:STATE {ON|OFF|} - MARK:SELECTED:STATE? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/mask.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/mask.py index b0dbbe6d..ace8a8b2 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/mask.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/mask.py @@ -11,25 +11,25 @@ Commands and Queries: ``` - - MASK:AUTOAdjust {|OFF|ON} + - MASK:AUTOAdjust {ON|OFF|} - MASK:AUTOAdjust:HDELTA {} - MASK:AUTOAdjust:HDELTA? - MASK:AUTOAdjust:VDELTA {} - MASK:AUTOAdjust:VDELTA? - MASK:AUTOAdjust? - - MASK:AUTOSet:AUTOAdjust {|OFF|ON} + - MASK:AUTOSet:AUTOAdjust {ON|OFF|} - MASK:AUTOSet:AUTOAdjust? - - MASK:AUTOSet:HPOS {|OFF|ON} + - MASK:AUTOSet:HPOS {ON|OFF|} - MASK:AUTOSet:HPOS? - - MASK:AUTOSet:HSCAle {|OFF|ON} + - MASK:AUTOSet:HSCAle {ON|OFF|} - MASK:AUTOSet:HSCAle? - MASK:AUTOSet:MODe {MANual|AUTO} - MASK:AUTOSet:MODe? - - MASK:AUTOSet:OFFSETAdj {|OFF|ON} + - MASK:AUTOSet:OFFSETAdj {ON|OFF|} - MASK:AUTOSet:OFFSETAdj? - MASK:AUTOSet:STANdard {ATATXG|ATARXG|CLOCKCoax|CLOCKSymmetrical|D|DS0Contra|DS0Double|DS0Single|DS0Timing|DS1|DS1A|DS1C|DS2RATESymmetrical|DS2RATECoax|DS2|DS3|DS4NA|DS4NA_Max|E1Symmetrical|E1Coax|E2|E3|E4_0|E4_1|ENET100FX|ENET100STP|ENET100UTP|ENET1250|ENET1000BCX_NTP2|ENET1000BCX_ATP2|ENET1000BCX_ATP3|ENETXAUI_Near|ENETXAUI_Far|FC133|FC266|FC531|FC1063|FC1063Draft|FC2125|FC133E|FC266E|FC531E|FC1063E|FC1063E_NBT|FC1063E_NDT|FC1063E_NGT|FC1063E_ABT|FC1063E_ADT|FC1063E_AGT|FC1063E_ABR|FC1063E_ADR|FC1063E_AGR|FC2125E_NBT|FC2125E_NDT|FC2125E_NGT|FC2125E_ABT|FC2125E_ADT|FC2125E_AGT|FC2125E_ABR|FC2125E_ADR|FC2125E_AGR|FC4250E_ABR|FC4250E_ABT|FC4250E_ADR|FC4250E_ADT|FC4250E_AGR|FC4250E_AGT|FC4250E_NBT|FC4250E_NDT|FC4250E_NGT|FST1|FST2|FST3|FST4|FST5|FST6|FW1394BS400BT1|FW1394BS400BT2|FW1394BS800BT1|FW1394BS800BT2|FW1394BS1600BT1|FW1394BS1600BT2|FW1394BS400B|FW1394BS800B|FW1394BS1600B|G703DS1|G703DS3|HST|INF2_5G|INF2_5GE|NONe|OC1|OC3|OC12|OC48|OC48_FEC|RATE32Mbit|RATE97Mbit|RIO_DRV500M|RIO_DRV750M|RIO_DRV1G|RIO_DRV1_5G|RIO_DRV2G|RIO_EDRV500M|RIO_EDRV750M|RIO_EDRV1G|RIO_EDRV1_5G|RIO_EDRV2G|RIO_RCV500M|RIO_RCV750M|RIO_RCV1G|RIO_RCV1_5G|RIO_RCV2G|RIO_SERIAL_1G|RIO_SERIAL_2G|RIO_SERIAL_3G|SFI5_XMITADATA2|SFI5_XMITCDATA2|SFI5_XMITACLK2|SFI5_XMITCCLK2|SFI5_RCVBDATA2|SFI5_RCVDDATA2|SFI5_RCVBCLK2|SFI5_RCVDCLK2|SFI5_XMITADATA3|SFI5_XMITCDATA3|SFI5_XMITACLK3|SFI5_XMITCCLK3|SFI5_RCVBDATA3|SFI5_RCVDDATA3|SFI5_RCVBCLK3|SFI5_RCVDCLK3|PCIEXPRESS_Xmit|PCIEXPRESS_Rcv|SAS1_5_IR|SAS1_5_CR|SAS1_5_XR|SAS1_5_IR_AASJ|SAS1_5_CR_AASJ|SAS1_5_XR_AASJ|SAS1_5_SATA|SAS3_0_IR|SAS3_0_CR|SAS3_0_XR|SAS3_0_IR_AASJ|SAS3_0_CR_AASJ|SAS3_0_XR_AASJ|SAS3_0_SATA|STM0_1|STM0_0|STM0_HDBX|STM1E_0|STM1E_1|STS1Pulse|STS1Eye|STS3|STS3_Max|TFI5_2|TFI5_3|USERMask|VIDEO270|VIDEO292M|VIDEO360|VSROC192} - MASK:AUTOSet:STANdard? - - MASK:AUTOSet:TRIGger {|OFF|ON} + - MASK:AUTOSet:TRIGger {ON|OFF|} - MASK:AUTOSet:TRIGger? - MASK:AUTOSet:USER:ONE - MASK:AUTOSet:USER:ONE? @@ -37,34 +37,34 @@ - MASK:AUTOSet:USER:TYPe? - MASK:AUTOSet:USER:ZERo - MASK:AUTOSet:USER:ZERo? - - MASK:AUTOSet:VPOS {|OFF|ON} + - MASK:AUTOSet:VPOS {ON|OFF|} - MASK:AUTOSet:VPOS? - - MASK:AUTOSet:VSCAle {|OFF|ON} + - MASK:AUTOSet:VSCAle {ON|OFF|} - MASK:AUTOSet:VSCAle? - MASK:COPy:USER - MASK:COUNt RESET - MASK:COUNt:FAILURES? - MASK:COUNt:HITS? - MASK:COUNt:SEG:HITS? - - MASK:COUNt:STATE {|OFF|ON} + - MASK:COUNt:STATE {ON|OFF|} - MASK:COUNt:STATE? - MASK:COUNt:TESTS? - MASK:COUNt:TOTal? - MASK:COUNt:VIOLATIONS? - MASK:COUNt:WAVEFORMS? - - MASK:DISplay {|OFF|ON} + - MASK:DISplay {ON|OFF|} - MASK:DISplay? - - MASK:FILTer {|OFF|ON} + - MASK:FILTer {ON|OFF|} - MASK:FILTer:ORR:VERT_INDEX? CH - MASK:FILTer? - - MASK:HIGHLIGHTHits {|OFF|ON} + - MASK:HIGHLIGHTHits {ON|OFF|} - MASK:HIGHLIGHTHits? - - MASK:INVert {|OFF|ON} - - MASK:LOCk {|OFF|ON} + - MASK:INVert {ON|OFF|} + - MASK:LOCk {ON|OFF|} - MASK:LOCk? - MASK:MARgin:PERCent - MASK:MARgin:PERCent? - - MASK:MARgin:STATE {|OFF|ON} + - MASK:MARgin:STATE {ON|OFF|} - MASK:MARgin:STATE? - MASK:MASKPRE:AMPlitude - MASK:MASKPRE:AMPlitude? @@ -100,40 +100,40 @@ - MASK:SOUrce? - MASK:STANdard {ATARXG|ATATXG1|ATATXG2|ATATXG3|CLOCKCoax|CLOCKSymmetrical|D|DS0Contra|DS0Double|DS0Single|DS0Timing|DS1|DS1A|DS1C|DS2|DS2RATECoax|DS2RATESymmetrical|DS3|DS4NA|DS4NA_Max|E1Coax|E1Symmetrical|E2|E3|E4_1|E4_0|ENET1000BCX_ATP2|ENET1000BCX_ATP3|ENET1000BCX_NTP2|ENET100FX|ENET100STP|ENET100UTP|ENET1250|ENETXAUI_Far|ENETXAUI_Near|FC1063|FC1063Draft|FC1063E|FC1063E_ABR|FC1063E_ABT|FC1063E_ADR|FC1063E_ADT|FC1063E_AGR|FC1063E_AGT|FC1063E_NBT|FC1063E_NDT|FC1063E_NGT|FC133|FC133E|FC2125|FC2125E_ABR|FC2125E_ABT|FC2125E_ADR|FC2125E_ADT|FC2125E_AGR|FC2125E_AGT|FC2125E_NBT|FC2125E_NDT|FC2125E_NGT|FC266|FC266E|FC4250E_ABR|FC4250E_ABT|FC4250E_ADR|FC4250E_ADT|FC4250E_AGR|FC4250E_AGT|FC4250E_NBT|FC4250E_NDT|FC4250E_NGT|FC531|FC531E|FST1|FST2|FST3|FST4|FST5|FST6|FW1394BS1600B|FW1394BS1600BT1|FW1394BS1600BT2|FW1394BS400B|FW1394BS400BT1|FW1394BS400BT2|FW1394BS800B|FW1394BS800BT1|FW1394BS800BT2|G703DS1|G703DS3|HST|INF2_5G|INF2_5GE|NONe|OC1|OC12|OC3|OC48|OC48_FEC|PCIEXPRESS_Rcv|PCIEXPRESS_Xmit|RATE32Mbit|RATE97Mbit|RIO_DRV1G|RIO_DRV1_5G|RIO_DRV2G|RIO_DRV500M|RIO_DRV500M|RIO_DRV750M|RIO_EDRV1G|RIO_EDRV1_5G|RIO_EDRV2G|RIO_EDRV500M|RIO_EDRV500M|RIO_EDRV750M|RIO_RCV1G|RIO_RCV1_5G|RIO_RCV2G|RIO_RCV500M|RIO_RCV500M|RIO_RCV750M|RIO_SERIAL_1G|RIO_SERIAL_2G|RIO_SERIAL_3G|SFI5_RCVBCLK2|SFI5_RCVBCLK3|SFI5_RCVBDATA2|SFI5_RCVBDATA3|SFI5_RCVDCLK2|SFI5_RCVDCLK3|SFI5_RCVDDATA2|SFI5_RCVDDATA3|SFI5_XMITACLK2|SFI5_XMITACLK3|SFI5_XMITADATA2|SFI5_XMITADATA3|SFI5_XMITCCLK2|SFI5_XMITCCLK3|SFI5_XMITCDATA2|SFI5_XMITCDATA3|STM0_0|STM0_1|STM0_HDBX|STM1E_1|STM1E_0|STS1Eye|STS1Pulse|STS3|STS3_Max|TFI5_2|TFI5_3|USERMask|VIDEO270|VIDEO292M|VIDEO360|VSROC192|SAS1_5_IR|SAS1_5_CR|SAS1_5_XR|SAS1_5_IR_AASJ|SAS1_5_CR_AASJ|SAS1_5_XR_AASJ|SAS1_5_SATA|SAS3_0_IR|SAS3_0_CR|SAS3_0_XR|SAS3_0_IR_AASJ|SAS3_0_CR_AASJ|SAS3_0_XR_AASJ|SAS3_0_SATA} - MASK:STANdard? - - MASK:STOPOnviolation {|OFF|ON} + - MASK:STOPOnviolation {ON|OFF|} - MASK:STOPOnviolation? - - MASK:TESt:AUX:COMPLetion {|OFF|ON} + - MASK:TESt:AUX:COMPLetion {ON|OFF|} - MASK:TESt:AUX:COMPLetion? - - MASK:TESt:AUX:FAILure {|OFF|ON} + - MASK:TESt:AUX:FAILure {ON|OFF|} - MASK:TESt:AUX:FAILure? - - MASK:TESt:BEEP:COMPLetion {|OFF|ON} + - MASK:TESt:BEEP:COMPLetion {ON|OFF|} - MASK:TESt:BEEP:COMPLetion? - - MASK:TESt:BEEP:FAILure {|OFF|ON} + - MASK:TESt:BEEP:FAILure {ON|OFF|} - MASK:TESt:BEEP:FAILure? - MASK:TESt:DELay - MASK:TESt:DELay? - - MASK:TESt:HARDCopy {|OFF|ON} + - MASK:TESt:HARDCopy {ON|OFF|} - MASK:TESt:HARDCopy? - - MASK:TESt:LOG:FAILure {|OFF|ON} + - MASK:TESt:LOG:FAILure {ON|OFF|} - MASK:TESt:LOG:FAILure? - - MASK:TESt:REPeat {|OFF|ON} + - MASK:TESt:REPeat {ON|OFF|} - MASK:TESt:REPeat? - MASK:TESt:SAMple {} - MASK:TESt:SAMple:THReshold {} - MASK:TESt:SAMple:THReshold? - MASK:TESt:SAMple? - - MASK:TESt:SAVEWFM {|OFF|ON} + - MASK:TESt:SAVEWFM {ON|OFF|} - MASK:TESt:SAVEWFM:FILEName - MASK:TESt:SAVEWFM:FILEName? - MASK:TESt:SAVEWFM? - - MASK:TESt:SRQ:COMPLetion {|OFF|ON} + - MASK:TESt:SRQ:COMPLetion {ON|OFF|} - MASK:TESt:SRQ:COMPLetion? - - MASK:TESt:SRQ:FAILure {|OFF|ON} + - MASK:TESt:SRQ:FAILure {ON|OFF|} - MASK:TESt:SRQ:FAILure? - - MASK:TESt:STATE {|OFF|ON} + - MASK:TESt:STATE {ON|OFF|} - MASK:TESt:STATE? - MASK:TESt:STATUS? - - MASK:TESt:STOP:FAILure {|OFF|ON} + - MASK:TESt:STOP:FAILure {ON|OFF|} - MASK:TESt:STOP:FAILure? - MASK:TESt:THReshold - MASK:TESt:THReshold? @@ -1158,7 +1158,7 @@ class MaskTestStopFailure(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:STOP:FAILure {|OFF|ON} + - MASK:TESt:STOP:FAILure {ON|OFF|} - MASK:TESt:STOP:FAILure? ``` @@ -1204,7 +1204,7 @@ def failure(self) -> MaskTestStopFailure: SCPI Syntax: ``` - - MASK:TESt:STOP:FAILure {|OFF|ON} + - MASK:TESt:STOP:FAILure {ON|OFF|} - MASK:TESt:STOP:FAILure? ``` @@ -1242,11 +1242,9 @@ class MaskTestState(SCPICmdWrite, SCPICmdRead): """The ``MASK:TESt:STATE`` command. Description: - - This command sets or returns the state of mask pass/fail testing. When enabled, this - command resets the pass/fail status information and starts pass/fail mask testing. This - command also generates an 'Operation Complete' message when pass/fail testing completes. - Refer to BUSY and OPC commands for information on synchronizing a controller with - pass/fail testing. + - This command turns the pass/fail mask test on or off. Most of the other ``MASK:TEST`` + commands need to be executed before this command. A series of examples showing how to use + mask commands for typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:STATE?`` query. @@ -1256,15 +1254,14 @@ class MaskTestState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:STATE {|OFF|ON} + - MASK:TESt:STATE {ON|OFF|} - MASK:TESt:STATE? ``` Info: - - ```` = 0 turns off mask pass/fail testing; any other integer turns on mask pass/fail - testing. - - ``OFF`` turns off mask pass/fail testing. - - ``ON`` turns on mask pass/fail testing. + - ``ON`` turns the mask test on. + - ``OFF`` turns the mask test off. + - ```` is an integer. 0 turns the mask test off; any other integer turns it on. """ @@ -1272,10 +1269,9 @@ class MaskTestSrqFailure(SCPICmdWrite, SCPICmdRead): """The ``MASK:TESt:SRQ:FAILure`` command. Description: - - This command sets or returns the SRQ status on pass/fail test failure mode. When enabled, - this command causes the instrument to send a GPIB SRQ command when the pass/fail status - changes to 'Failing'. In other words, it sends an SRQ when a failure occurs during the - mask pass/fail test. + - This command causes the instrument to send an SRQ command when a pass/fail mask test + fails. A series of examples showing how to use mask commands for typical tasks is included + in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:SRQ:FAILure?`` query. @@ -1285,15 +1281,15 @@ class MaskTestSrqFailure(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:SRQ:FAILure {|OFF|ON} + - MASK:TESt:SRQ:FAILure {ON|OFF|} - MASK:TESt:SRQ:FAILure? ``` Info: - - ```` = 0 turns off the pass/fail SRQ on failure, and any other integer turns on the - pass/fail SRQ on failure. - - ``OFF`` turns off the pass/fail SRQ on failure. This is the default. - - ``ON`` turns on the pass/fail SRQ on failure. + - ``ON`` turns on this feature, so that when a mask test fails, the instrument will send an + SRQ command (if registers are set to send SRQ when OPC is asserted. + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other integer turns it on. """ @@ -1301,9 +1297,11 @@ class MaskTestSrqCompletion(SCPICmdWrite, SCPICmdRead): """The ``MASK:TESt:SRQ:COMPLetion`` command. Description: - - This command sets or returns an SRQ on pass/fail test completion mode. When enabled, this - command causes the instrument to send a GPIB SRQ command when the mask pass/fail test - completes. + - This command causes the instrument to send an SRQ command when a pass/fail mask test + completes. Use the command ``MASK:TEST:COMPLETION:CRITERION`` to specify criterion. The + ``MASK:ACTONEVENT:ENABLE`` command should be set to ON for this event to happen. After the + event occurs ``MASK:ACTONEVENT:ENABLE`` command will be set to OFF automatically. A series + of examples showing how to use mask commands for typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:SRQ:COMPLetion?`` query. @@ -1314,15 +1312,15 @@ class MaskTestSrqCompletion(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:SRQ:COMPLetion {|OFF|ON} + - MASK:TESt:SRQ:COMPLetion {ON|OFF|} - MASK:TESt:SRQ:COMPLetion? ``` Info: - - ```` = 0 turns off the pass/fail SR on completion, any other integer turns on the - pass/fail SRQ on completion. - - ``OFF`` turns off the pass/fail SRQ on completion. - - ``ON`` turns on the pass/fail SRQ on completion. + - ``ON`` turns on this feature, so that upon the completion of a mask test, the instrument + will send an SRQ command (if registers are set to send SRQ when OPC is asserted). + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other integer turns it on. """ @@ -1349,9 +1347,12 @@ def completion(self) -> MaskTestSrqCompletion: """Return the ``MASK:TESt:SRQ:COMPLetion`` command. Description: - - This command sets or returns an SRQ on pass/fail test completion mode. When enabled, - this command causes the instrument to send a GPIB SRQ command when the mask pass/fail - test completes. + - This command causes the instrument to send an SRQ command when a pass/fail mask test + completes. Use the command ``MASK:TEST:COMPLETION:CRITERION`` to specify criterion. + The ``MASK:ACTONEVENT:ENABLE`` command should be set to ON for this event to happen. + After the event occurs ``MASK:ACTONEVENT:ENABLE`` command will be set to OFF + automatically. A series of examples showing how to use mask commands for typical tasks + is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:SRQ:COMPLetion?`` query. @@ -1362,15 +1363,16 @@ def completion(self) -> MaskTestSrqCompletion: SCPI Syntax: ``` - - MASK:TESt:SRQ:COMPLetion {|OFF|ON} + - MASK:TESt:SRQ:COMPLetion {ON|OFF|} - MASK:TESt:SRQ:COMPLetion? ``` Info: - - ```` = 0 turns off the pass/fail SR on completion, any other integer turns on the - pass/fail SRQ on completion. - - ``OFF`` turns off the pass/fail SRQ on completion. - - ``ON`` turns on the pass/fail SRQ on completion. + - ``ON`` turns on this feature, so that upon the completion of a mask test, the + instrument will send an SRQ command (if registers are set to send SRQ when OPC is + asserted). + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other integer turns it on. """ return self._completion @@ -1379,10 +1381,9 @@ def failure(self) -> MaskTestSrqFailure: """Return the ``MASK:TESt:SRQ:FAILure`` command. Description: - - This command sets or returns the SRQ status on pass/fail test failure mode. When - enabled, this command causes the instrument to send a GPIB SRQ command when the - pass/fail status changes to 'Failing'. In other words, it sends an SRQ when a failure - occurs during the mask pass/fail test. + - This command causes the instrument to send an SRQ command when a pass/fail mask test + fails. A series of examples showing how to use mask commands for typical tasks is + included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:SRQ:FAILure?`` query. @@ -1393,15 +1394,15 @@ def failure(self) -> MaskTestSrqFailure: SCPI Syntax: ``` - - MASK:TESt:SRQ:FAILure {|OFF|ON} + - MASK:TESt:SRQ:FAILure {ON|OFF|} - MASK:TESt:SRQ:FAILure? ``` Info: - - ```` = 0 turns off the pass/fail SRQ on failure, and any other integer turns on - the pass/fail SRQ on failure. - - ``OFF`` turns off the pass/fail SRQ on failure. This is the default. - - ``ON`` turns on the pass/fail SRQ on failure. + - ``ON`` turns on this feature, so that when a mask test fails, the instrument will send + an SRQ command (if registers are set to send SRQ when OPC is asserted. + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other integer turns it on. """ return self._failure @@ -1438,9 +1439,12 @@ class MaskTestSavewfm(SCPICmdWrite, SCPICmdRead): """The ``MASK:TESt:SAVEWFM`` command. Description: - - This command sets or returns the save waveform to file on failure setting. When enabled, - this command copies waveform data from active channels to files when the pass/fail test - status changes to 'Failing'. + - This command copies the waveform data from all active channels to a file on a flash memory + device such as a USB stick or a network drive. See the command ``FILESYSTEM:MKDIR`` and + other File System commands for more information on saving to a file. The + ``MASK:ACTONEVENT:ENABLE`` command should be set to ON for this event to happen. After the + event occurs ``MASK:ACTONEVENT:ENABLE`` command will be set to OFF automatically. A series + of examples showing how to use mask commands for typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:SAVEWFM?`` query. @@ -1450,15 +1454,15 @@ class MaskTestSavewfm(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:SAVEWFM {|OFF|ON} + - MASK:TESt:SAVEWFM {ON|OFF|} - MASK:TESt:SAVEWFM? ``` Info: - - ```` = 0 turns off copying all active channel waveforms to files, and any other - integer turns on copying all active channel waveforms to files. - - ``OFF`` turns off copying all active channel waveforms to files. - - ``ON`` turns on copying all active channel waveforms to files. + - ``ON`` turns on this feature, so that waveform data from all active channels is copied to + files upon test failure. + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other value turns it on. Properties: - ``.filename``: The ``MASK:TESt:SAVEWFM:FILEName`` command. @@ -1588,9 +1592,9 @@ class MaskTestRepeat(SCPICmdWrite, SCPICmdRead): """The ``MASK:TESt:REPeat`` command. Description: - - This command sets or returns the repeat pass/fail test on completion mode. When enabled, - this command repeats the pass/fail test cycle at the completion of the previous test - cycle. + - This command causes the mask test cycle to continuously repeat upon the completion of the + previous test cycle. A series of examples showing how to use mask commands for typical + tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:REPeat?`` query. @@ -1600,15 +1604,15 @@ class MaskTestRepeat(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:REPeat {|OFF|ON} + - MASK:TESt:REPeat {ON|OFF|} - MASK:TESt:REPeat? ``` Info: - - ```` = 0 turns off repeat on completion, and any other integer turns on repeat on - completion. - - ``OFF`` turns off repeat on completion. - - ``ON`` turns on repeat on completion. + - ``ON`` turns on this feature, so that the mask test cycle repeats continuously upon the + completion of the previous test cycle. + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other integer turns it on. """ @@ -1629,7 +1633,7 @@ class MaskTestLogFailure(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:LOG:FAILure {|OFF|ON} + - MASK:TESt:LOG:FAILure {ON|OFF|} - MASK:TESt:LOG:FAILure? ``` @@ -1676,7 +1680,7 @@ def failure(self) -> MaskTestLogFailure: SCPI Syntax: ``` - - MASK:TESt:LOG:FAILure {|OFF|ON} + - MASK:TESt:LOG:FAILure {ON|OFF|} - MASK:TESt:LOG:FAILure? ``` @@ -1693,10 +1697,11 @@ class MaskTestHardcopy(SCPICmdWrite, SCPICmdRead): """The ``MASK:TESt:HARDCopy`` command. Description: - - This command sets or returns the hard copy in pass/fail failure mode. When enabled, this - command causes the instrument to generate a screen hard copy, to the default printer using - the current instrument hard copy settings, as soon as the pass/fail status changes to - 'Failing'. + - This command will cause the instrument to generate a screen shot to the default printer as + soon as a pass/fail mask test fails, using the current instrument hard copy settings. See + ``HARDCOPY:ACTIVEPRINTER`` and other Hardcopy commands for more information on accessing + printer settings. A series of examples showing how to use mask commands for typical tasks + is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:HARDCopy?`` query. @@ -1706,15 +1711,15 @@ class MaskTestHardcopy(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:HARDCopy {|OFF|ON} + - MASK:TESt:HARDCopy {ON|OFF|} - MASK:TESt:HARDCopy? ``` Info: - - ```` = 0 turns off generate hard copy on failure, and any other value turns on - generate hard copy on failure. - - ``OFF`` turns off generate hard copy on failure. - - ``ON`` turns on generate hard copy on failure. + - ``ON`` turns on this feature, so that the instrument will generate a screen hard copy to + the default printer upon failure. + - ``OFF`` turns off this feature. + - ```` = 0 turns off this feature; any other value turns it on. """ @@ -1761,7 +1766,7 @@ class MaskTestBeepFailure(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:BEEP:FAILure {|OFF|ON} + - MASK:TESt:BEEP:FAILure {ON|OFF|} - MASK:TESt:BEEP:FAILure? ``` @@ -1789,7 +1794,7 @@ class MaskTestBeepCompletion(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:BEEP:COMPLetion {|OFF|ON} + - MASK:TESt:BEEP:COMPLetion {ON|OFF|} - MASK:TESt:BEEP:COMPLetion? ``` @@ -1837,7 +1842,7 @@ def completion(self) -> MaskTestBeepCompletion: SCPI Syntax: ``` - - MASK:TESt:BEEP:COMPLetion {|OFF|ON} + - MASK:TESt:BEEP:COMPLetion {ON|OFF|} - MASK:TESt:BEEP:COMPLetion? ``` @@ -1867,7 +1872,7 @@ def failure(self) -> MaskTestBeepFailure: SCPI Syntax: ``` - - MASK:TESt:BEEP:FAILure {|OFF|ON} + - MASK:TESt:BEEP:FAILure {ON|OFF|} - MASK:TESt:BEEP:FAILure? ``` @@ -1896,7 +1901,7 @@ class MaskTestAuxFailure(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:AUX:FAILure {|OFF|ON} + - MASK:TESt:AUX:FAILure {ON|OFF|} - MASK:TESt:AUX:FAILure? ``` @@ -1924,7 +1929,7 @@ class MaskTestAuxCompletion(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:TESt:AUX:COMPLetion {|OFF|ON} + - MASK:TESt:AUX:COMPLetion {ON|OFF|} - MASK:TESt:AUX:COMPLetion? ``` @@ -1972,7 +1977,7 @@ def completion(self) -> MaskTestAuxCompletion: SCPI Syntax: ``` - - MASK:TESt:AUX:COMPLetion {|OFF|ON} + - MASK:TESt:AUX:COMPLetion {ON|OFF|} - MASK:TESt:AUX:COMPLetion? ``` @@ -2002,7 +2007,7 @@ def failure(self) -> MaskTestAuxFailure: SCPI Syntax: ``` - - MASK:TESt:AUX:FAILure {|OFF|ON} + - MASK:TESt:AUX:FAILure {ON|OFF|} - MASK:TESt:AUX:FAILure? ``` @@ -2122,10 +2127,11 @@ def hardcopy(self) -> MaskTestHardcopy: """Return the ``MASK:TESt:HARDCopy`` command. Description: - - This command sets or returns the hard copy in pass/fail failure mode. When enabled, - this command causes the instrument to generate a screen hard copy, to the default - printer using the current instrument hard copy settings, as soon as the pass/fail - status changes to 'Failing'. + - This command will cause the instrument to generate a screen shot to the default + printer as soon as a pass/fail mask test fails, using the current instrument hard copy + settings. See ``HARDCOPY:ACTIVEPRINTER`` and other Hardcopy commands for more + information on accessing printer settings. A series of examples showing how to use + mask commands for typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:HARDCopy?`` query. @@ -2135,15 +2141,15 @@ def hardcopy(self) -> MaskTestHardcopy: SCPI Syntax: ``` - - MASK:TESt:HARDCopy {|OFF|ON} + - MASK:TESt:HARDCopy {ON|OFF|} - MASK:TESt:HARDCopy? ``` Info: - - ```` = 0 turns off generate hard copy on failure, and any other value turns on - generate hard copy on failure. - - ``OFF`` turns off generate hard copy on failure. - - ``ON`` turns on generate hard copy on failure. + - ``ON`` turns on this feature, so that the instrument will generate a screen hard copy + to the default printer upon failure. + - ``OFF`` turns off this feature. + - ```` = 0 turns off this feature; any other value turns it on. """ return self._hardcopy @@ -2166,9 +2172,9 @@ def repeat(self) -> MaskTestRepeat: """Return the ``MASK:TESt:REPeat`` command. Description: - - This command sets or returns the repeat pass/fail test on completion mode. When - enabled, this command repeats the pass/fail test cycle at the completion of the - previous test cycle. + - This command causes the mask test cycle to continuously repeat upon the completion of + the previous test cycle. A series of examples showing how to use mask commands for + typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:REPeat?`` query. @@ -2178,15 +2184,15 @@ def repeat(self) -> MaskTestRepeat: SCPI Syntax: ``` - - MASK:TESt:REPeat {|OFF|ON} + - MASK:TESt:REPeat {ON|OFF|} - MASK:TESt:REPeat? ``` Info: - - ```` = 0 turns off repeat on completion, and any other integer turns on repeat on - completion. - - ``OFF`` turns off repeat on completion. - - ``ON`` turns on repeat on completion. + - ``ON`` turns on this feature, so that the mask test cycle repeats continuously upon + the completion of the previous test cycle. + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other integer turns it on. """ return self._repeat @@ -2227,9 +2233,13 @@ def savewfm(self) -> MaskTestSavewfm: """Return the ``MASK:TESt:SAVEWFM`` command. Description: - - This command sets or returns the save waveform to file on failure setting. When - enabled, this command copies waveform data from active channels to files when the - pass/fail test status changes to 'Failing'. + - This command copies the waveform data from all active channels to a file on a flash + memory device such as a USB stick or a network drive. See the command + ``FILESYSTEM:MKDIR`` and other File System commands for more information on saving to + a file. The ``MASK:ACTONEVENT:ENABLE`` command should be set to ON for this event to + happen. After the event occurs ``MASK:ACTONEVENT:ENABLE`` command will be set to OFF + automatically. A series of examples showing how to use mask commands for typical tasks + is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:SAVEWFM?`` query. @@ -2239,15 +2249,15 @@ def savewfm(self) -> MaskTestSavewfm: SCPI Syntax: ``` - - MASK:TESt:SAVEWFM {|OFF|ON} + - MASK:TESt:SAVEWFM {ON|OFF|} - MASK:TESt:SAVEWFM? ``` Info: - - ```` = 0 turns off copying all active channel waveforms to files, and any other - integer turns on copying all active channel waveforms to files. - - ``OFF`` turns off copying all active channel waveforms to files. - - ``ON`` turns on copying all active channel waveforms to files. + - ``ON`` turns on this feature, so that waveform data from all active channels is copied + to files upon test failure. + - ``OFF`` turns off this feature. + - ```` is an integer. 0 turns off this feature; any other value turns it on. Sub-properties: - ``.filename``: The ``MASK:TESt:SAVEWFM:FILEName`` command. @@ -2274,11 +2284,9 @@ def state(self) -> MaskTestState: """Return the ``MASK:TESt:STATE`` command. Description: - - This command sets or returns the state of mask pass/fail testing. When enabled, this - command resets the pass/fail status information and starts pass/fail mask testing. - This command also generates an 'Operation Complete' message when pass/fail testing - completes. Refer to BUSY and OPC commands for information on synchronizing a - controller with pass/fail testing. + - This command turns the pass/fail mask test on or off. Most of the other ``MASK:TEST`` + commands need to be executed before this command. A series of examples showing how to + use mask commands for typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:TESt:STATE?`` query. @@ -2288,15 +2296,14 @@ def state(self) -> MaskTestState: SCPI Syntax: ``` - - MASK:TESt:STATE {|OFF|ON} + - MASK:TESt:STATE {ON|OFF|} - MASK:TESt:STATE? ``` Info: - - ```` = 0 turns off mask pass/fail testing; any other integer turns on mask - pass/fail testing. - - ``OFF`` turns off mask pass/fail testing. - - ``ON`` turns on mask pass/fail testing. + - ``ON`` turns the mask test on. + - ``OFF`` turns the mask test off. + - ```` is an integer. 0 turns the mask test off; any other integer turns it on. """ return self._state @@ -2397,9 +2404,14 @@ class MaskStoponviolation(SCPICmdWrite, SCPICmdRead): """The ``MASK:STOPOnviolation`` command. Description: - - This command sets or returns the stop on violation setting. When enabled, this command - stops waveform acquisitions on the first occurrence of a waveform violation. - ``MASK:DISPLAY`` must be ON for the instrument to detect violations. + - This command stops the waveform acquisitions upon the first occurrence of a waveform + violation. The ``MASK:ACTONEVENT:ENABLE`` command should be set to ON for this event to + happen. After the event occurs ``MASK:ACTONEVENT:ENABLE`` command will be set to OFF + automatically. You can also specify an action to be performed when acquisitions are + stopped by using the commands such as ``MASK:TEST:SAVEWFM``, ``MASK:TEST:SAVEIMAGE``, + ``MASK:TEST:AUXOUT:FAILURE``, ``MASK:TEST:HARDCOPY``, or ``MASK:TEST:SRQ:FAILURE``. A + series of examples showing how to use mask commands for typical tasks is included in an + appendix. Usage: - Using the ``.query()`` method will send the ``MASK:STOPOnviolation?`` query. @@ -2409,14 +2421,14 @@ class MaskStoponviolation(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:STOPOnviolation {|OFF|ON} + - MASK:STOPOnviolation {ON|OFF|} - MASK:STOPOnviolation? ``` Info: - - ```` = 0 turns off stop on violation; any other value turns on stop on violation. - - ``OFF`` turns off mask test stop on violation. - ``ON`` stops waveform acquisition on the first occurrence of a mask violation. + - ``OFF`` turns this feature off. + - ``=0`` turns this feature off ; any other value turns it on. """ @@ -3520,7 +3532,7 @@ class MaskMarginState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:MARgin:STATE {|OFF|ON} + - MASK:MARgin:STATE {ON|OFF|} - MASK:MARgin:STATE? ``` @@ -3618,7 +3630,7 @@ def state(self) -> MaskMarginState: SCPI Syntax: ``` - - MASK:MARgin:STATE {|OFF|ON} + - MASK:MARgin:STATE {ON|OFF|} - MASK:MARgin:STATE? ``` @@ -3636,11 +3648,12 @@ class MaskLock(SCPICmdWrite, SCPICmdRead): """The ``MASK:LOCk`` command. Description: - - This command sets or returns the mask lock to waveform mode. It locks the mask to the - waveform such that changes to the horizontal and/or vertical scale settings redraws the - mask segments in proportion. This feature allows for expanding horizontal and/or vertical - settings to zoom in on waveforms and masks to visually examine violation areas in more - detail. + - This command locks the mask to the source waveform so that any changes made to the + horizontal and/or vertical scale settings of the waveform will redraw the mask segments in + proportion. This feature is useful for expanding the horizontal and/or vertical settings + in order to zoom in on waveforms and masks, and visually examine violation areas in more + detail. A series of examples showing how to use mask commands for typical tasks is + included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:LOCk?`` query. @@ -3650,15 +3663,14 @@ class MaskLock(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:LOCk {|OFF|ON} + - MASK:LOCk {ON|OFF|} - MASK:LOCk? ``` Info: - - ```` = 0 turns off mask lock to waveform and any other value turns on mask lock to - waveform. - - ``OFF`` turns off mask lock to waveform. - - ``ON`` turns on mask lock to waveform. + - ``ON`` turns on this feature, so that the mask is locked to the waveform. + - ``OFF`` turns off this feature. + - `` = 0`` turns off this feature. Any other value turns it on. """ @@ -3674,7 +3686,7 @@ class MaskInvert(SCPICmdWrite): SCPI Syntax: ``` - - MASK:INVert {|OFF|ON} + - MASK:INVert {ON|OFF|} ``` Info: @@ -3699,7 +3711,7 @@ class MaskHighlighthits(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:HIGHLIGHTHits {|OFF|ON} + - MASK:HIGHLIGHTHits {ON|OFF|} - MASK:HIGHLIGHTHits? ``` @@ -3788,7 +3800,7 @@ class MaskFilter(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:FILTer {|OFF|ON} + - MASK:FILTer {ON|OFF|} - MASK:FILTer? ``` @@ -3838,7 +3850,7 @@ class MaskDisplay(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:DISplay {|OFF|ON} + - MASK:DISplay {ON|OFF|} - MASK:DISplay? ``` @@ -3946,7 +3958,7 @@ class MaskCountState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:COUNt:STATE {|OFF|ON} + - MASK:COUNt:STATE {ON|OFF|} - MASK:COUNt:STATE? ``` @@ -4164,7 +4176,7 @@ def state(self) -> MaskCountState: SCPI Syntax: ``` - - MASK:COUNt:STATE {|OFF|ON} + - MASK:COUNt:STATE {ON|OFF|} - MASK:COUNt:STATE? ``` @@ -4333,7 +4345,7 @@ class MaskAutosetVscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:VSCAle {|OFF|ON} + - MASK:AUTOSet:VSCAle {ON|OFF|} - MASK:AUTOSet:VSCAle? ``` @@ -4361,7 +4373,7 @@ class MaskAutosetVpos(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:VPOS {|OFF|ON} + - MASK:AUTOSet:VPOS {ON|OFF|} - MASK:AUTOSet:VPOS? ``` @@ -4559,7 +4571,7 @@ class MaskAutosetTrigger(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:TRIGger {|OFF|ON} + - MASK:AUTOSet:TRIGger {ON|OFF|} - MASK:AUTOSet:TRIGger? ``` @@ -4749,7 +4761,7 @@ class MaskAutosetOffsetadj(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:OFFSETAdj {|OFF|ON} + - MASK:AUTOSet:OFFSETAdj {ON|OFF|} - MASK:AUTOSet:OFFSETAdj? ``` @@ -4805,7 +4817,7 @@ class MaskAutosetHscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:HSCAle {|OFF|ON} + - MASK:AUTOSet:HSCAle {ON|OFF|} - MASK:AUTOSet:HSCAle? ``` @@ -4833,7 +4845,7 @@ class MaskAutosetHpos(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:HPOS {|OFF|ON} + - MASK:AUTOSet:HPOS {ON|OFF|} - MASK:AUTOSet:HPOS? ``` @@ -4863,7 +4875,7 @@ class MaskAutosetAutoadjust(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOSet:AUTOAdjust {|OFF|ON} + - MASK:AUTOSet:AUTOAdjust {ON|OFF|} - MASK:AUTOSet:AUTOAdjust? ``` @@ -4930,7 +4942,7 @@ def autoadjust(self) -> MaskAutosetAutoadjust: SCPI Syntax: ``` - - MASK:AUTOSet:AUTOAdjust {|OFF|ON} + - MASK:AUTOSet:AUTOAdjust {ON|OFF|} - MASK:AUTOSet:AUTOAdjust? ``` @@ -4960,7 +4972,7 @@ def hpos(self) -> MaskAutosetHpos: SCPI Syntax: ``` - - MASK:AUTOSet:HPOS {|OFF|ON} + - MASK:AUTOSet:HPOS {ON|OFF|} - MASK:AUTOSet:HPOS? ``` @@ -4991,7 +5003,7 @@ def hscale(self) -> MaskAutosetHscale: SCPI Syntax: ``` - - MASK:AUTOSet:HSCAle {|OFF|ON} + - MASK:AUTOSet:HSCAle {ON|OFF|} - MASK:AUTOSet:HSCAle? ``` @@ -5053,7 +5065,7 @@ def offsetadj(self) -> MaskAutosetOffsetadj: SCPI Syntax: ``` - - MASK:AUTOSet:OFFSETAdj {|OFF|ON} + - MASK:AUTOSet:OFFSETAdj {ON|OFF|} - MASK:AUTOSet:OFFSETAdj? ``` @@ -5245,7 +5257,7 @@ def trigger(self) -> MaskAutosetTrigger: SCPI Syntax: ``` - - MASK:AUTOSet:TRIGger {|OFF|ON} + - MASK:AUTOSet:TRIGger {ON|OFF|} - MASK:AUTOSet:TRIGger? ``` @@ -5290,7 +5302,7 @@ def vpos(self) -> MaskAutosetVpos: SCPI Syntax: ``` - - MASK:AUTOSet:VPOS {|OFF|ON} + - MASK:AUTOSet:VPOS {ON|OFF|} - MASK:AUTOSet:VPOS? ``` @@ -5320,7 +5332,7 @@ def vscale(self) -> MaskAutosetVscale: SCPI Syntax: ``` - - MASK:AUTOSet:VSCAle {|OFF|ON} + - MASK:AUTOSet:VSCAle {ON|OFF|} - MASK:AUTOSet:VSCAle? ``` @@ -5402,7 +5414,7 @@ class MaskAutoadjust(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MASK:AUTOAdjust {|OFF|ON} + - MASK:AUTOAdjust {ON|OFF|} - MASK:AUTOAdjust? ``` @@ -5558,7 +5570,7 @@ def autoadjust(self) -> MaskAutoadjust: SCPI Syntax: ``` - - MASK:AUTOAdjust {|OFF|ON} + - MASK:AUTOAdjust {ON|OFF|} - MASK:AUTOAdjust? ``` @@ -5658,7 +5670,7 @@ def display(self) -> MaskDisplay: SCPI Syntax: ``` - - MASK:DISplay {|OFF|ON} + - MASK:DISplay {ON|OFF|} - MASK:DISplay? ``` @@ -5689,7 +5701,7 @@ def filter(self) -> MaskFilter: SCPI Syntax: ``` - - MASK:FILTer {|OFF|ON} + - MASK:FILTer {ON|OFF|} - MASK:FILTer? ``` @@ -5719,7 +5731,7 @@ def highlighthits(self) -> MaskHighlighthits: SCPI Syntax: ``` - - MASK:HIGHLIGHTHits {|OFF|ON} + - MASK:HIGHLIGHTHits {ON|OFF|} - MASK:HIGHLIGHTHits? ``` @@ -5744,7 +5756,7 @@ def invert(self) -> MaskInvert: SCPI Syntax: ``` - - MASK:INVert {|OFF|ON} + - MASK:INVert {ON|OFF|} ``` Info: @@ -5759,11 +5771,12 @@ def lock(self) -> MaskLock: """Return the ``MASK:LOCk`` command. Description: - - This command sets or returns the mask lock to waveform mode. It locks the mask to the - waveform such that changes to the horizontal and/or vertical scale settings redraws - the mask segments in proportion. This feature allows for expanding horizontal and/or - vertical settings to zoom in on waveforms and masks to visually examine violation - areas in more detail. + - This command locks the mask to the source waveform so that any changes made to the + horizontal and/or vertical scale settings of the waveform will redraw the mask + segments in proportion. This feature is useful for expanding the horizontal and/or + vertical settings in order to zoom in on waveforms and masks, and visually examine + violation areas in more detail. A series of examples showing how to use mask commands + for typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:LOCk?`` query. @@ -5773,15 +5786,14 @@ def lock(self) -> MaskLock: SCPI Syntax: ``` - - MASK:LOCk {|OFF|ON} + - MASK:LOCk {ON|OFF|} - MASK:LOCk? ``` Info: - - ```` = 0 turns off mask lock to waveform and any other value turns on mask lock - to waveform. - - ``OFF`` turns off mask lock to waveform. - - ``ON`` turns on mask lock to waveform. + - ``ON`` turns on this feature, so that the mask is locked to the waveform. + - ``OFF`` turns off this feature. + - `` = 0`` turns off this feature. Any other value turns it on. """ return self._lock @@ -6101,9 +6113,14 @@ def stoponviolation(self) -> MaskStoponviolation: """Return the ``MASK:STOPOnviolation`` command. Description: - - This command sets or returns the stop on violation setting. When enabled, this command - stops waveform acquisitions on the first occurrence of a waveform violation. - ``MASK:DISPLAY`` must be ON for the instrument to detect violations. + - This command stops the waveform acquisitions upon the first occurrence of a waveform + violation. The ``MASK:ACTONEVENT:ENABLE`` command should be set to ON for this event + to happen. After the event occurs ``MASK:ACTONEVENT:ENABLE`` command will be set to + OFF automatically. You can also specify an action to be performed when acquisitions + are stopped by using the commands such as ``MASK:TEST:SAVEWFM``, + ``MASK:TEST:SAVEIMAGE``, ``MASK:TEST:AUXOUT:FAILURE``, ``MASK:TEST:HARDCOPY``, or + ``MASK:TEST:SRQ:FAILURE``. A series of examples showing how to use mask commands for + typical tasks is included in an appendix. Usage: - Using the ``.query()`` method will send the ``MASK:STOPOnviolation?`` query. @@ -6114,14 +6131,14 @@ def stoponviolation(self) -> MaskStoponviolation: SCPI Syntax: ``` - - MASK:STOPOnviolation {|OFF|ON} + - MASK:STOPOnviolation {ON|OFF|} - MASK:STOPOnviolation? ``` Info: - - ```` = 0 turns off stop on violation; any other value turns on stop on violation. - - ``OFF`` turns off mask test stop on violation. - ``ON`` stops waveform acquisition on the first occurrence of a mask violation. + - ``OFF`` turns this feature off. + - ``=0`` turns this feature off ; any other value turns it on. """ return self._stoponviolation diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/math.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/math.py index 4c06b79d..2f516cd9 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/math.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/math.py @@ -56,7 +56,7 @@ - MATH:THRESHold? - MATH:UNITString - MATH:UNITString? - - MATH:VERTical:AUTOSCale {|OFF|ON} + - MATH:VERTical:AUTOSCale {ON|OFF|} - MATH:VERTical:AUTOSCale? - MATH:VERTical:POSition - MATH:VERTical:POSition? @@ -177,7 +177,7 @@ class MathItemVerticalAutoscale(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MATH:VERTical:AUTOSCale {|OFF|ON} + - MATH:VERTical:AUTOSCale {ON|OFF|} - MATH:VERTical:AUTOSCale? ``` @@ -224,7 +224,7 @@ def autoscale(self) -> MathItemVerticalAutoscale: SCPI Syntax: ``` - - MATH:VERTical:AUTOSCale {|OFF|ON} + - MATH:VERTical:AUTOSCale {ON|OFF|} - MATH:VERTical:AUTOSCale? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/measurement.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/measurement.py index c91270bf..7a6eca19 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/measurement.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/measurement.py @@ -11,7 +11,7 @@ Commands and Queries: ``` - - MEASUrement:ANNOTation:IMMEDSTAte {|OFF|ON} + - MEASUrement:ANNOTation:IMMEDSTAte {ON|OFF|} - MEASUrement:ANNOTation:IMMEDSTAte? - MEASUrement:ANNOTation:NUMX? - MEASUrement:ANNOTation:NUMY? @@ -91,7 +91,7 @@ - MEASUrement:MEAS:SOUrce1:SIGType {PULse|EYE} - MEASUrement:MEAS:SOUrce1:SIGType? - MEASUrement:MEAS:SOUrce1? - - MEASUrement:MEAS:STATE {|OFF|ON} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? - MEASUrement:MEAS:STDdev? - MEASUrement:MEAS:TYPe {AMPlitude|AREa|BURst|CARea|CMEan|CRMs|DELay|DISTDUty|EXTINCTDB|EXTINCTPCT|EXTINCTRATIO|EYEHeight|EYEWIdth|FALL|FREQuency|HIGH|HITs|LOW|MAXimum|MEAN|MEDian|MINImum|NCROss|NDUty|NOVershoot|NWIdth|PBASe|PCROss|PCTCROss|PDUty|PEAKHits|PERIod|PHAse|PK2Pk|PKPKJitter|PKPKNoise|POVershoot|PTOP|PWIdth|QFACtor|RISe|RMS|RMSJitter|RMSNoise|SIGMA1|SIGMA2|SIGMA3|SIXSigmajit|SNRatio|STDdev|UNDEFINED|WAVEFORMS} @@ -1211,13 +1211,11 @@ class MeasurementMeasItemState(SCPICmdWrite, SCPICmdRead): """The ``MEASUrement:MEAS:STATE`` command. Description: - - This command sets or queries whether the specified measurement slot is computed and - displayed. The measurement slot is specified by x, which ranges from 1 through 8. This - command is equivalent to selecting Measurement Setup from the Measure menu and then - clicking the Display button. For a measurement to display, you must have selected a source - waveform and defined the measurement you want to take and display. You select the - measurement using the ``MEASUREMENT:MEASX:SOURCEX`` command. You define the measurement - type using the ``MEASUREMENT:MEASX:TYPE`` command. + - This command specifies whether the specified measurement slot is computed and displayed. + The measurement slot is specified by , which ranges from 1 through 8. For a measurement + to display, you must have selected a source waveform and defined the measurement you want + to take and display. You select the measurement using the ``MEASUREMENT:MEASX:SOURCEX`` + command. You define the measurement type using the ``MEASUREMENT:MEASX:TYPE`` command. Usage: - Using the ``.query()`` method will send the ``MEASUrement:MEAS:STATE?`` query. @@ -1228,15 +1226,15 @@ class MeasurementMeasItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {|OFF|ON} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` Info: - - ```` = 0 disables calculation and display of the specified measurement slot; any - other value enables calculation and display of the specified measurement slot. - ``OFF`` disables calculation and display of the specified measurement slot. - ``ON`` enables calculation and display of the specified measurement slot. + - ```` = 0 disables calculation and display of the specified measurement slot; any + other value enables calculation and display of the specified measurement slot. """ @@ -2493,13 +2491,12 @@ def state(self) -> MeasurementMeasItemState: """Return the ``MEASUrement:MEAS:STATE`` command. Description: - - This command sets or queries whether the specified measurement slot is computed and - displayed. The measurement slot is specified by x, which ranges from 1 through 8. This - command is equivalent to selecting Measurement Setup from the Measure menu and then - clicking the Display button. For a measurement to display, you must have selected a - source waveform and defined the measurement you want to take and display. You select - the measurement using the ``MEASUREMENT:MEASX:SOURCEX`` command. You define the - measurement type using the ``MEASUREMENT:MEASX:TYPE`` command. + - This command specifies whether the specified measurement slot is computed and + displayed. The measurement slot is specified by , which ranges from 1 through 8. + For a measurement to display, you must have selected a source waveform and defined the + measurement you want to take and display. You select the measurement using the + ``MEASUREMENT:MEASX:SOURCEX`` command. You define the measurement type using the + ``MEASUREMENT:MEASX:TYPE`` command. Usage: - Using the ``.query()`` method will send the ``MEASUrement:MEAS:STATE?`` query. @@ -2510,15 +2507,15 @@ def state(self) -> MeasurementMeasItemState: SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {|OFF|ON} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` Info: - - ```` = 0 disables calculation and display of the specified measurement slot; any - other value enables calculation and display of the specified measurement slot. - ``OFF`` disables calculation and display of the specified measurement slot. - ``ON`` enables calculation and display of the specified measurement slot. + - ```` = 0 disables calculation and display of the specified measurement slot; any + other value enables calculation and display of the specified measurement slot. """ return self._state @@ -4472,7 +4469,7 @@ class MeasurementAnnotationImmedstate(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:ANNOTation:IMMEDSTAte {|OFF|ON} + - MEASUrement:ANNOTation:IMMEDSTAte {ON|OFF|} - MEASUrement:ANNOTation:IMMEDSTAte? ``` @@ -4535,7 +4532,7 @@ def immedstate(self) -> MeasurementAnnotationImmedstate: SCPI Syntax: ``` - - MEASUrement:ANNOTation:IMMEDSTAte {|OFF|ON} + - MEASUrement:ANNOTation:IMMEDSTAte {ON|OFF|} - MEASUrement:ANNOTation:IMMEDSTAte? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/opcextended.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/opcextended.py index 4e7e60de..ca68ebba 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/opcextended.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/opcextended.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` """ @@ -66,7 +66,7 @@ class Opcextended(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/save.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/save.py index 91173501..c829b787 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/save.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/save.py @@ -20,7 +20,7 @@ - SAVe:WAVEform:DATa:STOP {} - SAVe:WAVEform:FILEFormat {INTERNal|MATHCad|MATLab|SPREADSHEETCsv|SPREADSHEETTxt|TIMEStamp|AUTO} - SAVe:WAVEform:FILEFormat? - - SAVe:WAVEform:FORCESAMEFilesize {|OFF|ON} + - SAVe:WAVEform:FORCESAMEFilesize {ON|OFF|} - SAVe:WAVEform:FORCESAMEFilesize? ``` """ # noqa: E501 @@ -53,7 +53,7 @@ class SaveWaveformForcesamefilesize(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVe:WAVEform:FORCESAMEFilesize {|OFF|ON} + - SAVe:WAVEform:FORCESAMEFilesize {ON|OFF|} - SAVe:WAVEform:FORCESAMEFilesize? ``` @@ -366,7 +366,7 @@ def forcesamefilesize(self) -> SaveWaveformForcesamefilesize: SCPI Syntax: ``` - - SAVe:WAVEform:FORCESAMEFilesize {|OFF|ON} + - SAVe:WAVEform:FORCESAMEFilesize {ON|OFF|} - SAVe:WAVEform:FORCESAMEFilesize? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/saveon.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/saveon.py index db857776..bf1ec627 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/saveon.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/saveon.py @@ -12,7 +12,7 @@ ``` - SAVEON {RESET} - SAVEON:COUNt? - - SAVEON:FILE:AUTOInc {|ON|OFF} + - SAVEON:FILE:AUTOInc {ON|OFF|} - SAVEON:FILE:AUTOInc? - SAVEON:FILE:COUNt - SAVEON:FILE:COUNt? @@ -22,21 +22,21 @@ - SAVEON:FILE:NAME? - SAVEON:FILE:TYPE {AUTO|CUSTOM} - SAVEON:FILE:TYPE? - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? - - SAVEON:LIMit {|OFF|ON} + - SAVEON:LIMit {ON|OFF|} - SAVEON:LIMit? - - SAVEON:MASK {|OFF|ON} + - SAVEON:MASK {ON|OFF|} - SAVEON:MASK? - - SAVEON:MEASUrement {|OFF|ON} + - SAVEON:MEASUrement {ON|OFF|} - SAVEON:MEASUrement? - SAVEON:NUMEvents - SAVEON:NUMEvents? - - SAVEON:SETUP {|ON|OFF} + - SAVEON:SETUP {ON|OFF|} - SAVEON:SETUP? - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` """ @@ -67,7 +67,7 @@ class SaveonWaveform(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` @@ -101,7 +101,7 @@ class SaveonTrigger(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? ``` @@ -127,7 +127,7 @@ class SaveonSetup(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:SETUP {|ON|OFF} + - SAVEON:SETUP {ON|OFF|} - SAVEON:SETUP? ``` @@ -181,7 +181,7 @@ class SaveonMeasurement(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:MEASUrement {|OFF|ON} + - SAVEON:MEASUrement {ON|OFF|} - SAVEON:MEASUrement? ``` @@ -215,7 +215,7 @@ class SaveonMask(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:MASK {|OFF|ON} + - SAVEON:MASK {ON|OFF|} - SAVEON:MASK? ``` @@ -248,7 +248,7 @@ class SaveonLimit(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:LIMit {|OFF|ON} + - SAVEON:LIMit {ON|OFF|} - SAVEON:LIMit? ``` @@ -274,7 +274,7 @@ class SaveonImage(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? ``` @@ -417,7 +417,7 @@ class SaveonFileAutoinc(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SAVEON:FILE:AUTOInc {|ON|OFF} + - SAVEON:FILE:AUTOInc {ON|OFF|} - SAVEON:FILE:AUTOInc? ``` @@ -474,7 +474,7 @@ def autoinc(self) -> SaveonFileAutoinc: SCPI Syntax: ``` - - SAVEON:FILE:AUTOInc {|ON|OFF} + - SAVEON:FILE:AUTOInc {ON|OFF|} - SAVEON:FILE:AUTOInc? ``` @@ -726,7 +726,7 @@ def image(self) -> SaveonImage: SCPI Syntax: ``` - - SAVEON:IMAGe {|OFF|ON} + - SAVEON:IMAGe {ON|OFF|} - SAVEON:IMAGe? ``` @@ -760,7 +760,7 @@ def limit(self) -> SaveonLimit: SCPI Syntax: ``` - - SAVEON:LIMit {|OFF|ON} + - SAVEON:LIMit {ON|OFF|} - SAVEON:LIMit? ``` @@ -795,7 +795,7 @@ def mask(self) -> SaveonMask: SCPI Syntax: ``` - - SAVEON:MASK {|OFF|ON} + - SAVEON:MASK {ON|OFF|} - SAVEON:MASK? ``` @@ -826,7 +826,7 @@ def measurement(self) -> SaveonMeasurement: SCPI Syntax: ``` - - SAVEON:MEASUrement {|OFF|ON} + - SAVEON:MEASUrement {ON|OFF|} - SAVEON:MEASUrement? ``` @@ -879,7 +879,7 @@ def setup(self) -> SaveonSetup: SCPI Syntax: ``` - - SAVEON:SETUP {|ON|OFF} + - SAVEON:SETUP {ON|OFF|} - SAVEON:SETUP? ``` @@ -915,7 +915,7 @@ def trigger(self) -> SaveonTrigger: SCPI Syntax: ``` - - SAVEON:TRIGger {|ON|OFF} + - SAVEON:TRIGger {ON|OFF|} - SAVEON:TRIGger? ``` @@ -945,7 +945,7 @@ def waveform(self) -> SaveonWaveform: SCPI Syntax: ``` - - SAVEON:WAVEform {|ON|OFF} + - SAVEON:WAVEform {ON|OFF|} - SAVEON:WAVEform? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/search.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/search.py index f1d1c7c5..c4b77602 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/search.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/search.py @@ -11,11 +11,11 @@ Commands and Queries: ``` - - SEARCH:MARKALLevents {|OFF|ON} + - SEARCH:MARKALLevents {ON|OFF|} - SEARCH:MARKALLevents? - SEARCH:SEARCH - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch|FROMSearch} - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTAL? - SEARCH:SEARCH:TRIGer:A:BUS:PCIE:SYNCHeader @@ -350,13 +350,13 @@ - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:CONDition? - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:DISParity {EITher|NEGAtive|POSITIVe} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:DISParity? - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR? - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity? - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset? - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC? - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:FORMat {ORDERedset|SYMbol|CHAR} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:FORMat? @@ -402,9 +402,9 @@ - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:CONDition? - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:DISParity {NEGAtive|POSITIVe|EITher} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:DISParity? - - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR {|ON|OFF} + - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR? - - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity {|ON|OFF} + - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity? - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:FORMat {CHAR|SYMbol} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:FORMat? @@ -458,9 +458,9 @@ - SEARCH:SEARCH:TRIGger:A:BUS:USB:ENDPoint:HIVALue? - SEARCH:SEARCH:TRIGger:A:BUS:USB:ENDPoint:VALue - SEARCH:SEARCH:TRIGger:A:BUS:USB:ENDPoint:VALue? - - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR? - - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity? - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:ORDERedset {|OFF|ON} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:ORDERedset? @@ -9887,7 +9887,7 @@ class SearchSearchItemTriggerABusUsbErrorDisparity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity? ``` @@ -9915,7 +9915,7 @@ class SearchSearchItemTriggerABusUsbErrorChar(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR? ``` @@ -9970,7 +9970,7 @@ def char(self) -> SearchSearchItemTriggerABusUsbErrorChar: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:CHAR? ``` @@ -10000,7 +10000,7 @@ def disparity(self) -> SearchSearchItemTriggerABusUsbErrorDisparity: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:USB:ERROR:DISParity? ``` @@ -12301,7 +12301,7 @@ class SearchSearchItemTriggerABusS8b10bErrorDisparity(SCPICmdWrite, SCPICmdRead) SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity {|ON|OFF} + - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity? ``` @@ -12329,7 +12329,7 @@ class SearchSearchItemTriggerABusS8b10bErrorChar(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR {|ON|OFF} + - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR? ``` @@ -12380,7 +12380,7 @@ def char(self) -> SearchSearchItemTriggerABusS8b10bErrorChar: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR {|ON|OFF} + - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:CHAR? ``` @@ -12410,7 +12410,7 @@ def disparity(self) -> SearchSearchItemTriggerABusS8b10bErrorDisparity: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity {|ON|OFF} + - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:S8B10B:ERROR:DISParity? ``` @@ -14163,7 +14163,7 @@ class SearchSearchItemTriggerABusPcieErrorSync(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC? ``` @@ -14193,7 +14193,7 @@ class SearchSearchItemTriggerABusPcieErrorOrderedset(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset? ``` @@ -14222,7 +14222,7 @@ class SearchSearchItemTriggerABusPcieErrorDisparity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity? ``` @@ -14251,7 +14251,7 @@ class SearchSearchItemTriggerABusPcieErrorChar(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR? ``` @@ -14309,7 +14309,7 @@ def char(self) -> SearchSearchItemTriggerABusPcieErrorChar: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:CHAR? ``` @@ -14339,7 +14339,7 @@ def disparity(self) -> SearchSearchItemTriggerABusPcieErrorDisparity: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:DISParity? ``` @@ -14369,7 +14369,7 @@ def orderedset(self) -> SearchSearchItemTriggerABusPcieErrorOrderedset: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:ORDERedset? ``` @@ -14398,7 +14398,7 @@ def sync(self) -> SearchSearchItemTriggerABusPcieErrorSync: SCPI Syntax: ``` - - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC {|OFF|ON} + - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC {ON|OFF|} - SEARCH:SEARCH:TRIGger:A:BUS:PCIE:ERROR:SYNC? ``` @@ -28595,7 +28595,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -28708,7 +28708,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -28781,7 +28781,7 @@ class SearchMarkallevents(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:MARKALLevents {|OFF|ON} + - SEARCH:MARKALLevents {ON|OFF|} - SEARCH:MARKALLevents? ``` @@ -28830,7 +28830,7 @@ def markallevents(self) -> SearchMarkallevents: SCPI Syntax: ``` - - SEARCH:MARKALLevents {|OFF|ON} + - SEARCH:MARKALLevents {ON|OFF|} - SEARCH:MARKALLevents? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/select.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/select.py index 83117058..db727401 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/select.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/select.py @@ -12,11 +12,11 @@ ``` - SELect:B {0|1|OFF|ON} - SELect:B? - - SELect:CH {|OFF|ON} + - SELect:CH {ON|OFF|} - SELect:CH? - SELect:CONTROl {CH|MATH|REF} - SELect:CONTROl? - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? - SELect:DALL - SELect:DIGTraces:COMbination @@ -247,7 +247,7 @@ class SelectDigitalBit(ValidatedDigitalBit, SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` @@ -310,7 +310,7 @@ class SelectChannel(ValidatedChannel, SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SELect:CH {|OFF|ON} + - SELect:CH {ON|OFF|} - SELect:CH? ``` @@ -518,7 +518,7 @@ def ch(self) -> Dict[int, SelectChannel]: SCPI Syntax: ``` - - SELect:CH {|OFF|ON} + - SELect:CH {ON|OFF|} - SELect:CH? ``` @@ -609,7 +609,7 @@ def d(self) -> Dict[int, SelectDigitalBit]: SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/visual.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/visual.py index bcf9f2ac..a4b547fe 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/visual.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/visual.py @@ -39,7 +39,7 @@ - VISual:AREA? - VISual:AREACOLOr {DEFAULT|INHERIT} - VISual:AREACOLOr? - - VISual:ASPECTratio {|OFF|ON} + - VISual:ASPECTratio {ON|OFF|} - VISual:ASPECTratio? - VISual:DELETEAREA <1-8> - VISual:ENAble {ON|OFF} @@ -216,7 +216,7 @@ class VisualAspectratio(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - VISual:ASPECTratio {|OFF|ON} + - VISual:ASPECTratio {ON|OFF|} - VISual:ASPECTratio? ``` @@ -1082,7 +1082,7 @@ def aspectratio(self) -> VisualAspectratio: SCPI Syntax: ``` - - VISual:ASPECTratio {|OFF|ON} + - VISual:ASPECTratio {ON|OFF|} - VISual:ASPECTratio? ``` diff --git a/src/tm_devices/commands/gen_fk3z56_dpodsamso/zoom.py b/src/tm_devices/commands/gen_fk3z56_dpodsamso/zoom.py index 651e28de..adc3a2c8 100644 --- a/src/tm_devices/commands/gen_fk3z56_dpodsamso/zoom.py +++ b/src/tm_devices/commands/gen_fk3z56_dpodsamso/zoom.py @@ -49,7 +49,7 @@ - ZOOm:VERTical:SCAle - ZOOm:VERTical:SCAle? - ZOOm:ZOOM1 {RESET|RESETLive} - - ZOOm:ZOOM1:CH:DISplay {|OFF|ON} + - ZOOm:ZOOM1:CH:DISplay {ON|OFF|} - ZOOm:ZOOM1:CH:DISplay? - ZOOm:ZOOM1:CH:HORizontal:POSition - ZOOm:ZOOM1:CH:HORizontal:POSition? @@ -59,7 +59,7 @@ - ZOOm:ZOOM1:CH:VERTical:POSition? - ZOOm:ZOOM1:CH:VERTical:SCAle - ZOOm:ZOOM1:CH:VERTical:SCAle? - - ZOOm:ZOOM1:D:DISplay {|OFF|ON} + - ZOOm:ZOOM1:D:DISplay {ON|OFF|} - ZOOm:ZOOM1:D:DISplay? - ZOOm:ZOOM1:D:HORizontal:POSition - ZOOm:ZOOM1:D:HORizontal:POSition? @@ -69,9 +69,9 @@ - ZOOm:ZOOM1:D:VERTical:POSition? - ZOOm:ZOOM1:D:VERTical:SCAle - ZOOm:ZOOM1:D:VERTical:SCAle? - - ZOOm:ZOOM1:DCHAN:DISplay {|OFF|ON} + - ZOOm:ZOOM1:DCHAN:DISplay {ON|OFF|} - ZOOm:ZOOM1:DCHAN:DISplay? - - ZOOm:ZOOM1:MATH:DISplay {|OFF|ON} + - ZOOm:ZOOM1:MATH:DISplay {ON|OFF|} - ZOOm:ZOOM1:MATH:DISplay? - ZOOm:ZOOM1:MATH:HORizontal:POSition - ZOOm:ZOOM1:MATH:HORizontal:POSition? @@ -81,7 +81,7 @@ - ZOOm:ZOOM1:MATH:VERTical:POSition? - ZOOm:ZOOM1:MATH:VERTical:SCAle - ZOOm:ZOOM1:MATH:VERTical:SCAle? - - ZOOm:ZOOM1:REF:DISplay {|OFF|ON} + - ZOOm:ZOOM1:REF:DISplay {ON|OFF|} - ZOOm:ZOOM1:REF:DISplay? - ZOOm:ZOOM1:REF:HORizontal:POSition - ZOOm:ZOOM1:REF:HORizontal:POSition? @@ -469,7 +469,7 @@ class ZoomZoom1RefItemDisplay(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ZOOm:ZOOM1:REF:DISplay {|OFF|ON} + - ZOOm:ZOOM1:REF:DISplay {ON|OFF|} - ZOOm:ZOOM1:REF:DISplay? ``` @@ -519,7 +519,7 @@ def display(self) -> ZoomZoom1RefItemDisplay: SCPI Syntax: ``` - - ZOOm:ZOOM1:REF:DISplay {|OFF|ON} + - ZOOm:ZOOM1:REF:DISplay {ON|OFF|} - ZOOm:ZOOM1:REF:DISplay? ``` @@ -865,7 +865,7 @@ class ZoomZoom1MathItemDisplay(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ZOOm:ZOOM1:MATH:DISplay {|OFF|ON} + - ZOOm:ZOOM1:MATH:DISplay {ON|OFF|} - ZOOm:ZOOM1:MATH:DISplay? ``` @@ -915,7 +915,7 @@ def display(self) -> ZoomZoom1MathItemDisplay: SCPI Syntax: ``` - - ZOOm:ZOOM1:MATH:DISplay {|OFF|ON} + - ZOOm:ZOOM1:MATH:DISplay {ON|OFF|} - ZOOm:ZOOM1:MATH:DISplay? ``` @@ -977,7 +977,7 @@ class ZoomZoom1DchanDisplay(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ZOOm:ZOOM1:DCHAN:DISplay {|OFF|ON} + - ZOOm:ZOOM1:DCHAN:DISplay {ON|OFF|} - ZOOm:ZOOM1:DCHAN:DISplay? ``` @@ -1024,7 +1024,7 @@ def display(self) -> ZoomZoom1DchanDisplay: SCPI Syntax: ``` - - ZOOm:ZOOM1:DCHAN:DISplay {|OFF|ON} + - ZOOm:ZOOM1:DCHAN:DISplay {ON|OFF|} - ZOOm:ZOOM1:DCHAN:DISplay? ``` @@ -1335,7 +1335,7 @@ class ZoomZoom1DigitalBitDisplay(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ZOOm:ZOOM1:D:DISplay {|OFF|ON} + - ZOOm:ZOOM1:D:DISplay {ON|OFF|} - ZOOm:ZOOM1:D:DISplay? ``` @@ -1385,7 +1385,7 @@ def display(self) -> ZoomZoom1DigitalBitDisplay: SCPI Syntax: ``` - - ZOOm:ZOOM1:D:DISplay {|OFF|ON} + - ZOOm:ZOOM1:D:DISplay {ON|OFF|} - ZOOm:ZOOM1:D:DISplay? ``` @@ -1727,7 +1727,7 @@ class ZoomZoom1ChannelDisplay(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ZOOm:ZOOM1:CH:DISplay {|OFF|ON} + - ZOOm:ZOOM1:CH:DISplay {ON|OFF|} - ZOOm:ZOOM1:CH:DISplay? ``` @@ -1777,7 +1777,7 @@ def display(self) -> ZoomZoom1ChannelDisplay: SCPI Syntax: ``` - - ZOOm:ZOOM1:CH:DISplay {|OFF|ON} + - ZOOm:ZOOM1:CH:DISplay {ON|OFF|} - ZOOm:ZOOM1:CH:DISplay? ``` diff --git a/src/tm_devices/commands/gen_fn2qbf_msodpo/errordetector.py b/src/tm_devices/commands/gen_fn2qbf_msodpo/errordetector.py index 0ad850a1..4139d6b0 100644 --- a/src/tm_devices/commands/gen_fn2qbf_msodpo/errordetector.py +++ b/src/tm_devices/commands/gen_fn2qbf_msodpo/errordetector.py @@ -21,7 +21,7 @@ - ERRORDetector:ALIGNPRIMitive:MINus? - ERRORDetector:ALIGNPRIMitive:PLUS? - ERRORDetector:ALIGNPRIMitive:PLUS? - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? - ERRORDetector:ALIGNPRIMitive:SYMBOL - ERRORDetector:ALIGNPRIMitive:SYMBOL? @@ -122,13 +122,13 @@ - ERRORDetector:SCRAMBLED? - ERRORDetector:SENDEMAIL {OFF|ON} - ERRORDetector:SENDEMAIL? - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? - ERRORDetector:SSC {ON|OFF} - ERRORDetector:SSC? - ERRORDetector:STANdard - ERRORDetector:STANdard? - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? - ERRORDetector:STATus? - ERRORDetector:STOPWHEN DPO70000SX @@ -1313,7 +1313,7 @@ class ErrordetectorState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? ``` @@ -1391,7 +1391,7 @@ class ErrordetectorSignaltype(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? ``` @@ -4583,7 +4583,7 @@ class ErrordetectorAlignprimitiveState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? ``` @@ -4820,7 +4820,7 @@ def state(self) -> ErrordetectorAlignprimitiveState: SCPI Syntax: ``` - - ERRORDetector:ALIGNPRIMitive:STATE {|OFF|ON} + - ERRORDetector:ALIGNPRIMitive:STATE {ON|OFF|} - ERRORDetector:ALIGNPRIMitive:STATE? ``` @@ -5654,7 +5654,7 @@ def signaltype(self) -> ErrordetectorSignaltype: SCPI Syntax: ``` - - ERRORDetector:SIGnaltype {SATAGEN|PRBS9|PCIEGEN|CUSTOM|PRBS23|PRBS11|USB3|PRBS16|ANY8B10B|PRBS7} + - ERRORDetector:SIGnaltype {SATAGEN|PRBS7|PRBS11|USB3|PCIEGEN|PRBS23|CUSTOM|ANY8B10B|PRBS16|PRBS9} - ERRORDetector:SIGnaltype? ``` @@ -5732,7 +5732,7 @@ def state(self) -> ErrordetectorState: SCPI Syntax: ``` - - ERRORDetector:STATE {OFF|ON|} + - ERRORDetector:STATE {ON|OFF|} - ERRORDetector:STATE? ``` diff --git a/src/tm_devices/commands/gen_fn2qbf_msodpo/trigger.py b/src/tm_devices/commands/gen_fn2qbf_msodpo/trigger.py index 3877e4b9..41f04733 100644 --- a/src/tm_devices/commands/gen_fn2qbf_msodpo/trigger.py +++ b/src/tm_devices/commands/gen_fn2qbf_msodpo/trigger.py @@ -941,7 +941,7 @@ - TRIGger:B:TYPe? - TRIGger:B:UPPerthreshold:CH {ECL|TTL|} - TRIGger:B:UPPerthreshold:CH? - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? - TRIGger:EQUation - TRIGger:EQUation? @@ -972,7 +972,7 @@ - TRIGger:QUALification:BUS:SOUrce? - TRIGger:QUALification:BUS:VALue - TRIGger:QUALification:BUS:VALue? - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? - TRIGger:SHOWEQuation {ON|OFF} - TRIGger:SHOWEQuation? @@ -1058,7 +1058,7 @@ class TriggerSensitivity(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` @@ -2046,7 +2046,7 @@ class TriggerEnhanced(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35382,7 +35382,7 @@ def enhanced(self) -> TriggerEnhanced: SCPI Syntax: ``` - - TRIGger:ENHanced {|OFF|ON} + - TRIGger:ENHanced {ON|OFF|} - TRIGger:ENHanced? ``` @@ -35536,7 +35536,7 @@ def sensitivity(self) -> TriggerSensitivity: SCPI Syntax: ``` - - TRIGger:SENSITivity {|OFF|ON} + - TRIGger:SENSITivity {ON|OFF|} - TRIGger:SENSITivity? ``` diff --git a/src/tm_devices/commands/gen_fpx9s1_dpodsamso/rosc.py b/src/tm_devices/commands/gen_fpx9s1_dpodsamso/rosc.py index 20ac8906..142617cf 100644 --- a/src/tm_devices/commands/gen_fpx9s1_dpodsamso/rosc.py +++ b/src/tm_devices/commands/gen_fpx9s1_dpodsamso/rosc.py @@ -12,7 +12,7 @@ ``` - ROSc:OUT:FREQuency {MHZ10|MHZ100} - ROSc:OUT:FREQuency? - - ROSc:SOUrce {ULTRAsync|INTERnal|EXTernal|TEKLink} + - ROSc:SOUrce {EXTernal|ULTRAsync|INTERnal|TEKLink} - ROSc:SOUrce? - ROSc:STATE? - ROSc:TRACking {STABle|FAST} @@ -93,7 +93,7 @@ class RoscSource(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ROSc:SOUrce {ULTRAsync|INTERnal|EXTernal|TEKLink} + - ROSc:SOUrce {EXTernal|ULTRAsync|INTERnal|TEKLink} - ROSc:SOUrce? ``` @@ -228,7 +228,7 @@ def source(self) -> RoscSource: SCPI Syntax: ``` - - ROSc:SOUrce {ULTRAsync|INTERnal|EXTernal|TEKLink} + - ROSc:SOUrce {EXTernal|ULTRAsync|INTERnal|TEKLink} - ROSc:SOUrce? ``` diff --git a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/alias.py b/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/alias.py index a1a71333..da090a2e 100644 --- a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/alias.py +++ b/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/alias.py @@ -10,14 +10,14 @@ Commands and Queries: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas:CATalog? - ALIas:DEFine <,>{|} - ALIas:DEFine? - ALIas:DELEte - ALIas:DELEte:ALL - ALIas:DELEte:NAMe - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? - ALIas? ``` @@ -46,7 +46,7 @@ class AliasState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` @@ -229,7 +229,7 @@ class Alias(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -343,7 +343,7 @@ def state(self) -> AliasState: SCPI Syntax: ``` - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` diff --git a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/status_and_error.py b/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/status_and_error.py index bad6064f..1d8a9d8c 100644 --- a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/status_and_error.py +++ b/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/status_and_error.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` """ @@ -41,7 +41,7 @@ class Psc(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` diff --git a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/header.py b/src/tm_devices/commands/gen_fx54ua_lpdmsodpomdodsa/header.py similarity index 84% rename from src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/header.py rename to src/tm_devices/commands/gen_fx54ua_lpdmsodpomdodsa/header.py index c3d7f962..90d4ebd3 100644 --- a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/header.py +++ b/src/tm_devices/commands/gen_fx54ua_lpdmsodpomdodsa/header.py @@ -1,8 +1,9 @@ """The header commands module. These commands are used in the following models: -DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, LPD6, MSO2, -MSO4, MSO4B, MSO5, MSO5B, MSO5K, MSO5KB, MSO5LP, MSO6, MSO6B, MSO70KC, MSO70KDX +DPO2K, DPO2KB, DPO4K, DPO4KB, DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, +DSA70KC, DSA70KD, LPD6, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2, MSO2K, MSO2KB, MSO4, MSO4B, MSO4K, +MSO4KB, MSO5, MSO5B, MSO5K, MSO5KB, MSO5LP, MSO6, MSO6B, MSO70KC, MSO70KDX THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. @@ -10,7 +11,7 @@ Commands and Queries: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` """ @@ -39,7 +40,7 @@ class Header(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` diff --git a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/verbose.py b/src/tm_devices/commands/gen_fx54ua_lpdmsodpomdodsa/verbose.py similarity index 79% rename from src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/verbose.py rename to src/tm_devices/commands/gen_fx54ua_lpdmsodpomdodsa/verbose.py index 852a0609..a4cbc3c1 100644 --- a/src/tm_devices/commands/gen_fuzvln_lpdmsodpodsa/verbose.py +++ b/src/tm_devices/commands/gen_fx54ua_lpdmsodpomdodsa/verbose.py @@ -1,8 +1,9 @@ """The verbose commands module. These commands are used in the following models: -DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, LPD6, MSO2, -MSO4, MSO4B, MSO5, MSO5B, MSO5K, MSO5KB, MSO5LP, MSO6, MSO6B, MSO70KC, MSO70KDX +DPO2K, DPO2KB, DPO4K, DPO4KB, DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, +DSA70KC, DSA70KD, LPD6, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2, MSO2K, MSO2KB, MSO4, MSO4B, MSO4K, +MSO4KB, MSO5, MSO5B, MSO5K, MSO5KB, MSO5LP, MSO6, MSO6B, MSO70KC, MSO70KDX THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED. @@ -10,7 +11,7 @@ Commands and Queries: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` """ @@ -34,7 +35,7 @@ class Verbose(SCPICmdWrite): SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/gen_u301s_msodpo/acquire.py b/src/tm_devices/commands/gen_u301s_msodpo/acquire.py index f16f416b..6eca3bf0 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/acquire.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/acquire.py @@ -9,7 +9,7 @@ Commands and Queries: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? - ACQuire:MAXSamplerate? - ACQuire:MODe {SAMple|AVErage} @@ -207,7 +207,7 @@ class AcquireMagnivu(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` @@ -271,7 +271,7 @@ def magnivu(self) -> AcquireMagnivu: SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/alias.py b/src/tm_devices/commands/gen_u301s_msodpo/alias.py index 1ed2f4f6..2f047d0e 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/alias.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/alias.py @@ -9,14 +9,14 @@ Commands and Queries: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas:CATalog? - ALIas:DEFine <,>{|} - ALIas:DEFine? - ALIas:DELEte - ALIas:DELEte:ALL - ALIas:DELEte:NAMe - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? - ALIas? ``` @@ -44,7 +44,7 @@ class AliasState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` @@ -225,7 +225,7 @@ class Alias(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -338,7 +338,7 @@ def state(self) -> AliasState: SCPI Syntax: ``` - - ALIas:STATE {|OFF|ON} + - ALIas:STATE {ON|OFF|} - ALIas:STATE? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/bus.py b/src/tm_devices/commands/gen_u301s_msodpo/bus.py index 32f2794b..090751fd 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/bus.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/bus.py @@ -30,7 +30,7 @@ - BUS:B:FLEXray:SIGnal? - BUS:B:FLEXray:SOUrce {CH|D} - BUS:B:FLEXray:SOUrce? - - BUS:B:I2C:ADDRess:RWINClude {|OFF|ON} + - BUS:B:I2C:ADDRess:RWINClude {ON|OFF|} - BUS:B:I2C:ADDRess:RWINClude? - BUS:B:I2C:CLOCK:SOUrce {CH|D} - BUS:B:I2C:CLOCK:SOUrce? @@ -122,7 +122,7 @@ - BUS:B:SPI:SS:POLARity? - BUS:B:SPI:SS:SOUrce {CH|D} - BUS:B:SPI:SS:SOUrce? - - BUS:B:STATE {|OFF|ON} + - BUS:B:STATE {ON|OFF|} - BUS:B:STATE? - BUS:B:TYPE {I2C|SPI|CAN|RS232C|PARallel|LIN} - BUS:LOWerthreshold:CH {|ECL|TTL} @@ -471,7 +471,7 @@ class BusBItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - BUS:B:STATE {|OFF|ON} + - BUS:B:STATE {ON|OFF|} - BUS:B:STATE? ``` @@ -3458,7 +3458,7 @@ class BusBItemI2cAddressRwinclude(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - BUS:B:I2C:ADDRess:RWINClude {|OFF|ON} + - BUS:B:I2C:ADDRess:RWINClude {ON|OFF|} - BUS:B:I2C:ADDRess:RWINClude? ``` @@ -3500,7 +3500,7 @@ def rwinclude(self) -> BusBItemI2cAddressRwinclude: SCPI Syntax: ``` - - BUS:B:I2C:ADDRess:RWINClude {|OFF|ON} + - BUS:B:I2C:ADDRess:RWINClude {ON|OFF|} - BUS:B:I2C:ADDRess:RWINClude? ``` @@ -4459,7 +4459,7 @@ def state(self) -> BusBItemState: SCPI Syntax: ``` - - BUS:B:STATE {|OFF|ON} + - BUS:B:STATE {ON|OFF|} - BUS:B:STATE? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/horizontal.py b/src/tm_devices/commands/gen_u301s_msodpo/horizontal.py index 57951cf0..0b379cbc 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/horizontal.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/horizontal.py @@ -10,7 +10,7 @@ Commands and Queries: ``` - HORizontal:ACQLENGTH? - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? - HORizontal:DELay:POSition - HORizontal:DELay:POSition? @@ -760,7 +760,7 @@ class HorizontalDelayMode(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` @@ -809,7 +809,7 @@ def mode(self) -> HorizontalDelayMode: SCPI Syntax: ``` - - HORizontal:DELay:MODe {OFF|ON|} + - HORizontal:DELay:MODe {ON|OFF|} - HORizontal:DELay:MODe? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/math1.py b/src/tm_devices/commands/gen_u301s_msodpo/math1.py index d15806ea..1d40bbee 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/math1.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/math1.py @@ -18,7 +18,7 @@ - MATH1:HORizontal:UNIts? - MATH1:LABel - MATH1:LABel? - - MATH1:SPECTral:GATing:INDICators {|OFF|ON} + - MATH1:SPECTral:GATing:INDICators {ON|OFF|} - MATH1:SPECTral:GATing:INDICators:END? - MATH1:SPECTral:GATing:INDICators:STARt? - MATH1:SPECTral:GATing:INDICators? @@ -368,7 +368,7 @@ class Math1SpectralGatingIndicators(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MATH1:SPECTral:GATing:INDICators {|OFF|ON} + - MATH1:SPECTral:GATing:INDICators {ON|OFF|} - MATH1:SPECTral:GATing:INDICators? ``` @@ -467,7 +467,7 @@ def indicators(self) -> Math1SpectralGatingIndicators: SCPI Syntax: ``` - - MATH1:SPECTral:GATing:INDICators {|OFF|ON} + - MATH1:SPECTral:GATing:INDICators {ON|OFF|} - MATH1:SPECTral:GATing:INDICators? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/measurement.py b/src/tm_devices/commands/gen_u301s_msodpo/measurement.py index 5ac306cc..2afd81dc 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/measurement.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/measurement.py @@ -49,7 +49,7 @@ - MEASUrement:MEAS:SOURCE[1]? - MEASUrement:MEAS:SOUrce1 {CH|MATH|} - MEASUrement:MEAS:SOUrce1? - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? - MEASUrement:MEAS:STDdev? - MEASUrement:MEAS:TYPe {AMPlitude|AREa|BURst|CARea|CMEan|CRMs|DELay|FALL|FREQuency|HIGH|LOW|MAXimum|MEAN|MINImum|NDUty|NEDGECount|NOVershoot|NPULSECount|NWIdth|PDUty|PEDGECount|PERIod|PHAse|PK2Pk|POVershoot|PPULSECount|PWIdth|RISe|RMS} @@ -1227,7 +1227,7 @@ class MeasurementMeasItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` @@ -1821,7 +1821,7 @@ def state(self) -> MeasurementMeasItemState: SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/search.py b/src/tm_devices/commands/gen_u301s_msodpo/search.py index ece74d7a..c75d7884 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/search.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/search.py @@ -11,7 +11,7 @@ Commands and Queries: ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTAL? - SEARCH:SEARCH:TRIGger:A:BUS:B:CAN:ADDRess:MODe {STandard|EXTended} @@ -9578,7 +9578,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -9672,7 +9672,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_u301s_msodpo/select.py b/src/tm_devices/commands/gen_u301s_msodpo/select.py index 9ec2318c..8a6355d7 100644 --- a/src/tm_devices/commands/gen_u301s_msodpo/select.py +++ b/src/tm_devices/commands/gen_u301s_msodpo/select.py @@ -10,13 +10,13 @@ Commands and Queries: ``` - SELect {ON|OFF} - - SELect:BUS {|OFF|ON} + - SELect:BUS {ON|OFF|} - SELect:BUS? - SELect:CH {ON|OFF|} - SELect:CH? - SELect:CONTROl {CH|MATH|BUS} - SELect:CONTROl? - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? - SELect:MATH1 {ON|OFF|} - SELect:MATH1? @@ -113,7 +113,7 @@ class SelectDigitalBit(ValidatedDigitalBit, SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` @@ -161,9 +161,8 @@ class SelectChannel(ValidatedChannel, SCPICmdWrite, SCPICmdRead): """The ``SELect:CH`` command. Description: - - Turns the display of the channel waveform on or off, where 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 selected waveform. + - This command sets or queries the displayed state of the specified channel waveform. The x + can be channel 1 through 4. Usage: - Using the ``.query()`` method will send the ``SELect:CH?`` query. @@ -178,11 +177,10 @@ class SelectChannel(ValidatedChannel, SCPICmdWrite, SCPICmdRead): ``` Info: - - ``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. - - ```` = 0 turns off the display of the specified waveform; any other value turns on - the display of the specified waveform. + - `` = 0`` turns off the display of the specified channel waveform; any other value + turns on the display of the specified waveform. + - ``OFF`` turns off the display of the indicated channel waveform. + - ``ON`` displays the indicated channel waveform. """ @@ -202,7 +200,7 @@ class SelectBusItem(ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SELect:BUS {|OFF|ON} + - SELect:BUS {ON|OFF|} - SELect:BUS? ``` """ @@ -269,7 +267,7 @@ def bus(self) -> Dict[int, SelectBusItem]: SCPI Syntax: ``` - - SELect:BUS {|OFF|ON} + - SELect:BUS {ON|OFF|} - SELect:BUS? ``` """ @@ -280,9 +278,8 @@ def ch(self) -> Dict[int, SelectChannel]: """Return the ``SELect:CH`` command. Description: - - Turns the display of the channel waveform on or off, where 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 selected waveform. + - This command sets or queries the displayed state of the specified channel waveform. + The x can be channel 1 through 4. Usage: - Using the ``.query()`` method will send the ``SELect:CH?`` query. @@ -297,11 +294,10 @@ def ch(self) -> Dict[int, SelectChannel]: ``` Info: - - ``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. - - ```` = 0 turns off the display of the specified waveform; any other value turns - on the display of the specified waveform. + - `` = 0`` turns off the display of the specified channel waveform; any other value + turns on the display of the specified waveform. + - ``OFF`` turns off the display of the indicated channel waveform. + - ``ON`` displays the indicated channel waveform. """ return self._ch @@ -354,7 +350,7 @@ def d(self) -> Dict[int, SelectDigitalBit]: SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` diff --git a/src/tm_devices/commands/gen_ujuvb_mdo/acquire.py b/src/tm_devices/commands/gen_ujuvb_mdo/acquire.py index 618b9ca2..37fb9dae 100644 --- a/src/tm_devices/commands/gen_ujuvb_mdo/acquire.py +++ b/src/tm_devices/commands/gen_ujuvb_mdo/acquire.py @@ -14,7 +14,7 @@ - ACQuire:FASTAcq:PALEtte? - ACQuire:FASTAcq:STATE {0|1|OFF|ON} - ACQuire:FASTAcq:STATE? - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? - ACQuire:MAXSamplerate? - ACQuire:MODe {SAMple|PEAKdetect|HIRes|AVErage|ENVelope} @@ -359,7 +359,7 @@ class AcquireMagnivu(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` @@ -595,7 +595,7 @@ def magnivu(self) -> AcquireMagnivu: SCPI Syntax: ``` - - ACQuire:MAGnivu {|OFF|ON} + - ACQuire:MAGnivu {ON|OFF|} - ACQuire:MAGnivu? ``` diff --git a/src/tm_devices/commands/gen_ujuvb_mdo/measurement.py b/src/tm_devices/commands/gen_ujuvb_mdo/measurement.py index 7180c639..5b44c1f4 100644 --- a/src/tm_devices/commands/gen_ujuvb_mdo/measurement.py +++ b/src/tm_devices/commands/gen_ujuvb_mdo/measurement.py @@ -43,7 +43,7 @@ - MEASUrement:MEAS:MINImum? - MEASUrement:MEAS:SOUrce1 {CH|MATH|R|D} - MEASUrement:MEAS:SOUrce1? - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? - MEASUrement:MEAS:STDdev? - MEASUrement:MEAS:TYPe {AMPlitude|AREa|BURst|CARea|CMEan|CRMs|DELay|FALL|FREQuency|HIGH|HITS|LOW|MAXimum|MEAN|MEDian|MINImum|NDUty|NEDGECount|NOVershoot|NPULSECount|NWIdth|PEAKHits|PDUty|PEDGECount|PERIod|PHAse|PK2Pk|POVershoot|PPULSECount|PWIdth|RISe|RMS|SIGMA|STDdev|TOVershoot|WAVEFORMS} @@ -2277,7 +2277,7 @@ class MeasurementMeasItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` @@ -2769,7 +2769,7 @@ def state(self) -> MeasurementMeasItemState: SCPI Syntax: ``` - - MEASUrement:MEAS:STATE {OFF|ON|} + - MEASUrement:MEAS:STATE {ON|OFF|} - MEASUrement:MEAS:STATE? ``` diff --git a/src/tm_devices/commands/gen_ujuvb_mdo/message.py b/src/tm_devices/commands/gen_ujuvb_mdo/message.py index 37c54b2e..240a78f0 100644 --- a/src/tm_devices/commands/gen_ujuvb_mdo/message.py +++ b/src/tm_devices/commands/gen_ujuvb_mdo/message.py @@ -18,11 +18,11 @@ - MESSage:MESSAGE1:CLEAR - MESSage:MESSAGE1:SHOW - MESSage:MESSAGE1:SHOW? - - MESSage:MESSAGE1:STATE {|OFF|ON} + - MESSage:MESSAGE1:STATE {ON|OFF|} - MESSage:MESSAGE1:STATE? - MESSage:SHOW - MESSage:SHOW? - - MESSage:STATE {OFF|ON|} + - MESSage:STATE {ON|OFF|} - MESSage:STATE? - MESSage? ``` @@ -56,7 +56,7 @@ class MessageState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MESSage:STATE {OFF|ON|} + - MESSage:STATE {ON|OFF|} - MESSage:STATE? ``` @@ -110,7 +110,7 @@ class MessageMessage1ItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - MESSage:MESSAGE1:STATE {|OFF|ON} + - MESSage:MESSAGE1:STATE {ON|OFF|} - MESSage:MESSAGE1:STATE? ``` @@ -334,7 +334,7 @@ def state(self) -> MessageMessage1ItemState: SCPI Syntax: ``` - - MESSage:MESSAGE1:STATE {|OFF|ON} + - MESSage:MESSAGE1:STATE {ON|OFF|} - MESSage:MESSAGE1:STATE? ``` @@ -550,7 +550,7 @@ def state(self) -> MessageState: SCPI Syntax: ``` - - MESSage:STATE {OFF|ON|} + - MESSage:STATE {ON|OFF|} - MESSage:STATE? ``` diff --git a/src/tm_devices/commands/gen_ujuvb_mdo/rrb.py b/src/tm_devices/commands/gen_ujuvb_mdo/rrb.py index 3894f27a..519983ed 100644 --- a/src/tm_devices/commands/gen_ujuvb_mdo/rrb.py +++ b/src/tm_devices/commands/gen_ujuvb_mdo/rrb.py @@ -9,7 +9,7 @@ Commands and Queries: ``` - - RRB:STATE {|OFF|ON} + - RRB:STATE {ON|OFF|} - RRB:STATE? ``` """ @@ -37,7 +37,7 @@ class RrbState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - RRB:STATE {|OFF|ON} + - RRB:STATE {ON|OFF|} - RRB:STATE? ``` @@ -79,7 +79,7 @@ def state(self) -> RrbState: SCPI Syntax: ``` - - RRB:STATE {|OFF|ON} + - RRB:STATE {ON|OFF|} - RRB:STATE? ``` diff --git a/src/tm_devices/commands/gen_ujuvb_mdo/search.py b/src/tm_devices/commands/gen_ujuvb_mdo/search.py index 227d2de9..ddd95a86 100644 --- a/src/tm_devices/commands/gen_ujuvb_mdo/search.py +++ b/src/tm_devices/commands/gen_ujuvb_mdo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIGger:A:BUS:B:ARINC429A:CONDition {STARt|END|LABel|DATA|LABELANDDATA|ERRor} @@ -15484,7 +15484,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -15627,7 +15627,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/gen_ujuvb_mdo/select.py b/src/tm_devices/commands/gen_ujuvb_mdo/select.py index c8f92e3e..b133be9c 100644 --- a/src/tm_devices/commands/gen_ujuvb_mdo/select.py +++ b/src/tm_devices/commands/gen_ujuvb_mdo/select.py @@ -18,7 +18,7 @@ - SELect:CH? - SELect:CONTROl {CH|MATH|REF|BUS|D|RF_AMPlitude|RF_FREQuency|RF_PHASe|RF_NORMal|RF_AVErage|RF_MAXHold|RF_MINHold} - SELect:CONTROl? - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? - SELect:DAll {ON|OFF|0|1} - SELect:MATH {ON|OFF|} @@ -271,7 +271,7 @@ class SelectDigitalBit(ValidatedDigitalBit, SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` @@ -550,7 +550,7 @@ def d(self) -> Dict[int, SelectDigitalBit]: SCPI Syntax: ``` - - SELect:D {|OFF|ON} + - SELect:D {ON|OFF|} - SELect:D? ``` diff --git a/src/tm_devices/commands/gen_usaa3_mdo/search.py b/src/tm_devices/commands/gen_usaa3_mdo/search.py index 93237b20..5ae85802 100644 --- a/src/tm_devices/commands/gen_usaa3_mdo/search.py +++ b/src/tm_devices/commands/gen_usaa3_mdo/search.py @@ -12,7 +12,7 @@ ``` - SEARCH:SEARCH:COPy {SEARCHtotrigger|TRIGgertosearch} - SEARCH:SEARCH:LIST? - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? - SEARCH:SEARCH:TOTal? - SEARCH:SEARCH:TRIG:A:BUS:B:MIL1553B:COMMAND:ADDR:QUAL {LESSthan|MOREthan|EQual|UNEQual|LESSEQual|MOREEQual|INrange|OUTrange} @@ -16057,7 +16057,7 @@ class SearchSearchItemState(SCPICmdWrite, SCPICmdRead): SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` @@ -16202,7 +16202,7 @@ def state(self) -> SearchSearchItemState: SCPI Syntax: ``` - - SEARCH:SEARCH:STATE {|OFF|ON} + - SEARCH:SEARCH:STATE {ON|OFF|} - SEARCH:SEARCH:STATE? ``` diff --git a/src/tm_devices/commands/lpd6_commands.py b/src/tm_devices/commands/lpd6_commands.py index 9feb7dc6..c9a6b3d2 100644 --- a/src/tm_devices/commands/lpd6_commands.py +++ b/src/tm_devices/commands/lpd6_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mdo3_commands.py b/src/tm_devices/commands/mdo3_commands.py index 484a9af1..76c87eb2 100644 --- a/src/tm_devices/commands/mdo3_commands.py +++ b/src/tm_devices/commands/mdo3_commands.py @@ -49,12 +49,10 @@ from .gen_1lwj1r_msomdodpo.rosc import Rosc from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e4de2d_lpdmsomdo.clear import Clear from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause @@ -74,6 +72,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -82,6 +81,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_ujuvb_mdo.acquire import Acquire from .gen_ujuvb_mdo.configuration import Configuration @@ -1861,8 +1861,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1872,18 +1874,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3063,24 +3065,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mdo3k_commands.py b/src/tm_devices/commands/mdo3k_commands.py index 00a3ad0e..c3836b58 100644 --- a/src/tm_devices/commands/mdo3k_commands.py +++ b/src/tm_devices/commands/mdo3k_commands.py @@ -60,12 +60,10 @@ from .gen_1mlt9u_mdomsodpo.select import Select from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause from .gen_fhrp27_msodpomdodsa.curve import Curve @@ -84,6 +82,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -92,6 +91,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1844,8 +1844,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1855,18 +1857,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3073,24 +3075,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mdo4k_commands.py b/src/tm_devices/commands/mdo4k_commands.py index 84bc63c3..0d2dafdf 100644 --- a/src/tm_devices/commands/mdo4k_commands.py +++ b/src/tm_devices/commands/mdo4k_commands.py @@ -62,12 +62,10 @@ from .gen_1mlt9u_mdomsodpo.select import Select from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_163n04_mdo.search import Search from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1851,8 +1851,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1862,18 +1864,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3082,24 +3084,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mdo4kb_commands.py b/src/tm_devices/commands/mdo4kb_commands.py index 14837446..bef0da4f 100644 --- a/src/tm_devices/commands/mdo4kb_commands.py +++ b/src/tm_devices/commands/mdo4kb_commands.py @@ -62,12 +62,10 @@ from .gen_1mlt9u_mdomsodpo.select import Select from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_16x4xq_mdo.search import Search from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1844,8 +1844,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1855,18 +1857,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3075,24 +3077,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mdo4kc_commands.py b/src/tm_devices/commands/mdo4kc_commands.py index daeddca9..7cc15e33 100644 --- a/src/tm_devices/commands/mdo4kc_commands.py +++ b/src/tm_devices/commands/mdo4kc_commands.py @@ -63,12 +63,10 @@ from .gen_1mlt9u_mdomsodpo.select import Select from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause from .gen_fhrp27_msodpomdodsa.curve import Curve @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1852,8 +1852,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1863,18 +1865,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3083,24 +3085,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mso2_commands.py b/src/tm_devices/commands/mso2_commands.py index f580cec7..743b80b7 100644 --- a/src/tm_devices/commands/mso2_commands.py +++ b/src/tm_devices/commands/mso2_commands.py @@ -71,9 +71,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -81,6 +79,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -89,6 +88,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -745,7 +745,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -1640,7 +1640,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2122,7 +2122,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -2673,7 +2673,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso2k_commands.py b/src/tm_devices/commands/mso2k_commands.py index 960ff365..7c1200f1 100644 --- a/src/tm_devices/commands/mso2k_commands.py +++ b/src/tm_devices/commands/mso2k_commands.py @@ -14,12 +14,10 @@ from .gen_1lcv3a_msodpomdo.setup_1 import SetupItem from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_fhrp27_msodpomdodsa.curve import Curve from .gen_fhrp27_msodpomdodsa.date import Date @@ -37,6 +35,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -45,6 +44,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -664,7 +664,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -1484,8 +1484,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1495,18 +1497,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -2474,24 +2476,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mso2kb_commands.py b/src/tm_devices/commands/mso2kb_commands.py index 83c9bd4f..dc4c05bd 100644 --- a/src/tm_devices/commands/mso2kb_commands.py +++ b/src/tm_devices/commands/mso2kb_commands.py @@ -14,12 +14,10 @@ from .gen_1lcv3a_msodpomdo.setup_1 import SetupItem from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_fhrp27_msodpomdodsa.curve import Curve from .gen_fhrp27_msodpomdodsa.date import Date @@ -37,6 +35,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -45,6 +44,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -664,7 +664,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -1484,8 +1484,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1495,18 +1497,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -2474,24 +2476,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mso4_commands.py b/src/tm_devices/commands/mso4_commands.py index a41dcc81..28d70058 100644 --- a/src/tm_devices/commands/mso4_commands.py +++ b/src/tm_devices/commands/mso4_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso4b_commands.py b/src/tm_devices/commands/mso4b_commands.py index ecf19878..9a082595 100644 --- a/src/tm_devices/commands/mso4b_commands.py +++ b/src/tm_devices/commands/mso4b_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso4k_commands.py b/src/tm_devices/commands/mso4k_commands.py index 34e39717..dc34be04 100644 --- a/src/tm_devices/commands/mso4k_commands.py +++ b/src/tm_devices/commands/mso4k_commands.py @@ -63,12 +63,10 @@ from .gen_1mq0z9_msodpo.rf import Rf from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause from .gen_fhrp27_msodpomdodsa.curve import Curve @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1851,8 +1851,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1862,18 +1864,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3080,24 +3082,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mso4kb_commands.py b/src/tm_devices/commands/mso4kb_commands.py index 4c9e3582..39911192 100644 --- a/src/tm_devices/commands/mso4kb_commands.py +++ b/src/tm_devices/commands/mso4kb_commands.py @@ -63,12 +63,10 @@ from .gen_1mq0z9_msodpo.rf import Rf from .gen_1nmc1o_msodpomdo.clearmenu import Clearmenu from .gen_1nmc1o_msodpomdo.errlog import Errlog -from .gen_1nmc1o_msodpomdo.header import Header from .gen_1nmc1o_msodpomdo.language import Language from .gen_1nmc1o_msodpomdo.status_and_error import Psc from .gen_1nmc1o_msodpomdo.usbdevice import Usbdevice from .gen_1nmc1o_msodpomdo.usbtmc import Usbtmc -from .gen_1nmc1o_msodpomdo.verbose import Verbose from .gen_e6lgg1_lpdmsodpomdo.totaluptime import Totaluptime from .gen_e6606z_lpdmsomdodpo.pause import Pause from .gen_fhrp27_msodpomdodsa.curve import Curve @@ -87,6 +85,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -95,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1852,8 +1852,10 @@ def header(self) -> Header: """Return the ``HEADer`` command. Description: - - This command specifies the Response Header Enable State that causes the oscilloscope - to either include or omit headers on query responses. + - This command sets or queries the Response Header Enable State that causes the + instrument to either include or omit headers on query responses. Whether the long or + short form of header keywords and enumerations are returned is dependent upon the + state of ``:VERBose``. Usage: - Using the ``.query()`` method will send the ``HEADer?`` query. @@ -1863,18 +1865,18 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {OFF|ON|} + - HEADer {ON|OFF|} - HEADer? ``` Info: - - ``OFF`` sets the Response Header Enable State to false. This causes the oscilloscope - to omit headers on query responses, so that only the argument is returned. - - ``ON`` sets the Response Header Enable State to true. This causes the oscilloscope to - include headers on applicable query responses. You can then use the query response as - a command. - ```` = 0 sets the Response Header Enable State to false; any other value sets this state to true. + - ``OFF`` sets the Response Header Enable State to false. This causes the instrument to + omit headers on query responses, so that only the argument is returned. + - ``ON`` sets the Response Header Enable State to true. This causes the instrument to + include headers on applicable query responses. You can then use the query response as + a command. """ return self._header @@ -3081,24 +3083,23 @@ def verbose(self) -> Verbose: """Return the ``VERBose`` command. Description: - - This command specifies the Verbose state that controls the length of keywords on query - responses. Keywords can be both headers and arguments. + - This command sets or queries the Verbose state that controls the length of keywords on + query responses. Keywords can be both headers and arguments. Usage: - Using the ``.write(value)`` method will send the ``VERBose value`` command. SCPI Syntax: ``` - - VERBose {OFF|ON|} + - VERBose {ON|OFF|} ``` Info: + - ```` = 0 disables Verbose, any other value enables Verbose. - ``OFF`` sets the Verbose state to false, which returns minimum-length keywords for applicable setting queries. - ``ON`` sets the Verbose state to true, which returns full-length keywords for applicable setting queries. - - ```` a 0 returns minimum-length keywords for applicable setting queries; any - other value returns full-length keywords. """ return self._verbose diff --git a/src/tm_devices/commands/mso5_commands.py b/src/tm_devices/commands/mso5_commands.py index 1ef3183e..24dad760 100644 --- a/src/tm_devices/commands/mso5_commands.py +++ b/src/tm_devices/commands/mso5_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso5b_commands.py b/src/tm_devices/commands/mso5b_commands.py index 8b027c04..aea78549 100644 --- a/src/tm_devices/commands/mso5b_commands.py +++ b/src/tm_devices/commands/mso5b_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso5k_commands.py b/src/tm_devices/commands/mso5k_commands.py index a45cfe66..47ba3e41 100644 --- a/src/tm_devices/commands/mso5k_commands.py +++ b/src/tm_devices/commands/mso5k_commands.py @@ -85,9 +85,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -95,6 +93,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -103,6 +102,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1052,7 +1052,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2203,7 +2203,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2236,7 +2236,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2763,7 +2763,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2865,7 +2865,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3527,7 +3527,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso5kb_commands.py b/src/tm_devices/commands/mso5kb_commands.py index 07dd7eaa..42837fcb 100644 --- a/src/tm_devices/commands/mso5kb_commands.py +++ b/src/tm_devices/commands/mso5kb_commands.py @@ -87,9 +87,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -97,6 +95,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -105,6 +104,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1064,7 +1064,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2295,7 +2295,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2328,7 +2328,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2855,7 +2855,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2957,7 +2957,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3619,7 +3619,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso5lp_commands.py b/src/tm_devices/commands/mso5lp_commands.py index 22961e48..cacd1a41 100644 --- a/src/tm_devices/commands/mso5lp_commands.py +++ b/src/tm_devices/commands/mso5lp_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso6_commands.py b/src/tm_devices/commands/mso6_commands.py index 264886e9..4a8327fd 100644 --- a/src/tm_devices/commands/mso6_commands.py +++ b/src/tm_devices/commands/mso6_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso6b_commands.py b/src/tm_devices/commands/mso6b_commands.py index 7bdd1eaf..396f8a1e 100644 --- a/src/tm_devices/commands/mso6b_commands.py +++ b/src/tm_devices/commands/mso6b_commands.py @@ -79,9 +79,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -89,6 +87,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -97,6 +96,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1562,7 +1562,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2506,7 +2506,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -3038,7 +3038,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3663,7 +3663,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso70kc_commands.py b/src/tm_devices/commands/mso70kc_commands.py index 26b86ef5..ac602e63 100644 --- a/src/tm_devices/commands/mso70kc_commands.py +++ b/src/tm_devices/commands/mso70kc_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1056,7 +1056,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2273,7 +2273,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2306,7 +2306,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2833,7 +2833,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2935,7 +2935,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3597,7 +3597,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: diff --git a/src/tm_devices/commands/mso70kdx_commands.py b/src/tm_devices/commands/mso70kdx_commands.py index 0dd79858..6a7b7b4b 100644 --- a/src/tm_devices/commands/mso70kdx_commands.py +++ b/src/tm_devices/commands/mso70kdx_commands.py @@ -86,9 +86,7 @@ from .gen_fteabn_lpdmsomdodpoafgawgdsa.status_and_error import Opt from .gen_fug7nl_lpdmsodpomdoawgdsa.status_and_error import Ese, Sre from .gen_fuzvln_lpdmsodpodsa.alias import Alias -from .gen_fuzvln_lpdmsodpodsa.header import Header from .gen_fuzvln_lpdmsodpodsa.status_and_error import Psc -from .gen_fuzvln_lpdmsodpodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.allev import Allev from .gen_fx54ua_lpdmsodpomdodsa.busy import Busy from .gen_fx54ua_lpdmsodpomdodsa.dese import Dese @@ -96,6 +94,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.evmsg import Evmsg from .gen_fx54ua_lpdmsodpomdodsa.evqty import Evqty from .gen_fx54ua_lpdmsodpomdodsa.factory import Factory +from .gen_fx54ua_lpdmsodpomdodsa.header import Header from .gen_fx54ua_lpdmsodpomdodsa.id import Id from .gen_fx54ua_lpdmsodpomdodsa.miscellaneous import Ddt, Lrn from .gen_fx54ua_lpdmsodpomdodsa.newpass import Newpass @@ -104,6 +103,7 @@ from .gen_fx54ua_lpdmsodpomdodsa.set import Set from .gen_fx54ua_lpdmsodpomdodsa.status_and_error import Pud from .gen_fx54ua_lpdmsodpomdodsa.teksecure import Teksecure +from .gen_fx54ua_lpdmsodpomdodsa.verbose import Verbose from .gen_fx54ua_lpdmsodpomdodsa.wavfrm import Wavfrm from .gen_fzn174_lpdmsodpomdodsa.lock import Lock from .gen_fzn174_lpdmsodpomdodsa.unlock import Unlock @@ -1058,7 +1058,7 @@ def alias(self) -> Alias: SCPI Syntax: ``` - - ALIas {OFF|ON|} + - ALIas {ON|OFF|} - ALIas? ``` @@ -2275,7 +2275,7 @@ def hdr(self) -> Hdr: SCPI Syntax: ``` - - HDR {|OFF|ON} + - HDR {ON|OFF|} - HDR? ``` @@ -2308,7 +2308,7 @@ def header(self) -> Header: SCPI Syntax: ``` - - HEADer {|OFF|ON} + - HEADer {ON|OFF|} - HEADer? ``` @@ -2835,7 +2835,7 @@ def opcextended(self) -> Opcextended: SCPI Syntax: ``` - - OPCEXtended {|OFF|ON} + - OPCEXtended {ON|OFF|} - OPCEXtended? ``` @@ -2937,7 +2937,7 @@ def psc(self) -> Psc: SCPI Syntax: ``` - - *PSC {|OFF|ON} + - *PSC {ON|OFF|} - *PSC? ``` @@ -3599,7 +3599,7 @@ def verbose(self) -> Verbose: SCPI Syntax: ``` - - VERBose {|OFF|ON} + - VERBose {ON|OFF|} ``` Info: