Repository navigation
SCPI Reference
Commands work over USBTMC and the CDC serial port (USB and Remote Mode). This page lists the most useful commands.
- Short and long forms (
TRIG:EDGE:LEV=TRIGger:EDGE:LEVel), case-insensitive,;between commands, LF or CRLF. - Units: Hz/kHz/MHz, V/mV/uV, s/ms/us/ns, %.
- Errors go to
SYST:ERR?:-113unknown command,-222/-224bad value,-221not possible in the current state,-230no data yet. A failed query returnsNAN. - An unsupported feature returns an error.
| Command | |
|---|---|
*IDN? |
OpenOSC,<profile>,<serial>,<version>; the profile name is a compatibility alias |
*CLS, SYST:ERR?, *ESR?, *STB?
|
Status and error queue |
*OPC?, *WAI
|
Wait for multimeter commands and single captures |
SYST:MODE SCOPe|DMM|GENerator |
Select the Oscilloscope, Multimeter or Generator screen directly |
SYST:REM ON|OFF |
Remote mode |
SYST:CLOC:MODE 200|280|360 |
Performance Profiles |
SYST:REC |
Restart into Recovery |
SYST:CAL:FACT?, SYST:CAL:FACT:FORM?
|
The calibration record as read at boot, and its format |
DISP:DATA? (HCOP:DATA?) |
The screen as a BMP block (320×240) |
SYST:STALl? |
Main-loop passes of 50 ms or more and Auto frame gaps of 1 s or more, with what ran then |
SYST:BOOT? |
Milliseconds of each boot stage |
| Command | |
|---|---|
RUN, STOP, SING, TFORce
|
Capture control |
TRIG:STAT? |
RUN, WAIT, STOP; TD for a triggered frame, AUTO for a free-running one |
CHAN<n>:DISP, :COUP, :PROB, :SCAL, :OFFS
|
Channel settings. Probe ratios: 1, 10, 50, 100, 500, 1000, 10000. For example, CHAN1:PROB 10000; CHAN1:PROB? reads the ratio |
TIM:SCAL, TIM:OFFS
|
Timebase (rounded to the nearest step) and horizontal position |
ACQ:MDEP, ACQ:SRAT?, ACQ:ROLL
|
Record depth, sample rate, Roll |
ACQ:INTerleave ON|OFF|AUTO, ACQ:INTerleave?
|
The Interleave CH1 option, saved like the menu choice; answers 1, 0 or AUTO. AUTO exists on the ZT706S only (Performance Profiles) |
ACQ:INTerleave:MATCh? |
ZT703S: 1 when a gain and timing profile is in use for the configured capture (Calibration) |
ACQ:INTerleave:STATe? |
<active>,<blockers>: 1 when interleave is in force; blocker bits 1 board, 2 run mode, 4 timebase, 8 channels, 16 Roll, 32 Auto Setup or trial, 64 generator DAC, 128 option off. The rate is in ACQ:SRAT?
|
TRIG:SWE AUTO|NORM|SING, TRIG:EDGE:SOUR, :SLOP, :LEV, :NREJ, TRIG:POS
|
Trigger |
AUToscale |
Start Auto Setup; works with either physical AUTO key mapping |
CHAN<n>:FCNT?, MEAS:FCNT?, MEAS:FCNT:QUAL?
|
Hardware frequency counter and its quality |
WAV:SOUR, WAV:MODE RAW, WAV:FORM BYTE, WAV:STAR, WAV:STOP, WAV:PRE?, WAV:DATA?
|
Read waveforms (up to 524,288 points per channel) |
WAV:POINts <n> |
Return at most n points: every Nth point of START..STOP; the preamble matches |
WAV:SNAP, WAV:SEQ?, ACQ:FRAMe?
|
Frame handling: release the held frame, frame numbers |
| Command | |
|---|---|
DECode:STATe?, DECode:PROTocol?
|
Is the decoder on, which protocol |
DECode:RESult? |
Summary of the latest result: status, events, lost events, sample rate … |
DECode:DATA? |
The decoded events as CSV |
DECode:SAVE, DECode:SAVE?
|
Save the CSV on the device; path of the last file |
Decoder settings are changed on the device (Protocol Decoders).
| Command | |
|---|---|
CONF:VOLT:DC|AC, CONF:CURR:DC|AC, CONF:MVOL:…, CONF:MCUR:…, CONF:RES, CONF:CAP, CONF:CONT, CONF:DIOD, CONF:TEMP
|
Select the function; CONF:TEMP selects Type K |
FUNC? |
Current function (TEMP for Type K) |
SYST:DMM:TEMP:CJUN <°C>|NONE, SYST:DMM:TEMP:CJUN?
|
Reads the stored manual Type K junction value. A write selects Manual with the supplied value (−50.0 … 100.0 °C in 0.1 °C steps); NONE clears it and returns to DC mV. Select MCU at startup or MCU live from the device menu |
SYST:DMM:TEMP:UNIT C|F, SYST:DMM:TEMP:UNIT?
|
Display unit; readings over SCPI are always in °C |
MEAS?, FETCH?
|
Latest reading (respects HOLD and REL) |
READ? |
Next new reading (waits up to 2 s) |
AUTO, RANGE <n>
|
Auto range, manual range index |
SYST:DMM:RANG:LIST? |
Full-scale values of the ranges of the current function |
SYST:DMM:RES? |
Reading and its metadata in one line |
SYST:DMM:HOLD ON|OFF, SYST:DMM:HOLD:MODE MAN|DEL|STAB|AUTO, …:DEL, …:STAB, …:BAND, …:REAR, …:COUN, …:ARM, …:STAT?
|
HOLD and HOLD modes |
SYST:DMM:REL ON|OFF |
Relative measurement |
SYST:DMM:STAT?, SYST:DMM:STAT:RES
|
Statistics, reset |
SYST:DMM:PACK? |
The newest raw packet from the meter chip, in hex |
SYST:DMM:RES? fields: function, value, status, secondary value, secondary quantity, range index, range mode (1 auto, 0 manual, −1 unknown), HOLD, REL, sequence, timestamp in µs. Status 14 means the meter showed no number.
| Command | |
|---|---|
SOUR:FUNC SIN|SQU|TRI|HALF|POS|RAMP |
Waveform |
SOUR:FREQ <f> |
Frequency |
SOUR:PULS:DCYC <%> |
Duty (square) |
OUTP ON|OFF |
Output |
OUTP:STAR OFF|REST |
Output at power-on |
SOUR:LEV:PROF, SOUR:LEV:LOW, SOUR:LEV:HIGH, SOUR:LEV:PATH?, SOUR:SQU:DRIV
|
ZT703S: level profile, DAC codes, output path, square drive |
SOUR:VOLT <V> |
ZT706S: amplitude; units such as mV are accepted |
On the other model, model-specific commands return -241 Hardware missing.
Read one DC voltage (multimeter screen active):
*IDN?
CONF:VOLT:DC
READ?
Take a single capture and read CH1 (oscilloscope screen active):
TIM:SCAL 1e-3
SING
*OPC?
WAV:SOUR CHAN1
WAV:MODE RAW
WAV:FORM BYTE
WAV:PRE?
WAV:DATA?
SYST:MODE between oscilloscope and multimeter re-connects USB, so reopen the connection after it before sending the next command.
OpenOSC is licensed under the GPL-3.0. Found a mistake on this page? Tell us in Discussions.
Getting started
Instruments
Device
- Menu Map
- Settings Menu
- Calibration
- Screenshots and Captures
- Files on the Device
- Performance Profiles
Hardware Mods
PC connection
Help
Contributors