Hantek DSO2000 Series Programmer's Manual

Hantek DSO2000 Series Programmer's Manual

Digital storage oscilloscope
Hide thumbs Also See for DSO2000 Series:
Table of Contents

Advertisement

SCPI Programmers Manual
DSO2000 Series Digital Storage Oscilloscope

Advertisement

Table of Contents
loading

Summary of Contents for Hantek DSO2000 Series

  • Page 1 SCPI Programmers Manual DSO2000 Series Digital Storage Oscilloscope...
  • Page 2: Introduction To Scpi Commands

    SCPI Programmers Manual Introduction to SCPI commands SCPI is the abbreviation of Programmable Instrument Standard Commands. It defines a set of standard syntax and commands for controlling programmable test and measurement instruments. SCPI commands are ASCII strings that are passed into the instrument through the physical transport layer. The command consists of a series of keywords, and some also need to include parameters.
  • Page 3 SCPI Programmers Manual For example: :MEASure:ADISplay? Can be abbreviated to :MEAS:ADIS?
  • Page 4: Table Of Contents

    SCPI Programmers Manual Contents Introduction to SCPI commands ......................2 1. CHANnel<n> Command Subsystem ....................9 1.1 CHANnel<n>:BWLimit ......................9 1.2 CHANnel<n>:COUPling ......................9 1.3 CHANnel<n>:DISPlay ......................10 1.4 CHANnel<n>:INVert ......................10 1.5 CHANnel<n>:OFFSet ......................10 1.6 CHANnel<n>:SCALe ......................11 1.7 CHANnel<n>:PROBe ......................
  • Page 5 SCPI Programmers Manual 4.8.1 TRIGger:SLOPe:SOURce .................... 20 4.8.2 TRIGger:SLOPe:POLarity .................... 20 4.8.3 TRIGger:SLOPe:WHEN ....................20 4.8.4 TRIGger:SLOPe:WIDth ....................21 4.8.5 TRIGger:SLOPe:ALEVel ....................21 4.8.6 TRIGger:SLOPe:BLEVel ....................21 4.9 TRIGger:TV ........................... 21 4.9.1 TRIGger:TV:SOURce ....................22 4.9.2 TRIGger:TV:POLarity ....................22 4.9.3 TRIGger:TV:MODE ..................... 22 4.9.4 TRIGger:TV:LINE ......................
  • Page 6 SCPI Programmers Manual 4.14.7 TRIGger:UART:PARIty ....................29 4.15 TRIGger:CAN ........................30 4.15.1 TRIGger:CAN:SOURce ....................30 4.15.2 TRIGger:CAN:IDLe ....................30 4.15.3 TRIGger:CAN:BAUd ....................30 4.15.4 TRIGger:CAN:CONdition ..................31 4.15.5 TRIGger:CAN:ID ....................... 31 4.15.6 TRIGger:CAN:DLC ....................31 4.15.7 TRIGger:CAN:DATA ....................31 4.15.8 TRIGger:CAN:ALEVel ....................31 4.16 TRIGger:LIN ........................
  • Page 7 SCPI Programmers Manual 5.3 CALibrate:QUIT ........................39 6. MATH Command Subsystem ......................39 6.1 MATH:DISPlay ........................39 6.2 MATH:OPERator ........................40 6.3 MATH:SOURce1 ........................40 6.4 MATH:SOURce2 ........................40 6.5 MATH:SCALe ........................40 6.6 MATH:OFFSet ........................41 6.7 MATH:FFT:SOURce ....................... 41 6.8 MATH:FFT:WINDow ......................
  • Page 8 SCPI Programmers Manual 10. MEASure Command Subsystem ....................49 10.1 MEASure:ENABle ........................ 50 10.2 MEASure:SOURce ....................... 50 10.3 MEASure:ADISplay ......................50 10.4 MEASure: CHANnel<n>:ITEM ..................... 50 10.5 MEASure:GATE:ENABle ...................... 51 10.6 MEASure:GATE:AY ......................51 10.7 MEASUre:GATE:BY ......................51 11. MASK Command Subsystem ......................51 11.1 MASK:EANBle ........................
  • Page 9: Channel Command Subsystem

    SCPI Programmers Manual 1. CHANnel<n> Command Subsystem :CHANnel<n> commands are used to set or query the vertical system parameters such as bandwidth limit, coupling, vertical scale, and vertical offset of the analog channel of the oscilloscope. Command List ⚫ CHANnel<n>:BWLimit ⚫...
  • Page 10: Channel:Display

    SCPI Programmers Manual Return The query returns AC,DC,GND Example :CHANnel1:COUPling AC /*Select AC coupling mode*/ :CHANnel1:COUPling? /*Query returns AC*/ 1.3 CHANnel<n>:DISPlay Command :CHANnel<n>:DISPlay <bool> :CHANnel<n>:DISPlay? Description Turn on or off the specified channel or query the switch status of the specified channel.
  • Page 11: Channel:Scale

    SCPI Programmers Manual 1.6 CHANnel<n>:SCALe Command :CHANnel<n>:SCALe <scale> [<suffix>] :CHANnel<n>:SCALe? Description Sets or queries the vertical scale of the specified channel. The default unit is V. Parameters :<scale> ::= vertical units per division in NR3 format :<suffix> ::= {V | mV} :<n>::= {1 | 2 | 3 | 4} ▷CHANnel<n>:SCALe command to setup each channel’s vertical scale.The settable State...
  • Page 12: Timebase Command Subsystem

    SCPI Programmers Manual scale*/ :CHANnel1:VERNier? /*The query returns 1*/ 2. TIMebase Command Subsystem Command List ⚫ TIMebase:WINDow:ENABle ⚫ TIMebase:WINDow:POSition ⚫ TIMebase:WINDow:SCALe ⚫ TIMebase:POSition ⚫ TIMebase:SCALe ⚫ TIMebase:RANGe ⚫ TIMebase:MODE 2.1 TIMebase:WINDow:ENABle Command :TIMebase:WINDow:ENABle <bool> :TIMebase:WINDow:ENABle? Description Turn on or off the dual window function, or query the status of the dual window. Parameters :<bool>...
  • Page 13: Timebase:window:scale

    SCPI Programmers Manual 2.3 TIMebase:WINDow:SCALe Command :TIMebase:WINDow:SCALe <scale_value> :TIMebase:WINDow:SCALe? Description Set or query the horizontal scale of the sub-window (microseconds/div). Parameters :<sacle_value> ::= The current number of microseconds per grid of the subwindow. State The main scan scale determines the range of this command, the maximum value is half of the main scan scale.
  • Page 14: Acquire Command Subsystem

    SCPI Programmers Manual Parameters :<value> ::= <MAIN | XY | ROLL> ▷MAIN: YT mode State ▷XY: XY mode ▷ROLL: ROLL mode Return The query returns MAIN, XY, or ROLL. Example :TIMebase:MODE XY /*Set the horizontal time base mode to XY mode*/ :TIMebase:MODE? /*The query returns XY*/ 3.
  • Page 15: Acquire:srate

    SCPI Programmers Manual sampled multiple times to reduce random noise on the input signal and improve vertical resolution. The number of averages can be set by the: ACQuire: AVERages command. The higher the number of averages, the lower the noise and the higher the vertical resolution, but the slower the response of the displayed waveform to waveform changes.
  • Page 16: Trigger:force

    SCPI Programmers Manual ⚫ 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:PATTern 4.1 TRIGger:FORCe Command :TRIGger:FORCe Description Select or query the force trigger. State Even if the trigger conditions are not met, this command will let the oscilloscope acquire waveforms...
  • Page 17: Trigger:sweep

    SCPI Programmers Manual 4.4 TRIGger:SWEep Command :TRIGger:SWEep <value> :TRIGger:SWEep? Description Set or query the trigger mode. Parameters :<value> ::= < AUTO | NORMal | SINGle> ▷AUTO: Automatic triggering, waveform display regardless of whether trigger State conditions are met. ▷NORMal: Normal trigger, display the waveform when the trigger condition is met, keep the original waveform display when the trigger condition is not met, and wait for the next trigger.
  • Page 18: Trigger:edge:slope

    SCPI Programmers Manual 4.6.2 TRIGger:EDGe:SLOPe Command :TRIGger:EDGe:SLOPe <slope> :TRIGger:EDGe:SLOPe? Description Set or query the type of edge trigger. Parameters :<slope> ::= < RISIng| FALLing | EITHer > ▷RISIng: rising edge State ▷FALLing: falling edge ▷EITHer: rising or falling edge Return The query returns RISIng, FALLing, EITHer Example :TRIGger:EDGe:SLOPe RISIng /*Set the edge type to rising edge*/...
  • Page 19: Trigger:pulse:when

    SCPI Programmers Manual Description Set or query the trigger polarity of pulse width trigger Parameters :<polarity> ::= < POSItive | NEGAtive> ▷POSItive: Positive pulse trigger State ▷NEGAtive: negative pulse trigger Return The query returns POSItive, NEGAtive Example :TRIGger:PULSe:POLarity POSItive /*Set positive pulse trigger*/ :TRIGger:PULSe:POLarity? /*The query returns POSItive*/ 4.7.3 TRIGger:PULSe:WHEN Command...
  • Page 20: Trigger:slope:source

    SCPI Programmers Manual ⚫ TRIGger:SLOPe:SOURce ⚫ TRIGger:SLOPe:POLarity ⚫ TRIGger:SLOPe:WHEN ⚫ TRIGger:SLOPe:WIDth ⚫ TRIGger:SLOPe:ALEVel ⚫ TRIGger:SLOPe:BLEVel 4.8.1 TRIGger:SLOPe:SOURce Command :TRIGger:SLOPe:SOURce <source> :TRIGger:SLOPe:SOURce? Description Set or query the trigger source of slope trigger Parameters :<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> Return The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4 Example...
  • Page 21: Trigger:slope:width

    SCPI Programmers Manual Return The query returns EQUAl, NEQUal, GRAt, LESS Example :TRIGger:SLOPe:WHEN NEQUal /*Set trigger condition to NEQUal*/ :TRIGger:SLOPe:WHEN? /*The query returns NEQUal*/ 4.8.4 TRIGger:SLOPe:WIDth Command :TRIGger:SLOPe:WIDth <value> :TRIGger:SLOPe:WIDth? Description Set or query the trigger condition of the slope trigger. Parameters :<value>...
  • Page 22: Trigger:tv:source

    SCPI Programmers Manual 4.9.1 TRIGger:TV:SOURce Command :TRIGger:TV:SOURce <source> :TRIGger:TV:SOURce? Description Select or query the trigger source of the video trigger. Parameters :<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> Return The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4 Example :TRIGger:TV:SOURce CHANnel1 /*Settrigger source to CH1*/ :TRIGger:TV:SOURce? /*The query returns CHANnel1*/ 4.9.2 TRIGger:TV:POLarity...
  • Page 23: Trigger:tv:standard

    SCPI Programmers Manual 4.9.5 TRIGger:TV:STANdard Command :TRIGger:TV:STANdard <standard> :TRIGger:TV:STANdard? Description Set or query the video standard of the video Parameters :<standard> ::= < NTSC | PAL > Return The query returns NTSC, PAL Example :TRIGger:TV:STANdard NTSC /*Select NTSC video standard*/ :TRIGger:TV:STANdard? /*The query returns NTSC*/ 4.9.6 TRIGger:VIDeo:LEVel Command...
  • Page 24: Trigger:timeout:width

    SCPI Programmers Manual 4.10.3 TRIGger:TIMeout:WIDth Command :TRIGger:TIMeout:WIDth <value> :TRIGger:TIMeout:WIDth? Description Sets or queries the timeout period triggered by the timeout. Parameters :<value> ::=trigger timeout value (range: 8ns-10s) Return The query returns the timeout value in scientific notation. :TRIGger:TIMeout:WIDth 0.000003 /*Set the timeout time to 3μs*/ Example :TRIGger:TIMeout:WIDth? /*The query returns 3.000000e-06*/ 4.10.4 TRIGger:TIMeout:POLarity...
  • Page 25: Trigger:window:blevel

    SCPI Programmers Manual Example :TRIGger:WINDOw:ALEVel 0.16 /*Set the trigger level upper limit to 160mV*/ :TRIGger:WINDOw:ALEVel? /*The query returns 1.600000e-01*/ 4.11.3 TRIGger:WINDOw:BLEVel Command :TRIGger:WINDOw:BLEVel <level> :TRIGger:WINDOw:BLEVel? Description Set or query the lower limit of the trigger level when the amplitude trigger is triggered.
  • Page 26: Trigger:interval:when

    SCPI Programmers Manual 4.12.3 TRIGger:INTERVAl:WHEN Command :TRIGger:INTERVAl:WHEN <when> :TRIGger:INTERVAl:WHEN? Description Set or query the trigger condition of the interval trigger Parameters :<when> ::= < EQUAl| NEQUal| GREAt| LESS> State The interval between two consecutive rising (or falling) edges meets the set time condition(<,>, =,! =) Return The query returns EQUAl, NEQUal, GRAt, LESS...
  • Page 27: Trigger:under_Am:source

    SCPI Programmers Manual 4.13.1 TRIGger:UNDER_Am:SOURce Command :TRIGger:UNDER_Am:SOURce <source> :TRIGger:UNDER_Am:SOURce? Description Set or query the trigger source of runt trigger. Parameters :<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> Return The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4. Example :TRIGger:UNDER_Am:SOURce CHANnel1 /*Set the trigger source to CH1*/ :TRIGger:UNDER_Am:SOURce? /*The query returns CHANnel1*/ 4.13.2 TRIGger:UNDER_Am:POLarity Command...
  • Page 28: Trigger:under_Am:blevel

    SCPI Programmers Manual Return The query returns the upper trigger level in scientific notation. Example :TRIGger:UNDER_Am:ALEVel 0.16 /*Set the trigger level upper limit to 160mV*/ :TRIGger:UNDER_Am:ALEVel? /*The query returns 1.600000e-01*/ 4.13.6 TRIGger:UNDER_Am:BLEVel Command :TRIGger:UNDER_Am:BLEVel <level> :TRIGger:UNDER_Am:BLEVel? Description Set or query the lower limit of the trigger level when the runt pulse is triggered. Parameters :<level>...
  • Page 29: Trigger:uart:alevel

    SCPI Programmers Manual :TRIGger:UART:BAUd? Description Set or query the baud rate triggered by the UART. The default unit is bps. Parameters :<baud> ::=<110|300|600|1200|2400|4800|9600|14400|19200|38400|57600|115200|230 400|380400|460400|921600|USER> Return The query returns an integer or USER. Example :TRIGger:UART:BAUd 4800 /*Set the baud rate to 4800*/ :TRIGger:UART:BAUd? /*he query returns 4800*/ 4.14.4 TRIGger:UART:ALEVel Command...
  • Page 30: Trigger:can

    SCPI Programmers Manual 4.15 TRIGger:CAN Command List ⚫ TRIGger:CAN:SOURce ⚫ TRIGger:CAN:IDLe ⚫ TRIGger:CAN:BAUd ⚫ TRIGger:CAN:CONdition ⚫ TRIGger:CAN:ID ⚫ TRIGger:CAN:DLC ⚫ TRIGger:CAN:DATA ⚫ TRIGger:CAN:ALEVel 4.15.1 TRIGger:CAN:SOURce Command :TRIGger:CAN:SOURce <source> :TRIGger:CAN:SOURce? Description Set or query the trigger source of CAN trigger. Parameters :<source>...
  • Page 31: Trigger:can:condition

    SCPI Programmers Manual 4.15.4 TRIGger:CAN:CONdition Command :TRIGger:CAN:CONdition <condition> :TRIGger:CAN:CONdition? Description Set or query the trigger conditions for CAN trigger Parameters :<condition> ::= < FRAM_STARE | FRAM_REMO_ID | FRAM_DATA_ID | REMO/DATA_ID | DATA_ID/DATA | FRAM_REE | FRAM_OVERLOAD | ERR_ALL | ACK_ERR > Return Query returns FRAM_STARE | FRAM_REMO_ID | FRAM_DATA_ID |REMO/DATA_ID | DATA_ID/DATA | FRAM_REMO_ID_EXT |FRAM_DATA_ID_EXT...
  • Page 32: Trigger:lin

    SCPI Programmers Manual Description Set or query the trigger level during CAN trigger Parameters :<level> ::= trigger level value (in V) Return Returns the trigger level value in scientific notation Example :TRIGger:CAN:ALEVel 0.16 /*Set trigger level 160mV*/ :TRIGger:CAN:ALEVel? TRIGger:CAN:ALEVel? 4.16 TRIGger:LIN Command List ⚫...
  • Page 33: Trigger:lin:condition

    SCPI Programmers Manual 400|380400|460400|921600|USER> Return The query returns an integer Example :TRIGger:LIN:BAUd 4800 /*set the baud rate is 4800*/ :TRIGger:LIN:BAUd? /*The query returns 4800*/ 4.16.4 TRIGger:LIN:CONdition Command :TRIGger:LIN:CONdition <condition> :TRIGger:LIN:CONdition? Description LIN trigger conditions set trigger or queries Parameters :<condition> ::= < INTERVAL_FIELD|SYNC_FIELD|ID_FIELD|DATA|IDENTIFIER|ID_DATA >...
  • Page 34: Trigger:iic:sda:source

    SCPI Programmers Manual ⚫ TRIGger:IIC:SDA:SOURce ⚫ TRIGger:IIC:SCL:SOURce ⚫ TRIGger:IIC:CONdition ⚫ TRIGger:IIC:ADDer ⚫ TRIGger:IIC:DATA ⚫ TRIGger:IIC:ALEVel ⚫ TRIGger:IIC:BLEVel 4.17.1 TRIGger:IIC:SDA:SOURce Command :TRIGger:IIC:SDA:SOURce <source> :TRIGger:IIC:SDA:SOURce? Description Set or query the channel source of the I2C triggered data line. Parameters :<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> Return The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4 Example...
  • Page 35: Trigger:iic:data

    SCPI Programmers Manual Description Set or query the address value when the IIC trigger condition is an address or address data. Parameters :<addr> ::= 8 digits Return The query returns an integer. Example :TRIGger:IIC:ADDer 20 /*Set the address value to 20*/ :TRIGger:IIC:ADDer? /*The query returns START 20*/ 4.17.5 TRIGger:IIC:DATA Command...
  • Page 36: Trigger:spi:sda:source

    SCPI Programmers Manual ⚫ TRIGger:SPI:MASK ⚫ TRIGger:SPI:ALEVel ⚫ TRIGger:SPI:BLEVel 4.18.1 TRIGger:SPI:SDA:SOURce Command :TRIGger:SPI:SDA:SOURce <source> :TRIGger:SPI:SDA:SOURce? Description Set or query the channel source of the data line triggered by SPI. Parameters :<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4> Return The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4 Example...
  • Page 37: Trigger:spi:mask

    SCPI Programmers Manual :TRIGger:SPI:DATA? Description Set or query the data value triggered by SPI. Parameters :<data> ::= 0—(2 Return The query returns an integer. Example :TRIGger:SPI:DATA 20 /*Set the data value to 20*/ :TRIGger:SPI:DATA? /*The query returns 20*/ 4.18.6 TRIGger:SPI:MASK Command :TRIGger:SPI:MASK <mask>...
  • Page 38: Trigger:pattern:level

    SCPI Programmers Manual :<pa_ch1> Discrete {H|L|X|} :<pa_ch2> Discrete {H|L|X|} :<pa_ch3> Discrete {H|L|X|} :<pa_ch4> Discrete {H|L|X|} :<pa_D10> Discrete {H|L|X|} :<pa_D43> Discrete {H|L|X|} State Parameters <pa_ch1> to <pa_ch4> set the pattern of the analog channels CH1 to CH4, and parameters <pa_D10> to <pa_D43> set the pattern of the digital channel.
  • Page 39: Calibrate:status

    SCPI Programmers Manual Description The oscilloscope starts performing a self-calibration operation. ▷ Self-calibration operation can quickly make the oscilloscope reach the best working State condition to obtain the most accurate measurement value. ▷ Before performing a self-calibration, make sure that no signals are connected to all channels until the self-calibration operation ends.
  • Page 40: Math:operator

    SCPI Programmers Manual Return The query returns ON,OFF. Example :MATH:DISPlay ON /*Turn on the mathematical operation function*/ :MATH:DISPlay? /*Query returns ON*/ 6.2 MATH:OPERator Command :MATH:OPERator <type> :MATH:OPERator? Description Sets or queries the operator of a mathematical operation. Parameters :<type> ::= < ADD| SUBTract| MULTiply| DIVision| FFT> Return The query returns ADD,SUBTract,MULTiply,DIVision,FFT Example...
  • Page 41: Math:offset

    SCPI Programmers Manual 6.6 MATH:OFFSet Command :MATH:OFFSet <value> :MATH:OFFSet? Description Sets or queries the vertical offset of the operation result. Parameters :<value> ::= offset value (in V) Return The query returns the vertical offset of the current operation result in scientific notation.
  • Page 42: Math:fft:hcenter

    SCPI Programmers Manual :MATH:FFT:HSCale? Description Set or query the horizontal scale of the FFT operation result. The default unit is Hz. Parameters :<hscale> ::= <125000|250000|625000|1250000> State You can observe the detailed information of the spectrum by reducing the horizontal scale. Return The query returns the current horizontal scale in scientific notation.
  • Page 43: Display Command Subsystem

    SCPI Programmers Manual data[94]-data[102] (9 digits): Display trigger time of current frame. data[103]-data[111] (9 digits): The current frame displays the start point of the data acquisition start time point. data[112]-data[127] (16digits): Reserved bit. This command is issued again before this data is read to analyze the waveform data data[x] as follows: data[0]-data[1] (2 digits): #9 data[2]-data[10] (9 digits): Indicates the byte length of the current data packet.
  • Page 44: Display:grid

    SCPI Programmers Manual 8.3 DISPlay:GRID Command :DISPlay:GRID <type> :DISPlay:GRID? Description Sets or queries the type of grid displayed on the screen. Parameters :<type> ::= < DOTTed| REAL> State DOTTed: dot grid REAL: line grid Return The query returns DOTTed, REAL Example :DISPlay:GRID DOTTed /*set the background grid to DOTTed */ :DISPlay:GRID? /*The query returns DOTTed*/...
  • Page 45: Cursor:mode

    SCPI Programmers Manual ⚫ CURSor:TRACk:SOURcea ⚫ CURSor:TRACk:SOURceb ⚫ CURSor:TRACk:AX ⚫ CURSor:TRACk:AXValue? ⚫ CURSor:TRACk:AY? ⚫ CURSor:TRACk:AYValue? ⚫ CURSor:TRACk:BX ⚫ CURSor:TRACk:BXValue? ⚫ CURSor:TRACk:BY? ⚫ CURSor:TRACk:BYValue? 9.1 CURSor:MODE Command :CURSor:MODE <type> :CURSor:MODE? Description Set or query the cursor measurement mode. Parameters :<type> ::= < OFF| MANual| TRACk > State MANual: Turn on the manual cursor measurement mode.
  • Page 46: Cursor:manual:ax

    SCPI Programmers Manual :CURSor:MANual:SOURce? Description Set or query the channel source for manual cursor measurement. Parameters :<source> ::= < CHANnel1|CHANnel2| MATH> Return The query returns CHANnel1, CHANnel2, MATH Example :CURSor:MANual:SOURce CHANnel1 /*Set the channel source to CH1*/ :CURSor:MANual:SOURce? /*The query returns CHANnel1*/ 9.4 CURSor:MANual:AX Command :CURSor:MANual:AX <value>...
  • Page 47: Cursor:manual:bx

    SCPI Programmers Manual 9.8 CURSor:MANual:BX Command :CURSor:MANual:BX <value> :CURSor:MANual:BX? Description Set or query the horizontal position of cursor B when manual cursor measurement is performed. Parameters :<type> ::= 0-770 State The horizontal and vertical positions of the cursor are defined by the pixel coordinates of the screen.
  • Page 48: Cursor:track:sourceb

    SCPI Programmers Manual Return The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4 or MATH. Example :CURSor:TRACk:SOURcea CHANnel1 /*Set the channel source to CH1*/ :CURSor:TRACk:SOURcea? /*The query returns CHANnel1*/ 9.13 CURSor:TRACk:SOURceb Command :CURSor:TRACk:SOURceb <source> :CURSor:TRACk:SOURceb? Description Set or query the channel source of cursor B measurement during cursor tracking measurement.
  • Page 49: Cursor:track:bx

    SCPI Programmers Manual 9.18 CURSor:TRACk:BX Command :CURSor:TRACk:BX <value> :CURSor:TRACk:BX? Description Set or query the horizontal position of cursor B when cursor tracking measurement. Parameters :<type> ::= 0-770 State The horizontal and vertical positions of the cursor are defined by the pixel coordinates of the screen.
  • Page 50: Measure:enable

    SCPI Programmers Manual ⚫ MEASure:GATE:AY ⚫ MEASUre:GATE:BY 10.1 MEASure:ENABle Command :MEASure:ENABle <bool> :MEASure:ENABle? Description Set or query the measurement function status Parameters :<bool> ::= {{1 | ON} | {0 | OFF} Return The query returns ON,OFF Example :MEASure:ENABle ON /*turn on measurement function*/ :MEASure:ENABle? /*Query returns ON*/ 10.2 MEASure:SOURce Command...
  • Page 51: Measure:gate:enable

    SCPI Programmers Manual 10.5 MEASure:GATE:ENABle Command :MEASure:GATE:ENABle <bool> :MEASure:GATE:ENABle? Description Set or query the current gate control status Parameters :<bool> ::= {{1 | ON} | {0 | OFF} Return The query returns ON,OFF Example :MEASure:GATE:ENABle ON /*Turn on the gate function*/ :MEASure:GATE:ENABle? /*Query returns ON*/ 10.6 MEASure:GATE:AY Command...
  • Page 52: Mask:eanble

    SCPI Programmers Manual 11.1 MASK:EANBle Command :MASK:EANBle <bool> :MASK:EANBle? Description Turn the pass / fail test function on or off, or query the status of the pass / fail test function. Parameters :<bool> ::= {{1 | ON} | {0 | OFF} Return The query returns ON,OFF Example...
  • Page 53: Mask:sooutput

    SCPI Programmers Manual 11.5 MASK:SOOutput Command :MASK:SOOutput <bool> :MASK:SOOutput? Description Turn on or off the sound prompt when the test fails output, or query the status of the sound prompt. Parameters :<bool> ::= {{1 | ON} | {0 | OFF} ▷Off: When a failed waveform is detected, it will be displayed and output, but the State buzzer will not alarm.
  • Page 54: System:gam

    SCPI Programmers Manual ⚫ SYSTem:GAM? ⚫ SYSTem:RAM? ⚫ SYSTem:PON ⚫ SYSTem:LANGuage ⚫ SYSTem:LOCKed ⚫ SETUp:ALL? 12.1 SYSTem:GAM? Command :SYSTem:GAM? Description Query the number of grids in the horizontal direction of the instrument screen. Return The query returns 12. 12.2 SYSTem:RAM? Command :SYSTem:RAM? Description...
  • Page 55: Setup:all

    SCPI Programmers Manual :SYSTem:LOCKed? Description Turn the keyboard lock function on or off, or query the status of the keyboard lock function. Parameters :<bool> ::= {{1 | ON} | {0 | OFF} Return The query returns ON,OFF. 12.6 SETUp:ALL? Command :SETUp:ALL? Description Get all the states needed to boot up at once.
  • Page 56 SCPI Programmers Manual Window trigger source: <Detailed view TRIGger:WINDOw:SOURce> Window trigger level a: <See TRIGger:WINDOw:ALEVel for details> Window trigger level b: <See TRIGger:WINDOw:BLEVel for details> Interval trigger source: <For details, see TRIGger:INTERVAl:SOURce> Interval trigger edge: <See TRIGger:INTERVAl:SLOp for details> Interval trigger condition: <See TRIGger:INTERVAl:WHEN for details> Interval trigger time: <See TRIGger:INTERVAl:TIME for details>...
  • Page 57: Dds Command Subsystem

    SCPI Programmers Manual TRIGger:SPI:ALEVel> The trigger level of the SPI trigger data channel: <For details, see TRIGger:SPI:BLEVel> Pattern triggered by pattern: <For details, see TRIGger:LOGIc:POLarity> Conditions for pattern triggering: <For details, see TRIGger:LOGIc:WHEN> Pattern trigger width: <For details, see TRIGger:LOGIc:TIME> Pattern trigger CH1 level: <For details, see TRIGger:LOGIc:ALEVel>...
  • Page 58: Dds:type

    SCPI Programmers Manual Example :DDS:SWITch ON /*Turn on the signal source*/ :DDS:SWITch? /*The query returns ON*/ 13.2 DDS:TYPE Command :DDS:TYPE <type> :DDS:TYPE? Description Set or query the signal source output wave type Parameters :<type> ::= { SINE| SQUAre| RAMP| EXP| NOISe| DC| ARB1 | ARB2| ARB3| ARB4} Return The query returns SINE, SQUAre, RAMP, EXP, NOISe, DC, ARB1, ARB2, ARB3, ARB4...
  • Page 59: Dds:wave:mode

    SCPI Programmers Manual Description Set or query the duty cycle of the signal source Parameters :<duty> ::= 0-99 Return The query returns the duty cycle value Example :DDS: DUTY 50 /*Set the signal source signal duty cycle to 50%*/ :DDS:DUTY? /*The query returns 50*/ 13.7 DDS:WAVE:MODE Command :DDS:WAVE:MODE <bool>...
  • Page 60: Dds:mode:depthordeviation

    SCPI Programmers Manual 13.11 DDS:MODE:DEPThordeviation Command :DDS:MODE:DEPThordeviation <value> :DDS:MODE:DEPThordeviation? Description Set or query the deviation or depth of signal source modulation Parameters The modulation type is AM: <value> ::= modulation depth Modulation type is FM: <value> ::= deviation Return When the modulation type is AM, the query returns the value of the modulation depth The query returns deviation when the modulation type is FM Example Modulation type is AM...
  • Page 61: Dds:arb:dac16:Bin

    SCPI Programmers Manual Description Send a signal source burst once 13.16 DDS:ARB:DAC16:BIN Command :DDS:ARB:DAC16:BIN <binary_block_data> Description Download waveform data, <binary_block_data> means to download binary data, <binary_block_data> is a binary data block starting with # sign, "#508192" binary data, "5" after "#" means there are 5 characters representing data length information , "8192"...

Table of Contents