In TestFlow's instrument library, the Keysight DSOX3024A takes 175 SCPI commands, 68 of them queries, and the Tektronix MDO32 takes 66 SCPI commands, 18 of them queries. That is 109 more on the DSOX3024A. Counting distinct command headers (the command path without its arguments), 0 are accepted by both, 156 exist only on the DSOX3024A, and 53 only on the MDO32. None of the DSOX3024A's command headers appears in the MDO32 library, so a script written for one needs every command rewritten for the other.
Both libraries have commands under TRIGger and ACQuire. Only the DSOX3024A has MEASure, CHANnel, WAVeform, WGEN, TIMebase, and FUNCtion and 11 more. Only the MDO32 has RF, CURSor, MEASUrement, SELect, HORIZONTAL, and Hardcopy and 2 more.
Only the DSOX3024A library has an operation-complete command (*OPC?); the MDO32 library has none. Only the DSOX3024A library has an error-queue read (SYSTem:ERRor?); the MDO32 library has none.
TestFlow's library gives the DSOX3032A, DSOX3034A, DSOX3052A, DSOX3054A, DSOX3102A, and DSOX3104A the same command set as the DSOX3024A, so the DSOX3024A column applies to them too.
Describe the test; TestFlow's agent uses these command sets to drive your Keysight DSOX3024A or Tektronix MDO32 and writes the report from the measured results.
Counts come from TestFlow's instrument library, the command sets its AI agent uses to drive each instrument. A distinct command header is the command path without its arguments, so :OUTPut ON and :OUTPut OFF count once.
| Keysight DSOX3024A | Tektronix MDO32 | |
|---|---|---|
| Commands in TestFlow's library | 175 | 66 |
| Queries (read a value or state) | 68 | 18 |
| Settings and actions | 107 | 48 |
| Subsystems | 22 | 14 |
| Distinct command headers | 156 | 53 |
| Headers the other lacks | 156 | 53 |
| Command language | SCPI | SCPI |
| Operation complete | *OPC? | Not in library |
| Error queue | SYSTem:ERRor? | Not in library |
| Models on this command set | DSOX3024A, DSOX3032A, DSOX3034A, DSOX3052A, DSOX3054A, DSOX3102A, DSOX3104A | MDO32 |
None. No command header in TestFlow's DSOX3024A library matches one in its MDO32 library, so every command needs its own version for each instrument.
156 command headers in the DSOX3024A library have no match in the MDO32 library. Below are 24 of them from the 6 largest subsystems; the full list is in the Keysight DSOX3024A command reference.
| Command | What it does |
|---|---|
| :MEASure:SOURce <Source> | Measure Source. Selects the source used by subsequent measurement commands. |
| :MEASure:SOURce? | Get Measure Source. Queries the source currently selected for measurements. |
| :MEASure:WINDow <Window> | Measure Window. Selects whether measurements are made in the main window, the zoomed window or gated by markers. |
| :MEASure:VPP? <Source> | Measure Vpp. Measures the peak-to-peak voltage of the selected source. |
| Command | What it does |
|---|---|
| :CHANnel<Channel>:DISPlay ON | Channel On. Turns on the display of the specified analog channel. |
| :CHANnel<Channel>:DISPlay? | Get Channel State. Queries whether the specified analog channel is displayed (1) or not (0). |
| :CHANnel<Channel>:COUPling <Coupling> | Channel Coupling. Selects the input coupling of the specified analog channel. |
| :CHANnel<Channel>:COUPling? | Get Channel Coupling. Queries the input coupling of the specified analog channel. |
| Command | What it does |
|---|---|
| :TRIGger:FORCe | Force Trigger. Forces an immediate trigger event regardless of whether the trigger condition is met. |
| :TRIGger:MODE <Mode> | Trigger Mode. Selects the trigger type used by the oscilloscope. |
| :TRIGger:MODE? | Get Trigger Mode. Queries the currently selected trigger type. |
| :TRIGger:SWEep <Sweep> | Trigger Sweep. Selects auto or triggered (normal) sweep mode. |
| Command | What it does |
|---|---|
| :WAVeform:SOURce <Source> | Waveform Source. Selects the source of the waveform data read back over the bus. |
| :WAVeform:FORMat <Format> | Waveform Format. Sets the data transmission format of the waveform data. |
| :WAVeform:POINts <Points> | Waveform Points. Sets the number of waveform points transferred from the oscilloscope. |
| :WAVeform:POINts:MODE <Mode> | Waveform Points Mode. Selects whether measurement-record, maximum or raw acquisition-record points are transferred. |
| Command | What it does |
|---|---|
| *IDN? | Identify. Returns the instrument identification string (manufacturer, model, serial number, firmware version). |
| *RST | Reset. Restores the oscilloscope to its factory default state. |
| *CLS | Clear Status. Clears all event registers and the error queue. |
| *TST? | Self Test. Runs the internal self-test and returns 0 for pass or a non-zero code for failure. |
| Command | What it does |
|---|---|
| :WGEN:FUNCtion <Function> | Wgen Function. Selects the waveform shape produced by the built-in waveform generator. |
| :WGEN:FREQuency <Frequency> | Wgen Frequency. Sets the waveform generator output frequency in hertz. |
| :WGEN:VOLTage <Amplitude> | Wgen Amplitude. Sets the waveform generator output amplitude in volts peak-to-peak. |
| :WGEN:VOLTage:OFFSet <Offset> | Wgen Offset. Sets the waveform generator DC offset voltage. |
53 command headers in the MDO32 library have no match in the DSOX3024A library. Below are 20 of them from the 6 largest subsystems; the full list is in the Tektronix MDO32 command reference.
| Command | What it does |
|---|---|
| RF:CLIPPing? | RF:CLIPPing. Queries whether the RF input/measurement is clipping/overloading (signal level too high for valid measurement). |
| RF:DETECTionmethod:MODe <AUTO,MANual> | RF detect mode. Sets RF detector selection to automatic or manual (who chooses detector behavior: scope or user). |
| RF:DETECTionmethod:RF_<> <> | RF Timeout. Selects RF detection/trace behavior (e.g., normal/average/max hold/min hold) and detector type (sample/average/peak). |
| RF:FREQuency <Frequency_center> | RF freq center. Sets the RF analysis center frequency. |
| Command | What it does |
|---|---|
| CURSor:SOUrce <Channel> | Cursor channel. Assigns cursor measurements to operate on a specific channel waveform. |
| CURSor:MODe <Mode> | Cursor mode. Sets whether cursors move independently or as a coupled pair (dependent tracking). |
| CURSor:FUNCtion WAVEFORM | Cursers ON. Enables waveform cursors mode so delta time/voltage can be read using cursor functions. |
| CURSor:DDT? | Cursers dV/dT. Returns the computed slope (ΔV/ΔT) based on current cursor positions. |
| Command | What it does |
|---|---|
| MEASUrement:IMMed:SOUrce <Channel> ; ... | Measurement. Configures the immediate measurement (source + type) and then queries the current numeric result. |
| MEASUrement:IMMed:TYPe <Measurement> | Measurement Type. Selects what measurement algorithm to compute for the “immediate measurement” engine. |
| MEASUrement:IMMed:VALue? | Measure. Reads the numeric value of the currently configured immediate measurement (source + type). |
| MEASUrement:IMMed:DELay:EDGE<Edge> ; ... | Measure delay. Configures a delay measurement between Source1 and Source2 using specified edge direction (rise/fall). |
| Command | What it does |
|---|---|
| TRIGger:A:EDGE:SLOpe <Slope> | Trigget slope. Chooses the edge direction that triggers (rising, falling, or either). |
| TRIGger:A:EDGE:COUPling <Coupling> | Trigger coupling. Sets trigger coupling/filtering to reduce false triggers (AC coupling, HF/LF reject, noise reject). |
| TRIGger:A:LEVel:CH<Channel> <Volt> | Trigger level. Sets the trigger threshold voltage for the chosen trigger channel. |
| TRIGGER:A:EDGE:SOURCE <Channel> | Trigger channel. Selects which analog channel is used as the edge trigger source. |
| Command | What it does |
|---|---|
| HORIZONTAL:POSITION <Position> | Time position. Shifts the waveform horizontally relative to the trigger position (pre/post-trigger view). |
| HORIZONTAL:SCALE <Scale> | Time scale. Sets the timebase scale (Seconds/div), zooming in/out in time. |
| Command | What it does |
|---|---|
| SELect:<Channel> ON | Show channel. Turns ON display of the selected channel waveform. |
| SELect:RF_<Mode> <ON/OFF> | RF Display. Enables/disables RF display trace for a specific detector/trace mode (avg/maxhold/minhold/normal). |
With PyVISA and any VISA backend, this opens both instruments, identifies them, sends one setting, and reads one value from each. For the setting, the two libraries have no common command with a worked example on both, so each instrument uses its own: :AUToscale on the DSOX3024A and ACQuire:STOPAfter RUNSTop ;STATE RUN ;:DISplay:PERSistence Auto on the MDO32. For the reading, the two libraries have no common command with a worked example on both, so each instrument uses its own: :MEASure:RESults? on the DSOX3024A and RF:MEASUre:ACPR:LA1DB? on the MDO32. For the basics, see the PyVISA tutorial.
import pyvisa
rm = pyvisa.ResourceManager()
print(rm.list_resources()) # find both VISA addresses
a = rm.open_resource("PASTE_DSOX3024A_ADDRESS") # Keysight DSOX3024A
b = rm.open_resource("PASTE_MDO32_ADDRESS") # Tektronix MDO32
for inst in (a, b):
inst.timeout = 5000 # ms
print(inst.query("*IDN?"))
# No shared setting with an example on both, so each uses its own command
a.write(":AUToscale") # Auto Scale
b.write("ACQuire:STOPAfter RUNSTop ;STATE RUN ;:DISplay:PERSistence Auto") # RUN
# No shared reading with an example on both, so each uses its own command
print(a.query(":MEASure:RESults?")) # Get Measure Results
print(b.query("RF:MEASUre:ACPR:LA1DB?")) # RF Cent2 low Side1
a.close()
b.close()Describe the test; TestFlow's agent uses these command sets to drive your Keysight DSOX3024A or Tektronix MDO32 and writes the report from the measured results.
In TestFlow's library the DSOX3024A has 175 SCPI commands and the MDO32 has 66 SCPI commands. 0 command headers are common to both, 156 are only on the DSOX3024A (mostly MEASure and CHANnel), and 53 are only on the MDO32 (mostly RF and CURSor).
Not without changes. None of the 156 command headers in the DSOX3024A library matches one of the 53 in the MDO32 library: the DSOX3024A uses commands such as :MEASure:SOURce and the MDO32 uses commands such as RF:CLIPPing?. PyVISA opens both the same way, but each command needs its own version for each instrument.
The DSOX3024A: 175 commands for the DSOX3024A against 66 for the MDO32 in TestFlow's library. Of those, 68 on the DSOX3024A and 18 on the MDO32 are queries that read a value or state, and the library splits them into 22 and 14 subsystems.
Only the DSOX3024A library has an operation-complete command (*OPC?); the MDO32 library has none. Only the DSOX3024A library has an error-queue read (SYSTem:ERRor?); the MDO32 library has none. Each command named here is listed in the tables on this page and on each instrument's command reference.
Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.