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:KEY <key>[,<ms>] |
Press a panel key. For example, SYST:KEY F1,1200 holds F1 for 1.2 s. *OPC? waits for release and handling |
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 <points>, ACQ:MDEP?
|
Request a depth per enabled channel. OpenOSC picks the smallest matching total budget. Query the planned sample count per channel. For the actual captured count, read WAV:PRE? with a full record window and point reduction off |
ACQ:SRAT?, ACQ:ROLL
|
Planned sample rate and Roll |
ACQ:INTerleave ON|OFF|AUTO, ACQ:INTerleave?
|
The Interleave CH1 option, saved like the menu choice. Queries return 1, 0 or AUTO. The automatic rule depends on the model (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 |
Since 0.21.19, qualified trigger commands set the trigger type, levels, polarity or slope and time condition. Trigger SCPI commands
These extensions are available from 0.21.9. Both USBTMC and CDC support them. The command reference defines the binary blocks, preambles, measurement fields and timeout behavior. Desktop commands
| Command | Result |
|---|---|
WAV:FRAM? |
Enabled calibrated channels from one acquisition, in one block |
WAV:POIN:MODE STR or PEAK
|
Choose stride sampling (default) or min/max pairs when WAV:POIN requests point reduction |
WAV:ENV? [buckets] |
Min/max pairs over the full acquisition, with 1500 buckets by default |
WAV:MEAS? SCR or REC
|
Measurements for the selected sample window or the full record on the selected channel |
In RUN, WAV:FRAM? and WAV:ENV? wait for a fresh capture. Set the host read timeout above the configured record duration plus one second. In HOLD and after a completed Single, they return the held record.
In the 0.22.0 pre-release, with Short window f/T → From the counter selected, the final frequency_source field of WAV:MEAS? may be CNT or CNT?. Both indicate frequency and period from the hardware counter. CNT? is the approximate case. The other sources are NONE, EDGE and SPEC. The Trace f (~) display option leaves CHAN<n>:FCNT? and MEAS:FCNT? reporting the hardware counter. Measurement fields
| Command | Result |
|---|---|
MMEM:CAT? "FOLDER"[,start] |
List finished files and their sizes, with pagination |
MMEM:DATA? "FOLDER/FILENAME" |
Download a finished file as a binary block |
MMEM:DEL "FOLDER/FILENAME" |
Delete a finished file. A file in use returns -221
|
SYST:POW:TIM[?] |
Read or set auto power-off in minutes |
SYST:DISP:TIM[?] |
Read or set backlight timeout in seconds |
SYST:DISP:DIM[?] |
Read or set dimmed backlight brightness in percent |
Files are available in SCREENSHOTS, LOGS, CAPTURES, DECODE and FRA under /openosc. In the 0.22.0 pre-release, list CAPTURES to find .CSV.GZ and .RAW.GZ archives and download their gzip bytes using MMEM:DATA?. File commands and binary format
| Command | |
|---|---|
DECode:STATe?, DECode:PROTocol?
|
Is the decoder on, and which protocol: OFF, UART, I2C, SPI, LIN, CAN, RS232, RS485 or DMX512
|
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 |
Change decoder settings on the device (Protocol Decoders). The ac_coupled result status asks you to set the RS-485 or DMX512 input to DC. DMX512 CSV v3 includes data slot numbers and BREAK and MAB duration. Serial decoder results
| 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. The DC charge counter is a local display feature.
| 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