ZX8533 SCPI Command Quick Reference Manual

Applicable models: ZX8533A/S/MGT, ZX6538A/B | Version: VER:3.1.11+ (2026-10)| Commands in tables can be clicked to copy

1. Quick Start

ItemParameter
RS232 / USB CDCStarting at 9600 8N1 (baud rate multiplier can be changed in system settings), commands end with (LF), responses end with
GPIB / USBTMCStandard VISA addressing, EOI terminated
RS485Uses Modbus RTU protocol stack, does not use the SCPI commands in this manual
Case sensitivityCase-insensitive; long and short names are equivalent (e.g. :FREQuency = :FREQ)
Multiple CommandsSeparated by ; on one line; ; followed by : indicates a new root command, without it indicates the same root

Three-Command Power-On Check:

*IDN?           → ZXP,ZX8533A,ZB23098357,VER:3.1.11   (communication is normal if read)
:FREQ?          → +1.00000E+03                        (current frequency 1kHz)
FETC?           → +2.17034E-06,+4.24065E-04,+0,+0     (primary parameter, secondary parameter, status, Bin number)

2. Command Overview

Legend: Query read only Set write/execute Pending responds only after measurement/calibration completes Write Flash persistent

2.1 Common Commands (IEEE 488.2)

Command (Click to Copy)TypeFunction / Response
*IDN?QueryInstrument identification: ZXP, model, serial number, version
*RSTSetReset to factory default settings
*TRGSetPendingBus trigger (requires :TRIG:SOUR BUS and INIT:CONT ON), automatically outputs result after measurement completes
*OPCSetRegister "Operation Complete": sets ESR OPC bit (bit0) after all pending operations complete
*OPC?QueryPendingWaits for all operations to complete before returning +1 (see Chapter 3)
*WAISetPendingWait for all pending operations to complete (no response)
*CLSSetClear all status/event registers and error queue (must be called every polling synchronization cycle, see 3.1)
*ESE <n>SetWrite standard event enable register (0~255)
*ESE?QueryRead ESE, e.g. +1
*ESR?QueryRead standard event register (cleared after read): +32=command error, +1=operation complete, +128=power on
*SRE <n>SetWrite service request enable register
*SRE?QueryRead SRE
*STB?QueryRead status byte (read only): bit4(16)=data available MAV, bit7(128)=operation status summary
*TST?QuerySelf-test, always returns +0
*LRN?QueryFull instrument setting snapshot (replayable compound command string)

2.2 Measurement Conditions (Frequency/Level/Speed/Output Impedance/Bias)

CommandTypeFunction / Response
:FREQ 100KSetSet measurement frequency to 100kHz (supports Hz/kHz/MHz suffixes, MIN/MAX)
:FREQ?Query+1.00000E+05
:VOLT 0.5SetSet voltage level to 0.5V (5mV~2V, switches to voltage mode)
:VOLT?Query+5.00000E-01
:CURR 10mSetSet current level to 10mA (50uA~20mA, switches to current mode)
:CURR?Query+1.00000E-02
:APER MEDSetMeasurement speed SHORt/MED/LONG/LONG2, can include averaging count :APER MED,10
:APER?QueryMED, 1
:RSOU 100SetOutput impedance 30/100/LOWZ
:RSOU?Query100
:AMPL:ALC ONSetAutomatic level control ON/OFF
:AMPL:ALC?Query1/0
:BIAS:STAT ONSetBias switch ON/OFF
:BIAS:VOLT 2SetBias voltage (upper limit depends on bias current source: internal 2V/external 10V/option 40V)
:BIAS:CURR 0.1SetBias current (silently ignored when IntBias)
:OUTP:HPOW INTSetWrite FlashBias current source INT/OPT1/EXT (rejected when BiasOn)
:OUTP:DC:ISOL OFFSetDC isolation ON/OFF

2.3 Measurement Functions and Ranges

CommandTypeFunction / Response
:FUNC:IMP CPDSetMeasurement function: CpD/CpQ/CsD/CsRs/LpD/LsQ/ZTD/RX/DCR etc. (see FuncTokTab)
:FUNC:IMP?Querycpd
:FUNC:IMP:RANG 100SetLock range to 100Ω (automatically turns off AUTO after setting; supports kohm/mohm suffixes)
:FUNC:IMP:RANG:AUTO ONSetAuto range ON/OFF
:FUNC:SMON:VAC ONSetSource voltage monitor ON/OFF
:FUNC:DEV1:MODE PERCSetDeviation mode ABS/PERC/OFF (same for DEV2)
:FUNC:DEV1:REF 100SetDeviation reference value
:FUNC:DEV1:REF:FILLSetFill reference value with current measurement value

2.4 Data Fetch (Core)

CommandTypeFunction / Response
FETC?QueryPendingFetch latest measurement: primary parameter, secondary parameter, status, Bin number (will wait for new result during measurement, see Chapter 3)
FETC:IMP?QueryPendingSame as FETC?
FETC:MPRES?QueryPendingMulti-parameter fetch: 4 or 6 parameters + overall pass bit (all 0 when empty fixture detection is on and no device)
FETC:SMON:VAC?QueryPendingSource voltage monitor value (returns +9.90000E+37 when not enabled)
FETC:IMP:AUTO OFFSetTurn off auto-send (actively send data after each measurement)
:FORM ASCSetFETCh response format ASC/HEX

2.5 Trigger

CommandTypeFunction / Response
:TRIG:SOUR BUSSetTrigger source INT/EXT/BUS/HOLD
:TRIG:SOUR?QueryINT
:TRIGSetTrigger immediately once
:TRIG:DEL 0.01SetTrigger delay (seconds, max 60s)
:INIT:CONT ONSetContinuous measurement ON/OFF
:INIT:IMMSetInitialize immediately (works with *TRG)

2.6 Calibration (Aligned with E4980A)

CommandTypeFunction / Response
:CORR:OPENSetPendingWrite FlashFull-point open correction (keep fixture open! Subsequent commands respond only after correction completes)
:CORR:SHORSetPendingWrite FlashFull-point short correction (short the fixture)
:CORR:OPEN:STAT ONSetWrite FlashOpen correction data enable ON/OFF (same for SHOR/LOAD)
:CORR:LENG 1SetWrite FlashCable length 0/1/2/4 m (2m/4m requires OEM calibration data)
:CORR:LOAD:TYPE CPDSetWrite FlashFunction type for load correction
:CORR:SPOT1:FREQ 1KSetWrite FlashSpot frequency correction points 1~201 (aligned with E4980A): set frequency for point n
:CORR:SPOT1:STAT ONSetWrite FlashEnable point n (SPOT1~SPOT201)
:CORR:SPOT1:OPENSetPendingWrite FlashOpen correction for point n (same for SHOR/LOAD)
:CORR:SPOT1:LOAD:STAN 100,0SetWrite FlashLoad standard values A,B for point n
:CORR:SPOT1:FREQ?Query+1.00000E+03
:CORR:USE:DATA?QueryOpen/short/load data for SPOT1~3 (18 values)
:CORR:DCR:OPENSetDCR open correction (same for SHOR)

2.7 Comparator (Binning)

CommandTypeFunction / Response
:COMP ONSetComparator switch
:COMP:MODE ATOLSetMode ATOL/PTOL/SEQ/DIR (switching mode clears the limit table)
:COMP:TOL:NOM 0.0001SetNominal value
:COMP:TOL:BIN1 -1,1SetBIN1~BIN10 lower/upper limits (returns 9.9E37 if not set)
:COMP:SEQ:BIN 0,1,2,3,4,5,6,7,8,9,10SetSEQ mode 11 boundaries (requires MODE SEQ first)
:COMP:SLIM -0.01,0.01SetSecondary parameter limits
:COMP:SWAP ONSetSwap primary and secondary parameters
:COMP:BIN:COUN:DATA?QueryBIN1~9, AUX, OUT, 11 counts total
:COMP:BIN:COUN:CLESetClear bin counts

2.8 List Sweep (Including Chuanxiang Dual-Frequency Customization)

CommandTypeFunction / Response
:LIST:MODE SEQSetSEQ/STEP sweep mode
:LIST:FREQ 1K,10K,100KSetUp to 10-point frequency table (VOLT/CURR/BIAS:VOLT same structure)
:LIST:BAND1 A,-1,1SetBAND1~10 comparison bands: A/B/OFF, lower limit, upper limit
:LIST:CLESetClear sweep table
:LIST:TMOD DIRSetChuanxiang dual-frequency limit mode PTOL/DIR (affects MPLMT? response)
:LIST:TFR1 1KSetChuanxiang dual-frequency frequency 1 (TFR2=frequency 2)
:LIST:FLMT:BIN1 -1.0E-6,+1.0E-6SetDual-frequency C limits BIN1~3 (SLMT=D limits)

2.9 Multi-Parameter (MGT Solid Capacitor)

CommandTypeFunction / Response
:MPSET:LINE1 CPD,1K,1,ONSetMeasurement conditions for row 1~6: function, frequency, level, switch
:MPSET:LINE1?QueryCpD,+1.00000E+03,+1.00000E+00,ON
:MPSET:LINE1:SPEED FASTSetRow speed FAST/MED/SLOW
:MPSET:LINE1:LIM ABSSetRow limit mode ABS/PERC
:MPSET:LINE1:DEL 0.001SetRow delay (seconds)
:MPSET:LINE1:OFFSET 0.0SetRow compensation value (OFFS short name also supported)
MPSET:OPENSetMulti-parameter open zeroing (automatically switches to multi-parameter measurement page)
MPSET:SHORSetMulti-parameter short zeroing
MPSET:OPE?QueryMulti-parameter open zeroing data (6 values)
MPSET:OPSH ONSetZeroing data valid switch
MPSET:OSW ONSetCompensation switch
MPSET:FCHK ONSetFixture empty detection switch (added in 202610, empty fixture → displays NC/PIN9/data all 0)
MPSET:FCHK?Query1/0
MPSET:HOUT 8516GTSetHandler output mode LPASS/LFAIL/APASS/8516GT
MPLMT ABSSetLimit mode ABS/PERC (DIR is set by LIST:TMOD)
MPLMT?QueryABS/PERC/DIR
:MPLMT:LINE1 100u,90u,110uSetRow 1~6 limits: nominal, lower limit, upper limit
:MPLMT:LINE1?Query+1.00000E-04,+9.00000E-05,+1.10000E-04

2.10 System/Status/File/Other

CommandTypeFunction / Response
SYST:ERR?QueryRead error queue (cleared upon read): +0,"No error" or -102/-113 (see Chapter 4)
SYST:TIME?Query9,57,12 (hour, minute, second; can set)
SYST:DATE?Query2026,10,13 (can set)
SYST:FSH 1SetE4981A frequency shift -2%~+2%
:STAT:OPER?QueryOperation event register (cleared after read): +16=measurement complete, +1=correction complete
:STAT:OPER:COND?QueryOperation condition register (read only): 16=measuring, 1=correcting
:STAT:OPER:ENAB 16SetOperation event enable (for polling synchronization, see 3.3)
:STAT:FOOT?QueryFoot switch/Handler trigger handshake (cleared after read)
:DISP:PAGE MEASSetSwitch page: MEAS/BNUM/BCO/LIST/MSET/CSET/LTAB/LSET/SYST/MPSET/MPLMT/MPDISP
:DISP:LINE "HELLO"SetMessage line display (≤20 characters, visible only on file list page)
:MMEM:LIST?QueryInternal file list
:MMEM:LOAD:STAT 1SetLoad file number 1 (overwrites current settings)
:MMEM:STOR:STAT 1SetWrite FlashSave to file number 1
:RS232:PRIN ONSetAutomatic measurement result transmission (RS232/CDC)

3. Data Fetch and Wait Logic (Must-Read for Host Computers)

Core conflict: Measurements take tens to hundreds of ms, and results may not be ready when the host computer sends the fetch command. This instrument provides 4 synchronization methods; choose according to host computer requirements. Remember one premise: This instrument's FETCh? waits for a "new" measurement to complete before responding (different from Keysight standard — E4980A's FETCh? directly returns the last result).

3.1 Scenario 1: *STB? Polling (First Choice for Host Computers, the Only Correct Solution for Smooth RS232 Interface)

The method actually used in our factory's host computers: clear status once after fetching data, then short-read poll the status byte; when 128 (measurement complete event summary bit) appears, fetch data. All host computers with interfaces should use this method.

// Initialize once
write(":STAT:OPER:ENAB 16
");   // Enable "measurement complete" event bit

// Each measurement cycle:
write("FETC?
");  readline(buf);          // Fetch this data
write("*CLS
");                            // ★Key: re-arm (clear event register)
                                            //  Can also use :STAT:OPER? read once instead of *CLS
while (1) {
    write("*STB?
"); readline(buf);       // Returns in a few ms each time, UI doesn't freeze
    if (atoi(buf) & 128) break;            // 128=new measurement complete
    sleep_ms(30);                          // Progressive backoff can be relaxed further
}
// Break out of loop = new data available → return to top FETCH

Why *CLS (or read :STAT:OPER? once) is needed every cycle: The event register is latched — after being set, it can only be cleared by *CLS or :STAT:OPER? (cleared after read). If not cleared, the STB's 128 bit will always be 1, and the polling logic fails directly. This is IEEE 488.2 standard semantics.

3.2 Scenario 2: SRQ Event-Driven (GPIB/USBTMC, Most Efficient)

// VISA pseudocode
viWrite(":INIT:CONT ON
*ESE 1
*SRE 32
");  // ESE.0=OPC, SRE.5=ESB
viEnableEvent(SRQ);                            // Register SRQ callback
viWrite("*TRG
");                             // Trigger (auto-report on measurement complete)
// Measurement complete → instrument STB reports SRQ → VISA callback invoked → FETCh? in callback

No polling at all, most efficient; RS232 has no SRQ line, so it cannot be used (use 3.1 for serial port).

3.3 Scenario 3: Simplest — Direct FETCh? (Entry-Level/Quick Verification)

The instrument internally suspends FETCh? and responds only after the current measurement completes. The host computer only needs to ensure the read timeout is greater than the measurement cycle (fast range ~50ms, slow range may be several hundred ms, recommended timeout ≥2s as fallback).

// C pseudocode (RS232/CDC common)
write(":FREQ 100K
");                 // Set conditions
write("FETC?
");
char buf[128];
readline(buf, timeout=2000);           // Instrument automatically waits for new measurement to complete
// buf = "+2.17034E-06,+4.24065E-04,+0,+0"

Note: In external trigger (EXT) mode, if there is no trigger signal for a long time, FETCh? will wait indefinitely — after host computer timeout, press ESC or switch pages to unlock (firmware after 202610 has been hardened, no deadlock).

3.4 Scenario 4: *OPC? Blocking Synchronization (Easiest for Scripts/Fixtures)

write(":CORR:SHOR
");      // Initiate short correction (slow operation)
write("*OPC?
");            // Instrument suspends until correction completes, then returns +1
readline(buf, timeout=60000); // Correction is slow, give sufficient timeout
// Received +1 = correction truly completed

Applicable to: test fixtures, production line scripts, etc. where "shorter code is better, blocking doesn't matter". Do not use this for serial port host computers with interfaces — it will freeze the UI (use 3.1 polling).

3.5 Scenario 5: *OPC + *ESR? Event Query (Does Not Suspend Parser)

write("*CLS
");                  // Clear events
write("*ESE 1
");                 // Enable OPC bit
write(":CORR:OPEN
");            // Initiate correction
write("*OPC
");                   // Register: set ESR bit0 upon completion
// ... Host computer does other things ...
write("*ESR?
"); readline(buf);  // Poll event register
if (atoi(buf) & 1) { /* OPC=1, correction complete */ }

3.6 Quick Reference for Choosing Among the Four Methods

Host Computer TypeRecommended MethodBus
Host computer with interface (needs smoothness)3.1 *STB? pollingAll (only choice for RS232)
Multi-instrument/multi-thread (needs efficiency)3.2 SRQ eventGPIB/USBTMC only
Script/fixture (shortest code)3.3 FETCh? or 3.4 *OPC?All
Event-style without suspending parser3.5 *OPC+*ESR? pollingAll

4. Error Code Table (SYST:ERR?)

Starting from 202610, the instrument has a built-in IEEE 488.2 standard error queue: each error is queued, SYST:ERR? reads them one by one (cleared upon read), empty queue returns +0,"No error", *CLS clears the queue. When the queue is full (16 entries), the oldest is discarded and the ESR QYE bit is set.

CodeTextMeaning / Trigger ScenarioE4980A Comparison
+0"No error"Queue emptyConsistent
-102"Syntax error"Syntax error: wrong parameter format, wrong subcommand name, dot out of range (e.g. SPOT202), etc.Consistent (standard code)
-113"Undefined header"Undefined command header (command name misspelled, e.g. :BADCMD)Consistent (standard code)
-350"Queue overflow"Output buffer full (reported when response is truncated due to excessive length; previously silently lost)Consistent (standard code)
Supporting relationship: When a command error occurs, three channels reflect it simultaneously —
① Screen message line displays the erroneous command in red (first 10 characters);
② Error queue (SYST:ERR? can read details);
③ *ESR? CME bit (+32) is set (standard 488.2 summary).
Debugging suggestion: The host computer does not need to check for errors after every command; during joint debugging, send SYST:ERR? once at key nodes. Read the error queue until empty.

5. E4980A Compatibility Notes

ItemThis InstrumentE4980ANotes
Spot frequency correction rangeSPOT1~201SPOT1~201Fully consistent (aligned in 202610)
FETCh? semanticsWaits for new measurement to complete before respondingReturns most recent resultIntentional difference (production line PLC habit); for new data using READ? semantics, use :TRIG + polling instead
Error codes-102/-113/-350SameStandard codes consistent
Response numeric format%+12.5E%+12.5EConsistent
Long/short namesShort name = uppercase prefix (standard)SameMiddle-length abbreviations not supported on either side
This manual is written based on the actual implementation of ZX8533 VER:3.1.11+ firmware (2026-10), and command behavior has been verified through golden sample testing. Document companion: tools/golden_commands_full.txt (full command test checklist), golden_capture.ps1 (capture script).