SCPI Remote communication control manual Version number:V1.
SCPI Command Overview SCPI (Standard Commands for Programmable Instruments) is a standardized instrument programming language that is built upon the standard IEEE 488.1 and IEEE 488.2 and conforms to various standards (such as the floating point operation rule in IEEE 754 standard, ISO 646 7-bit coded character for information interchange (equivalent to ASCII programming)). The SCPI commands provide a hierarchical tree structure and consist of multiple subsystems.
The vertical bar is used to separate multiple parameters and one of the parameters must be selected when using the command. 3. Square Brackets [] The content in the square brackets can be omitted. 4. Triangle Brackets <> The parameter enclosed in the triangle brackets must be replaced by an effective value. Command Abbreviation All the commands are case-insensitive and you can use any of them. If abbreviation is used, all the capital letters in the command must be written completely.
CHANnel commands The :CHANnel commands are used to set or query the vertical system parameters of the analog channels, such as the bandwidth limit, coupling, vertical scale, and vertical offset.
CHANnel:COUPling Syntax :CHANnel:COUPling :CHANnel:COUPling? Description : Set or query the coupling mode of the specified channel. Parameter : ::= {AC | DC | GND} :::= {1 | 2 | 3 | 4} Explanation :AC: the DC components of the signal under test are blocked. :DC: the DC and AC components of the signal under test can both pass the channel. :GND: the DC and AC components of the signal under test are both blocked.
:::= {1 | 2 | 3 | Return : The query return 0 Example :CHANnel1:INVert ON :CHANnel1:INVert? 4} or 1 /*Enable the waveform invert of CH1 */ /* The query returns 1*/ CHANnel:OFFSet Syntax Description Parameter Explanation Return Example :CHANnel:OFFSet [] :CHANnel:OFFSet? :Set or query the vertical offset of the specified channel.
CHANnel:SCALe Syntax Description Parameter Explanation Return Example :CHANnel:SCALe [] :CHANnel:SCALe? :Set or query the vertical scale of the specified channel : ::= integer : ::= {V | mV} :::= {1 | 2 | 3 | 4} :The range of the vertical scale is related to the current probe ratio : The settable range of the vertical gear is related to the currently set probe ratio.
CHANnel:VERNier Syntax Description Parameter Explanation Return Example :CHANnel:VERNier :CHANnel:VERNier? : Enable or disable the fine adjustment of the vertical scale of the specified , or query the fine adjustment status of the vertical scale of the specified channel : ::= {{1 | ON} | {0 | OFF}} :::= {1 | 2 | 3 | 4} : By default, the fine adjustment is off.
TIMebase commands The list of commands: TIMebase:WINDow:ENABle TIMebase:WINDow:POSition TIMebase:WINDow:SCALe TIMebase:WINDow:RANGe TIMebase:POSition TIMebase:SCALe TIMebase:RANGe TIMebase:MODE TIMebase:VERNier TIMebase:XY:XSOUrce TIMebase:XY:XSOUrce TIMebase:WINDow:ENABle Syntax Description Parameter Explanation Return Example :TIMebase:WINDow:ENABle :TIMebase:WINDow:ENABle? :Enable or disable the delayed sweep, or query the status of the delayed sweep :<
offset of the oscilloscope, and DelayScale is the current delayed timebase scale of the oscilloscope. Return :The query returns the vertical range in scientific notation Example :TIMebase:WINDow:POSition 0.001 /* Set the delayed timebase offset to 0.001s*/ :TIMebase:WINDow:POSition? /* The query returns1.
Return :The query returns the vertical range in scientific notation Example :TIMebase:POSition 0.0002 /* Set the main time base offset to 200us*/ :TIMebase:POSition? /* The query returns 2.000e-4*/ TIMebase:SCALe Syntax Description Parameter Return Example :TIMebase:SCALe :TIMebase:SCALe? :Set or query the main timebase scale(s/div) : ::= The current number of seconds per grid of the main window :The query returns the vertical range in scientific notation :TIMebase:SCALe 0.
TIMebase:VERNier Syntax :TIMebase:VERNier :TIMebase:VERNier? Description : Setting or querying time base fine-tuning switch state Parameter : ::= {{1 | ON} | {0 | OFF}} Explanation : Fine tuning Settings by default.
ACQ commands The list of commands: ACQuire:POINts ACQuire:TYPE ACQuire:SRATe? ACQuire:COUNt ACQuire:POINts Syntax :ACQuire:POINts :ACQuire:POINts? Description :Set or query the memory depth of the oscilloscope Parameter : ::= value of the memory depth Explanation :value memory depth 4000 4K 16000 16K 32000 32K 64000 64K Return :The query returns the actual number of points Example :ACQuire:POINts 4000 /*Set the memory depth to 4k*/ :ACQuire:POINts? /*The query returns 4000*/
ACQuire:TYPE Syntax Description Parameter Explanation :ACQuire:TYPE :ACQuire:TYPE? :Set or query the acquisition mode of the oscilloscope : ::= < NORMal | AVERage | PEAK | HRESolution> : NORMal: in this mode, the oscilloscope samples the signal at equal time interval to rebuild the waveform. For most of the waveforms, the best display effect can be obtained using this mode.
ACQuire:COUNt Syntax Description Parameter Return Example : ACQuire:COUNt : ACQuire:COUNt? : Set or query Average number of points in average mode : ::= <4|8|16|32|64|128> : The query returns current average number of points : ACQuire:COUNt 64 /*Set average number of points 64*/ : ACQuire:COUNt? /* The query returns 64*/ 14
TRIGger commands The list of commands: TRIGger:FORCe TRIGger:MODE TRIGger:STATus? TRIGger:SWEep TRIGger:HOLDoff TRIGger:EDGe TRIGger:PULSe TRIGger:SLOPe TRIGger:TV TRIGger:TIMeout TRIGger:WINDOw TRIGger:INTERVAl TRIGger:UNDER_Am TRIGger:UART TRIGger:CAN TRIGger:LIN TRIGger:IIC TRIGger:SPI TRIGger:LOGIc TRIGger:FORCe Syntax Description Explanation :TRIGger:FORCe : Set force trigger : This command also allows the oscilloscope to acqu
TRIGger:MODE Syntax Description Parameter Return Example : TRIGger:MODE : TRIGger:MODE? : Select or query the trigger type.
TRIGger:HOLDoff Syntax Description Parameter Explanation Return Example :TRIGger:HOLDoff :TRIGger:HOLDoff? : Set or query the trigger holdoff time : ::= holdoff time(unit is s) : Trigger holdoff can be used to stably trigger the complex waveforms (such as pulse series). Holdoff time is the time that the oscilloscope waits before re-arming the trigger circuitry. The oscilloscope will not trigger until the holdoff time expires.
TRIGger:EDGe The list of commands: TRIGger:EDGe:SOURce TRIGger:EDGe:SLOPe TRIGger:EDGe:LEVel TRIGger:EDGe:SOURce Syntax Description Parameter Return Example :TRIGger:EDGe:SOURce :TRIGger:EDGe:SOURce? : Set or query the trigger source in edge trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | EXT> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4, EXT :TRIGger:EDGe:SOURce CHANnel1 /*Set the trigger source to CH1*/ :TRIGger:EDGe:SOURce? /* The query returns CHANnel
TRIGger:EDGe:LEVel Syntax Description Parameter Return Example :TRIGger:EDGe:LEVel :TRIGger:EDGe:LEVel? : Set or query the trigger level in edge trigger : ::= trigger level(unit is V) :The query returns the trigger level in scientific notation. :TRIGger:EDGe:LEVel 0.16 /*Set the trigger level to 160mV*/ :TRIGger:EDGe:LEVel? /* The query returns 1.
Return Example : The query returns POSItive,NEGAtive :TRIGger:PULSe:POLarity POSItive /* Set positive pulse trigger */ :TRIGger:PULSe:POLarity? /* The query returns POSItive*/ TRIGger:PULSe:WHEN Syntax :TRIGger:PULSe:WHEN :TRIGger:PULSe:WHEN? Description : Set or query the trigger condition in pulse width trigger Parameter : ::= < EQUAl| NEQUal| GREAt| LESS> Explanation :EQUAl: you need to specify a pulse width(refer to TRIGger:PULSe:WIDth), The oscilloscope triggers when the positive pulse
Parameter Return Example : ::= pulse width in pulse width trigger(unit is s) : The query returns the pulse width in scientific notation. :TRIGger:PULSe:WIDth 0.000003 /*Set the pulse width 3us*/ :TRIGger:PULSe:WIDth? /* The query returns 3.
TRIGger:SLOPe:POLarity Syntax Description Parameter Explanation Return Example :TRIGger:SLOPe:POLarity :TRIGger:SLOPe:POLarity? : Sets or queries the trigger polarity of the slope trigger : ::= < POSItive | NEGAtive> :POSItive: Positive slope trigger :NEGAtive: Negative slope trigger :The query returns POSItive,NEGAtive :TRIGger:SLOPe:POLarity POSItive /* Set positive slope trigger */ :TRIGger:SLOPe:POLarity? /* The query returns POSItive*/ TRIGger:SLOPe:WHEN Syntax Description Param
:TRIGger:SLOPe:WHEN? /* The query returns NEQUal*/ TRIGger:SLOPe:WIDth Syntax Description Parameter Return Example :TRIGger:SLOPe:WIDth :TRIGger:SLOPe:WIDth? : Set or query the time value in slope trigger : ::= time value(unit is s) : The query returns the time value in scientific notation. :TRIGger:SLOPe:WIDth 0.000003 /*Set the time value to3us*/ :TRIGger:SLOPe:WIDth? /* The query returns 3.
TRIGger:TV The list of commands: TRIGger:TV:SOURce TRIGger:TV:POLarity TRIGger:TV:MODE TRIGger:TV:LINE TRIGger:TV:STANdard TRIGger:VIDeo:LEVel TRIGger:TV:SOURce Syntax :TRIGger:TV:SOURce :TRIGger:TV:SOURce? Description : Select or query the trigger source in video trigger Parameter : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> Return Example : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:TV:SOURce CHANnel1 /*Set trigger source CH1*/ :TRIGger:
TRIGger:TV:MODE Syntax Description Parameter Return Example :TRIGger:TV:MODE :TRIGger:TV:MODE? : Set or query the sync type in video trigger : ::= < SCAN_LINE|LINE_NUM|ODD_FIELD|EVEN_FIELD|ALL_FIELD> :The query returns SCAN_LINE,LINE_NUM,ODD_FIELD, EVEN_FIELD,ALL_FIELD :TRIGger:TV:MODE ALL_FIELD /* Set the sync type to ALL_FIELD */ :TRIGger:TV:MODE? /* The query returns FIEld1*/ TRIGger:TV:LINE Syntax :TRIGger:TV:LINE :TRIGger:TV:LINE? Description : Set or query the line number when t
TRIGger:VIDeo:LEVel Syntax Description Parameter Return Example :TRIGger:VIDeo:LEVel :TRIGger:VIDeo:LEVel? : Set or query the trigger level in video trigger : ::= trigger level(unit is V) : The query returns the upper limit of the trigger level in scientific notation :TRIGger:VIDeo:LEVel 0.16 /*Set trigger level160mV*/ :TRIGger:VIDeo:LEVel? /* The query returns 1.
TRIGger:TIMeout The list of commands: TRIGger:TIMeout:SOURce TRIGger:TIMeout:LEVel TRIGger:TIMeout:WIDth TRIGger:TIMeout:POLarity TRIGger:TIMeout:SOURce Syntax Description Parameter Return Example :TRIGger:TIMeout:SOURce :TRIGger:TIMeout:SOURce? : Set or query the trigger source in timeout trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:TIMeout:SOURce CHANnel1 /*Set trigger source CH1*/ :TRIGger:TIM
:TRIGger:TIMeout:WIDth? 3.
TRIGger:WINDOw The list of commands: TRIGger:WINDOw:SOURce TRIGger:WINDOw:ALEVel TRIGger:WINDOw:BLEVel TRIGger:WINDOw:SOURce Syntax Description Parameter Return Example :TRIGger:WINDOw:SOURce :TRIGger:WINDOw:SOURce? : Set or query the trigger source in windows trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:WINDOw:SOURce CHANnel1 /*set trigger source CH1*/ :TRIGger:WINDOw:SOURce? /* The query returns CH
Parameter : ::= the tigger level lower limit(unit is V) Return : The query returns the trigger level upper limit in scientific notation. Example :TRIGger:WINDOw:BLEVel 0.16 /* Set the trigger level lower limit 160mV*/ :TRIGger:WINDOw:BLEVel?/* The query returns 1.
Explanation : RISIng : FALLing : DOUBle Return : The query returns RISIng,FALLing,DOUBle Example :TRIGger:INTERVAl:SLOp RISIng /* Set the edge type to the rising edge */ :TRIGger:INTERVAl:SLOp? /* The query returns POSItive*/ TRIGger:INTERVAl:WHEN Syntax :TRIGger:INTERVAl:WHEN :TRIGger:INTERVAl:WHEN? Description :Set or query the trigger conditions for the interval trigger Parameter : ::= < EQUAl| NEQUal| GREAt| LESS> Explanation : Triggered when the interval between two rising edges (or fal
TRIGger:INTERVAl:ALEVel Syntax Description Parameter Return Example :TRIGger:INTERVAl:ALEVel :TRIGger:INTERVAl:ALEVel? : Set or query the trigger level for the interval trigger : ::= trigger level(unit is V) : The query returns the trigger level upper limit in scientific notation. :TRIGger:INTERVAl:ALEVel 0.16 /*set trigger level 160mV*/ :TRIGger:INTERVAl:ALEVel? /* The query returns 1.
Description Parameter Return Example : Set or query the trigger source for the under_am : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:UNDER_Am:SOURce CHANnel1 /*set trigger source CH1*/ :TRIGger:UNDER_Am:SOURce? /* The query returns CHANnel1*/ TRIGger:UNDER_Am:POLarity Syntax Description Parameter Explanation Return Example :TRIGger:UNDER_Am:POLarity :TRIGger:UNDER_Am:POLarity? : Set or query the trigger polarity of
Example :TRIGger:UNDER_Am:TIME 0.000003 /*set time value 3us*/ :TRIGger:UNDER_Am:TIME? /* The query returns 3.000000e-06*/ TRIGger:UNDER_Am:ALEVel Syntax :TRIGger:UNDER_Am:ALEVel :TRIGger:UNDER_Am:ALEVel? Description :Set or query the trigger level upper limit in under_am trigger Parameter : ::= trigger level upper limit(unit is V) Return : The query returns the trigger level upper limit in scientific notation. Example :TRIGger:UNDER_Am:ALEVel 0.
TRIGger:UART:BAUd TRIGger:UART:ALEVel TRIGger:UART:DATA TRIGger:UART:WIDTh TRIGger:UART:PARIty TRIGger:UART:WHEN TRIGger:UART:IDLe TRIGger:UART:SOURce Syntax Description Parameter Return Example :TRIGger:UART:SOURce :TRIGger:UART:SOURce? : Set or query the trigger source for the UART trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:UART:SOURce CHANnel1 /*set trigger source CH1*/ :TRIGger:
Description Parameter Return Example :TRIGger:UART:BAUd? : Set or query the baud rate triggered by the UART,unit is bps : ::=<110|300|600|1200|2400|4800|9600|14400| 19200|38400|57600|115200|230400|380400|460400|921600 | customize > : The query returns baud rate :TRIGger:UART:BAUd 4800 /*set baud rate 4800*/ :TRIGger:UART:BAUd? /* The query returns 4800*/ TRIGger:UART:ALEVel Syntax Description Parameter Return Example :TRIGger:UART:ALEVel :TRIGger:UART:ALEVel? : Set or query the trigger lev
Return Example : The query returns 5,6,7,8 :TRIGger:UART:WIDTh 5 /*set data width to 5*/ :TRIGger:UART:WIDTh? /* The query returns 5*/ TRIGger:UART:STOP Syntax :TRIGger:UART:STOP :TRIGger:UART:STOP? Description :Set or query the stop bit when the trigger condition is ERRor in UART trigger Parameter : ::= <1|2> Return Example : The query returns 1 or 2 :TRIGger:UART:STOP 2 /*set stop bit to 2*/ :TRIGger:UART:STOP? /* The query returns 2*/ TRIGger:UART:PARIty Syntax Description Parameter Ret
:TRIGger:UART:IDLe? /* The query returns HIGH*/ TRIGger:CAN The list of commands: TRIGger:CAN:SOURce TRIGger:CAN:IDLe TRIGger:CAN:BAUd TRIGger:CAN:CONdition TRIGger:CAN:ID TRIGger:CAN:DLC TRIGger:CAN:DATA TRIGger:CAN:VALId TRIGger:CAN:ALEVel TRIGger:CAN:SOURce Syntax Description Parameter Return Example :TRIGger:CAN:SOURce :TRIGger:CAN:SOURce? : Set or query the trigger source for the CAN trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The
TRIGger:CAN:BAUd Syntax : TRIGger:CAN:BAUd : TRIGger:CAN:BAUd? Description : Set or query the baud rate triggered by the CAN,unit is bps Parameter : ::= <10000|20000|33300|50000|62500|83300|100000|125000|250 000|500000|800000|1000000| customize > Return : The query returns baud rate Example : TRIGger:CAN:BAUd 4800 /*set baud rate 4800*/ : TRIGger:CAN:BAUd? /* The query returns 4800*/ TRIGger:CAN:CONdition Syntax :TRIGger:CAN:CONdition :TRIGger:CAN:CONdition? Description Paramete
TRIGger:CAN:DLC Syntax :TRIGger:CAN:DLC :TRIGger:CAN:DLC? Description : Set or query the data length code for CAN Parameter : ::= 4 bit Return Example : The query returns DLC :TRIGger:CAN:DLC 10 /*set dlc to 10*/ :TRIGger:CAN:DLC? /* The query returns 10*/ TRIGger:CAN:DATA Syntax Description Parameter Return Example :TRIGger:CAN:DATA :TRIGger:CAN:DATA? : Set or query the data value for CAN : ::= 8 bit : ::= Data index 0-3 : The query returns data :TRIGger:C
Parameter Return Example : ::= trigger level(unit is V) : The query returns the pulse width in scientific notation. : TRIGger:CAN:ALEVel 0.16 /*set trigger level 160mV*/ : TRIGger:CAN:ALEVel? /* The query returns 1.
Return Example : The query returns LOW,HIGH :TRIGger:LIN:IDLe LOW /*set idle level LOW*/ :TRIGger:LIN:IDLe? /* The query returns LOW*/ TRIGger:LIN:BAUd Syntax Description Parameter Return Example :TRIGger:LIN:BAUd :TRIGger:LIN:BAUd? : Set or query LIN trigger baud rate, the default unit bps : ::=<110|300|600|1200|2400|4800|9600|14400| 19200|38400|57600|115200|230400|380400|460400|921600 | customize > : The query returns baud rate :TRIGger:LIN:BAUd 4800 /*set baud rate 4800*/ :TRIGger:LIN:BA
:TRIGger:LIN:ID? /* The query returns 25*/ TRIGger:LIN:VALId Syntax Description Parameter Return Example :TRIGger:LIN:VALId :TRIGger:LIN:VALId? : Set or query LIN trigger data mask : ::= 0—3 : ::= <0|1> : The query returns 0,1 :TRIGger:LIN:VALId 0 1 /* The masked index is 0 for data */ :TRIGger:LIN:VALId? 0 /* The query returns 1*/ TRIGger:LIN:DATA Syntax Description Parameter Return Example :TRIGger:LIN:DATA :TRIGger:LIN:DATA? : Set or query t
:TRIGger:LIN:ALEVel? /* The query returns 1.
Description Parameter Return Example :TRIGger:IIC:SCL:SOURce? : Set or query the channel source of SCL in I2C trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:IIC:SCL:SOURce CHANnel1 /*set source to CH1*/ :TRIGger:IIC:SCL:SOURce? /* The query returns CHANnel1*/ TRIGger:IIC:CONdition Syntax :TRIGger:IIC:CONdition :TRIGger:IIC:CONdition? Description : Set or query the trigger condition in I2C trigger Parameter :<
: ::= Data index 0-3 Return : The query returns data Example :TRIGger:IIC:DATA 2 10 /* Set the data with index to 2 to 10*/ :TRIGger:IIC:DATA? 2 /* The query returns 10*/ TRIGger:IIC:VALId Syntax :TRIGger:IIC:VALId :TRIGger:IIC:VALId? Description Parameter : Set or query IIC to trigger data masking : ::= 0—3 : ::= <0|1> Return : The query returns 0,1 Example :TRIGger:IIC:VALId 0 1 /* The masked index is 0 for data */ :TRIGger:IIC:VALId? 0 /* The query returns 1
Description Parameter Return Example :TRIGger:IIC:BLEVel? : Set or query the trigger level of SDA in I2C trigger : ::= trigger level(unit is V) : The query returns the trigger level of SCL in scientific notation :TRIGger:IIC:BLEVel 0.16 /*set trigger level 160mV*/ :TRIGger:IIC:BLEVel? /* The query returns 1.
TRIGger:SPI:SCL:SOURce Syntax Description Parameter Return Example :TRIGger:SPI:SCL:SOURce :TRIGger:SPI:SCL:SOURce? : Set or query the channel source of SCL in SPI trigger : ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> : The query returns CHANnel1,CHANnel2,CHANnel3,CHANnel4 :TRIGger:SPI:SCL:SOURce CHANnel1 /* set source to CH1*/ :TRIGger:SPI:SCL:SOURce? /* The query returns CHANnel1*/ TRIGger:SPI:SCK Syntax Description Parameter Return Example :TRIGger:SPI:SCK :TRIGger:SPI:SC
Description Parameter Return Example :TRIGger:SPI:MASK? : Set or query the mask value under SPI trigger : ::= 0—(232-1) : The query returns mask data :TRIGger:SPI:MASK 20 /*set mask data to 20*/ :TRIGger:SPI:MASK? /* The query returns 20*/ TRIGger:SPI:OVERtime Syntax :TRIGger:SPI:OVERtime :TRIGger:SPI:OVERtime? Description : Set or query the timeout value when the trigger condition is TIMeout in SPI trigger Parameter : ::= the timeout value(unit is s) Return : The query returns the t
Example :TRIGger:SPI:ALEVel 0.16 /*set level to 160mV*/ :TRIGger:SPI:ALEVel? /* The query returns 1.600000e-01*/ TRIGger:SPI:BLEVel Syntax :TRIGger:SPI:BLEVel :TRIGger:SPI:BLEVel? Description :Set or query the trigger level of the SDA channel in SPI trigger Parameter : ::= the trigger level(unit is V) Return Example : The query returns the timeout value in scientific notation :TRIGger:SPI:BLEVel 0.16 /*set level to 160mV*/ :TRIGger:SPI:BLEVel? /* The query returns 1.
Example :TRIGger:LOGIc:CH1:POLarity H :TRIGger:LOGIc:CH1:POLarity? /*set ch1 code to H*/ /* The query returns H*/ TRIGger:LOGIc:WHEN Syntax :TRIGger:LOGIc:WHEN :TRIGger:LOGIc:WHEN? Description : Set or query the logic conditions for pattern triggering Parameter : ::= < AND|OR > Return Example : The query returns AND,OR :TRIGger:LOGIc:WHEN AND /*set logic condition to AND*/ :TRIGger:LOGIc:WHEN? /* The query returns AND*/ TRIGger:LOGIC:ACT:LEVEl Syntax Description Parameter Return Example
TRIGger:LOGIc:BLEVel Syntax Description Parameter Return Example :TRIGger:LOGIc:BLEVel :TRIGger:LOGIc:BLEVel? : Set or query the level of ch2 : ::= trigger level(unit is V) : The query returns the timeout value in scientific notation :TRIGger:LOGIc:BLEVel 0.16 /* set level to 160mV*/ :TRIGger:LOGIc:BLEVel? /* The query returns 1.
CALibrate commands The list of commands: CALibrate:STARt CALibrate:STATus? CALibrate:QUIT CALibrate:STARt Syntax :CALibrate:STARt Description : The oscilloscope begins to perform the self-calibration operation Explanation : The self-calibration operation enables the oscilloscope to reach the optimal working state rapidly to obtain the most accurate measurements. Ensure that all channels have no access to the signal until the calibration operation is completed.
MATH commands The list of commands: MATH:DISPlay MATH:OPERator MATH:SOURce1 MATH:SOURce2 MATH:SCALe MATH:OFFSet MATH:FFT:SOURce MATH:FFT:WINDow MATH:FFT:UNIT MATH:FFT:HSCale MATH:FFT:HCENter MATH:DISPlay Syntax Description Parameter Return Example :MATH:DISPlay :MATH:DISPlay? :Enable or disable the math operation function or query the math operation status : ::= {{1 | ON} | {0 | OFF} : The query returns ON,OFF :MATH:DISPlay ON /*Enable the math opera
:MATH:OPERator? /* The query returns ADD*/ MATH:SOURce1 Syntax Description Parameter Return Example :MATH:SOURce1 :MATH:SOURce1? : Set or query the mathematical operation source A : ::= : The query returns CHANnel1| CHANnel2| CHANnel3| CHANnel4 :MATH:SOURce1 CHANnel1 /*Set source A of algebraic operation to CHANnel1 */ :MATH:SOURce1? /* The query returns CHANnel1 */ MATH:SOURce2 Syntax Description Parameter Return Example :MATH:SOURce2
Return : The query returns the vertical scale of the operation result in scientific notation Example :MATH:OFFSet 2 /*set vertical offset to 2V */ :MATH:OFFSet? /* The query returns 2.
Description Parameter Return Example : Set or query the vertical unit of the FFT operation result.
WAVeform commands The list of commands: WAVeform:DATA:ALL? WAVeform:DATA:ALL? Syntax :WAVeform:DATA:ALL? Description : Gets any stored data Return : Returns the waveform packet containing the data header in remark the form of a string : For the first time, this command is parsed to data[x] data[0]-data[1] (2 bits): #9 data[2]-data[10](9 bits): Represents the byte length of the current packet data[11]-data[19](9 bits): The total length of bytes representing the amount of data data[20]-data[28](9 bits):
The data of waveform data[x] was resolved before the data was read again data[0]-data[1] (2 bits) : #9 data[2]-data[10](9 bits): Represents the byte length of the current packet data[11]-data[19](9bits): The total length of bytes representing the amount of data data[20]-data[28](9 bits): Represents the byte length of the data that has been uploaded data[29]-data[x]: Represents the waveform data corresponding to the current data header 59
DISPlay commands The list of commands: DISPlay:TYPE DISPlay:WBRightness DISPlay:GRID DISPlay:GBRightness DISPlay:TYPE Syntax Description Parameter Explanation Return Example :DISPlay:TYPE :DISPlay:TYPE? : Set or query the display mode of the waveform on the screen : ::= < VECTors| DOTS> :VECTors: the sample points are connected by lines. Normally, this mode can provide the most vivid waveform to view the steep edge of the waveform (such as square waveform).
DISPlay:GRID Syntax Description Parameter Return Example :DISPlay:GRID :DISPlay:GRID? : Set or query the grid type of screen display.
CURSor commands : The :CURSor commands are used to measure the X-axis value (such as time) and Y-axis value (such as voltage) of the waveform displayed on the screen.
CURSor:MODE Syntax Description Parameter Explanation Return Example :CURSor:MODE :CURSor:MODE? : Set or query the cursor measurement mode.
CURSor:MANual:AX Syntax Description Parameter Explanation Return Example :CURSor:MANual:AX :CURSor:MANual:AX? :Set or query the horizontal position of cursor A in the manual cursor measurement mode : ::= 0--770 : The horizontal and vertical positions of the cursor are defined by the pixel coordinate ofthe screen.
CURSor:MANual:AYValue? Syntax Description Return Example :CURSor:MANual:AYValue? : Query the Y value of cursor A in the manual cursor measurement mode. The unit depends on the vertical unit currently selected. : The query returns the Y value of cursor A in scientific notation. :CURSor:MANual:AYValue? /* The query returns 2.
Description : Set or query the vertical position of cursor B in the manual cursor measurement mode. Parameter : ::= 0--400 Explanation : The horizontal and vertical positions of the cursor are defined by the pixel coordinate of the screen.
Description Parameter Return Example :CURSor:TRACk:SOURceb? : Set or query the channel source of cursor B in the track cursor measurement mode.
Description : Query the vertical position of cursor A in the track cursor measurement mode. Return : The query returns value Example :CURSor:TRACk:AY? /* The query returns 288*/ CURSor:TRACk:AYValue? Syntax Description Return Example :CURSor:TRACk:AYValue? : Query the Y value of cursor A in the track cursor measurement mode. The unit is the same as the channel unit currently selected. : The query returns the Y value of cursor A in scientific notation. :CURSor:TRACk:AYValue? /* The query returns -4.
CURSor:TRACk:BY? Syntax Description :CURSor:TRACk:BY? : Query the vertical position of cursor B in the track cursor measurement mode. Return : The query returns value Example :CURSor:TRACk:BY? /* The query returns 288*/ CURSor:TRACk:BYValue? Syntax Description Return Example :CURSor:TRACk:BYValue? : Query the Y value of cursor B in the track cursor measurement mode. The unit is the same as the channel unit currently selected. : The query returns the Y value of cursor B in scientific notation.
MEASure commands The list of commands: MEASure:ENABle MEASure:SOURce MEASure:ADISplay MEASure:ITEM MEASure:GATE:ENABle MEASure:GATE:AY MEASUre:GATE:BY MEASure:ENABle Syntax Description Parameter Return Example :MEASure:ENABle :MEASure:ENABle? : Set or query the measurement function status : ::= {{1 | ON} | {0 | OFF} : The query returns ON,OFF :MEASure:ENABle ON /*open measure */ :MEASure:ENABle? /* The query returns ON*/ MEASure:SOURce Syntax Description Parameter
MEASure:ADISplay Syntax Description Parameter Return Example :MEASure:ADISplay :MEASure:ADISplay? : Open or close all measurements, or query the current full measurement status.
Example :MEASure:GATE:ENABle ON :MEASure:GATE:ENABle? /*open gete function*/ /* The query returns ON*/ MEASure:GATE:AY Syntax :MEASure:GATE:AY :MEASure:GATE:AY? Description : Sets or queries the value of cursor A Parameter : ::= 0--400 Return : The query returns value Example :MEASure:GATE:AY 100 :MEASure:GATE:AY? /*set A value to 100*/ /* The query returns 100*/ MEASUre:GATE:BY Syntax Description Parameter Return Example :MEASure:GATE:BY :MEASure:GATE:BY? : Sets or queries th
MASK commands The list of commands: MASK:EANBle MASK:SOURce MASK:MDISplay MASK:SOOutput MASK:OUTPut MASK:X MASK:Y MASK:CREate MASK:EANBle Syntax Description Parameter Return Example :MASK:EANBle :MASK:EANBle? : Enable or disable the pass/fail test or query the status of the past/fail test.
Description Parameter Return Example :MASK:MDISplay? : Enable or disable the statistic information when the pass/fail test is enabled, or query the status of the statistic information. : ::= {{1 | ON} | {0 | OFF} : The query returns ON,OFF :MASK:MDISplay ON /**/ :MASK:MDISplay? /* The query returns ON*/ MASK:SOOutput Syntax :MASK:SOOutput :MASK:SOOutput? Description : Turn the "Stop on Fail" function on or off, or query the status of the "Stop on Fail" function.
Example :MASK:OUTPut ON :MASK:OUTPut? /**/ /* The query returns ON*/ MASK:X Syntax :MASK:X :MASK:X? Description : Set or query the horizontal adjustment parameter in the pass/fail test mask. The default unit is div. Parameter : ::= 0.02 -- 4 Return : The query returns the horizontal adjustment parameter in scientific notation. Example :MASK:X 0.28 /*Set the horizontal adjustment parameter to 0.28div*/ :MASK:X? /* The query returns 2.
SYSTem commands The list of commands: SYSTem:GAM? SYSTem:RAM? SYSTem:PON SYSTem:LANGuage SYSTem:LOCKed SYSTem:GAM? Syntax Description :SYSTem:GAM? :Query the number of grids in the horizontal direction of the instrument screen. Explanation : The query always returns 12. SYSTem:RAM? Syntax Description Explanation :SYSTem:RAM? : Query the number of analog channels of the instrument. : The query always returns 4.
Parameter : ::= {{1 | ON} | {0 | OFF} Return : The query returns ON,OFF SYSTem:SET:TIME Syntax Description Parameter Example :SYSTem:SET:TIME
DDS commands The list of commands: DDS:SWITch DDS:TYPE DDS:FREQ DDS:AMP DDS:OFFSet DDS:DUTY DDS:WAVE:MODE DDS:MODE:TYPE DDS:MODE:WAVE:TYPE DDS:MODE:FREQ DDS:MODE:DEPThordeviation DDS:BURSt:SWITch DDS:BURSt:TYPE DDS:BURSt:CNT DDS:BURSt:SRC DDS:BURSt:SLOPE DDS:BURSt:GATE:POLArity DDS:BURSt:TRIGger DDS:SWITch Syntax Description Parameter Return Example :DDS:SWITch :DDS:SWITch? : Sets or queries the source status : ::= {{1 | O
DDS:TYPE Syntax Description Parameter Return Example :DDS:TYPE :DDS:TYPE? : Set or query the signal source waveform type : ::= { SINE| SQUAre| RAMP| EXP| NOISe| DC| ARB1 | ARB2| ARB3| ARB4} : The query returns SINE,SQUAre,RAMP,EXP,NOISe,DC,ARB1 ,ARB2,ARB3,ARB4 :DDS:TYPE SINE /* Sets the signal source waveform type :DDS:TYPE? as sine wave */ /* The query returns SINE*/ DDS:FREQ Syntax :DDS:FREQ :DDS:FREQ? Description : To set or query the frequency of the signal Parameter : ::=
Example :DDS:OFFSet 0.5 :DDS:OFFSet? /* Set signal source waveform offset 0.5V*/ /*return 5.
DDS:MODE:WAVE:TYPE Syntax Description Parameter Return Example :DDS:MODE:WAVE:TYPE :DDS:MODE:WAVE:TYPE? : Set or query the modulation wave type when the signal source is modulated : ::= { SINE| SQUAre| RAMP} :return SINE,SQUAre,RAMP :DDS:MODE:WAVE:TYPE SINE /*Set the signal source modulated wave typeSINE*/ :DDS:MODE:WAVE:TYPE? /*return SINE*/ DDS:MODE:FREQ Syntax Description Parameter Return Example :DDS:MODE:FREQ :DDS:MODE:FREQ? : Set or query the frequency of modulated waves when t
:FM :DDS:MODE:DEPThordeviation 1000 /* Set the bias 1khz*/ :DDS:MODE:DEPThordeviation? /*return 1000*/ DDS:BURSt:SWITch Syntax Description Parameter Return Example :DDS:BURSt:SWITch :DDS:BURSt:SWITch? : Set or query the signal source burst state : ::= {{1 | ON} | {0 | OFF} :return ON,OFF :DDS:BURSt:SWITch ON /* Open source burst */ :DDS:BURSt:SWITch? /*return ON*/ DDS:BURSt:TYPE Syntax Description Parameter Return Example :DDS:BURSt:TYPE :DDS:BURSt:TYPE? : Set or query the source bur
DDS:BURSt:SRC Syntax Description Parameter Return Example :DDS:BURSt:SRC :DDS:BURSt:SRC? : Set or query the source of the signal source : ::= { EXT| MANU} : Query return EXT,MANU :DDS:BURSt:SRC EXT /* Setting the burst source is external */ :DDS:BURSt:SRC? /*return EXT*/ DDS:BURSt:SLOPE Syntax Description Parameter Return Example :DDS:BURSt:SLOPE :DDS:BURSt:SLOPE? : Set or query the signal source burst edge : ::= { RAISING| FALLING} : Query return RAISING,FALLING :DDS:BURSt:SLOP
DDS:ARB:DAC16:BIN Syntax :DDS:ARB:DAC16:BIN Description : Download waveform data, Represents the download of binary data, Binary data blocks that begin with a #,“#508192” Binary data,“The "5" after "#" indicates that there are five characters representing the length of the data, “8192” There are 8192 bytes representing binary data。Each wave point corresponds to a binary number of two bytes(For example, point 1024 corresponds to the binary number 0x04