Content Table of Contents Introduction to the SCPI Language ..................1 Syntax ............................1 Syntax Rules ........................... 1 Rule to format mnemonics ..................2 Usage of symbols ......................2 Parameter Type ......................3 Command Abbreviation ..................... 4 Contact Us ..........................4 Third-party API ........................
Introduction to the SCPI Language Introduction to the SCPI Language Syntax SCPI commands present a hierarchical tree structure and contain multiple sub-systems, each of which is made up of a root keyword and one or more sub-keywords. The command string usually starts with ":", the keywords are separated by ":"...
Introduction to the SCPI Language Rule to format mnemonics If the letter number of an English word is less than or equal to 4, then the word itself can be the mnemonic.(such as “Free” can be “FREE”); If the letter number of an English word exceeds 4, then the first four letters will be the mnemonic.(such as “Frequency”...
Introduction to the SCPI Language "|". When using this command, one of the parameters must be selected Vertical Bar | The vertical bar is used to separate multiple parameters and one of the parameters must be selected when using the command. Triangle Brackets <...
VOLTage:DC:RANGe Abbreviation Below: VOLT:DC:RANG Contact Us If you have any problem or requirement when using our products, please contact PeakTech. Service & Support Hotline: +49 (0) 4102 42343 E-mail: info@peaktech.de Website:www.peaktech.de Third-party API The SCPI protocol of this product adopts USB port or LAN port to communication.
Page 10
Introduction to the SCPI Language remote control, then click the SCPI command on the remoter control interface to enable SCPI protocol and communicate through SCPI protocol.
IEEE488.2 Common Commands IEEE488.2 Common Commands *CLS Clear all the event registers in the register set and clear the error queue. *IDN Return the ID character string of the instrument Description The query returns the ID character string of the instrument. Return Format brand,<model>,<serial number>,X.XX.XX,{1|2} <model>:the model number of the instrument...
IEEE488.2 Common Commands *OPC? Query whether the current operation is finished. Explanation Note the difference between the *OPC? and *OPC commands: the latter sets the "Operation Complete" bit (bit 0) in the standard event register to 1 after the current operation is finished. Return Format The query returns "1"...
IEEE488.2 Common Commands [SENSe:]FUNCtion[1|2] Command format [SENSe:]FUNCtion[1|2] "<function>" [SENSe:]FUNCtion[1|2]? Function description Select measure function, some functions can only be selected as main display. Parameter [1|2] 1 for main display, 2 for sub display. If leave out this parameter, display defaults at 1 (main display). The parameter for [SENSe:]FUNCtion[1|2] "<function>", that is, can both been used as main or sub display: Name...
Page 14
IEEE488.2 Common Commands The parameter for [SENSe:]FUNCtion[1] "<function>", that is, can only been used as main display: Name Type Parameter Measure Function CAPacitance Capacitor measure CONTinuity Continuity test DIODe Diode test Four-wire <function> discrete FRESistance Resistance measure RESistance Resistance measure Temperature TEMPerature:RTD measure...
IEEE488.2 Common Commands CURR AC AC current measure CURR DC current measure FREQ Frequency measure Period measure Capacitance measure CONT Continuity test DIOD Diode test Four-wire Resistance FRES measure Resistance measure TEMP Temperature measure For FUNCtion2? command, if not start dual display, then return NONe. [SENSe:]VOLTage:{AC|DC}:RANGe Syntax [SENSe:]VOLTage:{AC|DC}:RANGe {<range>|MINimum|MAXimum}...
IEEE488.2 Common Commands [SENSe:]VOLTage:{AC|DC}:NULL {OFF|ON} Description Close or start relative value for AC or DC measurement. Parameter Name Type Range Default <bool> Bool {OFF|ON} Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]VOLTage[:DC]:FILTer Syntax [SENSe:]VOLTage[:DC]:FILTer[:STATe] {OFF|ON} [SENSe:]VOLTage[:DC]:FILTer[:STATe]? Description Close or start simulated filter for DC measurement Parameter Name...
IEEE488.2 Common Commands [SENSe:]VOLTage[:DC]:IMPedance:AUTO Syntax [SENSe:]VOLTage[:DC]:IMPedance:AUTO {OFF|ON} [SENSe:]VOLTage[:DC]:IMPedance:AUTO? Description Close or start auto input impedance mode for DC measurement Parameter Name Type Range Default <bool> bool {OFF|ON} Note OFF: for all the measuring range, DC voltage input impedance is fixed at 10 MΩ ON: DC voltage measurement input impedance changes in accordance with measuring range.
IEEE488.2 Common Commands [SENSe:]CURRent:{AC|DC}:RANGe:AUTO Syntax [SENSe:]CURRent:{AC|DC}:RANGe:AUTO {OFF|ON} [SENSe:]CURRent:{AC|DC}:RANGe:AUTO? Description Close or start auto-scale adjustment for AC/DC current measurement Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]CURRent:{AC|DC}:NULL Syntax [SENSe:]CURRent:{AC|DC}:NULL {OFF|ON} Description Close or start relative value for AC/DC current measurement Parameter...
IEEE488.2 Common Commands Return 0 (OFF) or 1 (ON) after query [SENSe:]CURRent[:DC]:FILTer Syntax [SENSe:]CURRent[:DC]:FILTer[:STATe] {OFF|ON} [SENSe:]CURRent[:DC]:FILTer[:STATe]? Description Close or start the simulated filter for DC current measurement. Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]{RESistance|FRESistance}:RANGe Syntax [SENSe:]{RESistance|FRESistance}:RANGe {<range>|MINimum|MAXimum}...
IEEE488.2 Common Commands Description Close or start relative value for resistance measurement. Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]{FREQuency|PERiod}:VOLTage:RANGe Syntax [SENSe:]{FREQuency|PERiod}:VOLTage:RANGe {<range>|MINimum|MAXimum} [SENSe:]{FREQuency|PERiod}:VOLTage:RANGe? [{MINimum|MAXimum}] Description Select fixed voltage measuring range for FREQuency or PERiod. Parameter Name Type...
IEEE488.2 Common Commands [SENSe:]{FREQuency|PERiod}:VOLTage:NULL Syntax [SENSe:]{FREQuency|PERiod}:VOLTage:NULL {OFF|ON} Description Close or start relative value for FREQuency or PERiod measurement. Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]CAPacitance:RANGe Syntax [SENSe:]CAPacitance:RANGe {<range>|MINimum|MAXimum} [SENSe:]CAPacitance:RANGe? [{MINimum|MAXimum}] Description Select fixed measuring range for capacitance measurement.
IEEE488.2 Common Commands 200E-6(200uF), 10E-3(10mF) Return format Return query result by scientific notation [SENSe:]CAPacitance:RANGe:AUTO Syntax [SENSe:]CAPacitance:RANGe:AUTO {OFF|ON} [SENSe:]CAPacitance:RANGe:AUTO? Description Close or start auto-scale adjustment for capacitance measurement. Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]CAPacitance:NULL Syntax [SENSe:]CAPacitance:NULL {OFF|ON}...
IEEE488.2 Common Commands Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]TEMPerature:RTD:TYPe Syntax [SENSe:]TEMPerature:RTD:TYPe {<RTD Type>} [SENSe:]TEMPerature:RTD:TYPe? Description Select RTD type for temperature measurement. Parameter Name Type Range <RTD Type > Discrete KITS90, NITS90, EITS90, JITS90, TITS90, SITS90, RITS90, BITS90, W5_26, W3_25, PT100, PT10, Cu100, Cu50...
IEEE488.2 Common Commands [SENSe:]TEMPerature:RTD:NULL Syntax [SENSe:]TEMPerature:RTD:NULL {OFF|ON} Description Close or start relative value for temperature measurement. Parameter Name Type Range Default <bool> {OFF|ON} Bool Return format Return 0 (OFF) or 1 (ON) after query [SENSe:]TEMPerature:RTD:UNIT Syntax [SENSe:]TEMPerature:RTD:UNIT {C|F|K} Description Select temperature unit for temperature measurement, optional for C (Celsius), F(Fahrenheit), K(Kelvin).
IEEE488.2 Common Commands [SENSe:]TEMPerature:RTD:SHOW Syntax [SENSe:]TEMPerature:RTD:SHOW {TEMP|MEAS|ALL} Description Select temperature measurement display mode, optional for TEMP (only display temperature), MEAS (only display measured value), ALL (display both temperature and measured value) Return format Return the query result by character CONFigure command sub system CONFigure sub system is used to switch measure mode CONFigure[:SCALar][:VOLTage]:{AC|DC} Syntax...
IEEE488.2 Common Commands Restore all the measurement and trigger parameters to default, process RESistance and FRESistance measurement. Then set the measuring range. Parameter Name Type Range <range> Discrete 4096: 200(200Ω), 2E3(2KΩ), 20E3(20KΩ), 200E3(200KΩ), 2E6(2MΩ), 10E6(10MΩ), 100E6(100MΩ) 4095: 600(600Ω), 6E3(6KΩ), 60E3(60KΩ), 600E3(600KΩ), 6E6(6MΩ), 60E6(60MΩ), 100E6(100MΩ) CONFigure[:SCALar]:{FREQuency|PERiod} Syntax...
IEEE488.2 Common Commands CONFigure[:SCALar]:CAPacitance Syntax CONFigure[:SCALar]:CAPacitance [{<range>|MINimum|MAXimum|DEF|AUTO}] Description Restore all the measurement and trigger parameters to default, process capacitance measurement. Then set the scale. Parameter Name Type Range <range> Discret 2E-9(2nF), 20E-9(20nF), 200E-9(200nF), 2E-6(2uF), 20E-6(20uF), 200E-6(200uF), 10E-3(10mF) CONFigure[:SCALar]:TEMPerature:RTD Syntax CONFigure[:SCALar]:TEMPerature:RTD [{<RTD Type>}] Description Restore all the measurement and trigger parameters to default, process temperature measurement.
IEEE488.2 Common Commands CONFigure[:SCALar]:DIODe Syntax CONFigure[:SCALar]:DIODe Description Restore all the measurement and trigger parameters to default, process diode measurement. Parameter CONFigure[:SCALar]:CONTinuity Syntax CONFigure[:SCALar]:CONTinuity Description Restore all the measurement and trigger parameters to default, process continuity test. Parameter CALCulate command Subsystem CALCulate command is used to manage math function (Sum up, limit, db/dbm, relative value), Function command is used to switch math mode (from four modes).
IEEE488.2 Common Commands NULL command is used to set corresponding function parameter, won’t change the current math function. CALCulate:AVERage:ALL? Syntax CALCulate:AVERage:ALL? Description Query returns the minimum value, maximum value , average value and count of all measurements taken since the statistics were last cleared. Parameter (none) CALCulate:AVERage:AVERage?
IEEE488.2 Common Commands CALCulate:AVERage:COUNt? Syntax CALCulate:AVERage:COUNt? Description Query returns the number of measurements taken since the statistics were last cleared. Parameter (none) CALCulate:AVERage:MAXimum? Syntax CALCulate:AVERage:MAXimum? Description Query returns the maximum value of all measurements taken since the statistics were last cleared.
IEEE488.2 Common Commands CALCulate:AVERage:MINimum? Syntax CALCulate:AVERage:MINimum? Description Query returns the minimum value of all measurements taken since the statistics were last cleared. Parameter (none) CALCulate:DB:REFerence Syntax CALCulate:DB:REFerence {<Ref R>|MINimum|MAXimum} CALCulate:DB:REFerence? Description Set DB relative resistance. Parameter Name Type Range <Ref R> Discret 50, 75, 93, 110, 124, 125, 135, 150, 250, 300, 500, 600, 800, 900, 1000, 1200, 8000...
IEEE488.2 Common Commands Parameter (none) CALCulate:LIMit:{LOWer|UPPer} Syntax CALCulate:LIMit:{LOWer|UPPer} {<value>|MINimum|MAXimum} CALCulate:LIMit:{LOWer|UPPer}? Description Set lower or upper line for limit value Parameter Name Type Range <value> CALCulate:LIMit:RESet Syntax CALCulate:LIMit:RESet Description Clears the flag bit and count of limit test. Parameter (none)
IEEE488.2 Common Commands CALCulate:NULL:OFFSet Syntax CALCulate:NULL:OFFSet {<value>|MINimum|MAXimum} CALCulate:NULL:OFFSet? [MINimum|MAXimum] Description Set relative value. Parameter Name Type Range <value> CALCulate:STATe Syntax CALCulate:STATe {OFF} Description Close MATH function Parameter Name Type Range <bool> {OFF} Bool...
IEEE488.2 Common Commands SYSTem command Subsystem SYSTem:BEEPer:STATe Syntax SYSTem:BEEPer:STATe {ON|OFF} SYSTem:BEEPer:STATe? Description Start or close the buzzer Parameter Name 默认值 Type Range <bool> {ON|OFF} Bool Return format Return 0 (OFF) or 1 (ON) after query。 SYSTem:DATE? Syntax SYSTem:DATE? Description Query date (includes year, month and day) inside device real-time clock Parameter...
IEEE488.2 Common Commands Return format Return query result SYSTem:TIME? Syntax SYSTem:TIME? Description Query time (includes hour, minute and second) inside device real-time clock Parameter Return format Return query result SYSTem:VERSion? Syntax SYSTem:VERSion? Description Query SCPI version Parameter...
IEEE488.2 Common Commands Other commands AUTO Syntax AUTO AUTO? Description Enable autoscale Parameter Return format Return autoscale setting, 1 for auto, 0 for manual RANGE Syntax RANGE {<range1>|DEF} Description Set measuring range Parameter Name Type Range 4096: 1(200mV), 2(2V), 3(20V), 4(200V), 5(1000V) <range1>...
IEEE488.2 Common Commands RATE Syntax RATE <speed> RATE? Description Set speed. Parameter Name Type Range <speed> Discret F:high speed; M:middle speed; L:low speed Return format Return current speed, F for high speed, M for middle speed, L for low speed. MEAS? Syntax MEAS?
IEEE488.2 Common Commands Return measured result by scientific notation. If start dual display, the return format is: main display measured value, sub display measured value. MEAS1? Syntax MEAS1? Description Return main display measured value Parameter Return format Return measured result by scientific notation. MEAS2? Syntax MEAS2?
Page 47
IEEE488.2 Common Commands Return format Return measured result by scientific notation.