
®
PeakTe
Digital Bench Multimeter
Programming Manual
P 4095
P 4096
ch
www.peaktech.de

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 ..................................................................................................................... 4
IEEE488.2 Common Commands ............................................................................................... 6
*CLS .......................................................................................................................................... 6
*IDN ......................................................................................................................................... 6
*OPC? .................................................................................................................................... 7
*RST ......................................................................................................................................... 7
SCPI Command List ............................................................................................................. 7
SENSe command subsystem ..................................................................................... 7
[SENSe:]FUNCtion[1|2] ................................................................................................ 8
[SENSe:]VOLTage:{AC|DC}:RANGe.......................................................................... 10
[SENSe:]VOLTage:{AC|DC}:RANGe:AUTO.............................................................. 11
[SENSe:]VOLTage:{AC|DC}:NULL ............................................................................. 11
[SENSe:]VOLTage[:DC]:FILTer ................................................................................... 12
i

Content
[SENSe:]VOLTage[:DC]:IMPedance:AUTO ............................................................. 13
[SENSe:]CONT:THREshold ........................................................................................ 13
[SENSe:]CURRent:{AC|DC}:RANGe ......................................................................... 14
[SENSe:]CURRent:{AC|DC}:RANGe:AUTO ............................................................. 15
[SENSe:]CURRent:{AC|DC}:NULL ............................................................................. 15
[SENSe:]CURRent[:DC]:FILTer ................................................................................... 16
[SENSe:]{RESistance|FRESistance}:RANGe ........................................................... 16
[SENSe:]{RESistance|FRESistance}:RANGe:AUTO ............................................... 17
[SENSe:]{RESistance|FRESistance}:NULL ............................................................... 17
[SENSe:]{FREQuency|PERiod}:VOLTage:RANGe .................................................. 18
[SENSe:]{FREQuency|PERiod}:VOLTage:NULL ..................................................... 19
[SENSe:]CAPacitance:RANGe .................................................................................. 19
[SENSe:]CAPacitance:RANGe:AUTO ...................................................................... 20
[SENSe:]CAPacitance:NULL ...................................................................................... 20
[SENSe:]TEMPerature:RTD:TYPe ............................................................................. 21
[SENSe:]TEMPerature:RTD:NULL ............................................................................ 22
[SENSe:]TEMPerature:RTD:UNIT ............................................................................. 22
[SENSe:]TEMPerature:RTD:SHOW .......................................................................... 23
CONFigure command sub system ........................................................................................... 23
CONFigure[:SCALar][:VOLTage]:{AC|DC}............................................................... 23
CONFigure[:SCALar]:CURRent:{AC|DC} ................................................................. 24
CONFigure[:SCALar]:{RESistance|FRESistance} ................................................... 24
CONFigure[:SCALar]:{FREQuency|PERiod} ........................................................... 25
ii

Content
CONFigure[:SCALar]:CAPacitance .......................................................................... 26
CONFigure[:SCALar]:TEMPerature:RTD ................................................................ 26
CONFigure[:SCALar]:DIODe ..................................................................................... 27
CONFigure[:SCALar]:CONTinuity............................................................................ 27
CALCulate command Subsystem ............................................................................................. 27
CALCulate:AVERage:ALL? .......................................................................................... 28
CALCulate:AVERage:AVERage? ............................................................................... 28
CALCulate:AVERage:COUNt? ................................................................................... 29
CALCulate:AVERage:MAXimum? ............................................................................ 29
CALCulate:AVERage:MINimum? ............................................................................. 30
CALCulate:DB:REFerence .......................................................................................... 30
CALCulate:DBM:REFerence ...................................................................................... 31
CALCulate:FUNCtion .................................................................................................. 31
CALCulate:LIMit:FAIL? ................................................................................................ 31
CALCulate:LIMit:{LOWer|UPPer}.............................................................................. 32
CALCulate:LIMit:RESet ............................................................................................... 32
CALCulate:NULL:OFFSet ........................................................................................... 33
CALCulate:STATe ......................................................................................................... 33
SYSTem command Subsystem ................................................................................................. 34
SYSTem:BEEPer:STATe ................................................................................................ 34
SYSTem:DATE? ............................................................................................................. 34
SYSTem:TIME? ............................................................................................................. 35
SYSTem:VERSion? ....................................................................................................... 35
iii

Content
SYSTem:LOCal .............................................................................................................. 36
SYSTem:REMote .......................................................................................................... 36
Other commands .................................................................................................................... 37
AUTO ............................................................................................................................. 37
RANGE ........................................................................................................................... 37
RANGE1? ...................................................................................................................... 38
RANGE2? ...................................................................................................................... 39
RATE ............................................................................................................................... 40
MEAS? ........................................................................................................................... 40
MEAS1? ......................................................................................................................... 41
MEAS2? ......................................................................................................................... 41
iv

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 ":" and are followed by the parameter settings
available, "?" is added at the end of the command string to indicate query and the command and
parameter are separated by "space".
For example:
SENSe:VOLTage:DC:RANGe {<range>|MINimum|MAXimum}
SENSe:VOLTage: DC:RANGe? [{M INimum|MAXimum}]
SENSe i
third-level keywords respectively. The command string starts with ":" which separates the
multiple-level keywords. <range> represents parameters available for setting, "?" represents
query and the command : SENSe:VOLTage:DC:RANGe and the parameter
{<range>|MINimum|MAXimum} are separated by "space".
s the root keyword of the command. VO LTa ge and DC are the second-level and
Syntax Rules
SCPI language itself defines a group of sub-system keywords, and at the same time allows users
to add or reduce keywords. Those keywords can be some meaningful English words and are easy
to remember, which are called mnemonics. Mnemonic has long and short types. The short are
the abbreviation of the long. Use specific character to separate keywords, data and sentences.
1

Introduction to the SCPI Language
Rule to format mnemonics
1) 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”);
2) If the letter number of an English word exceeds 4, then the first four letters will be the
mnemonic.(such as “Frequency” can be “FREQ”);
3) If the forth letter is vowel, then mnemonic uses the former three letters. Vowels consists of a,
e, i, o, and u.(such as “Power” can be “POW”);
4) If it is not a word but a sentence, then use the first letters of the former words and the whole
of the last word. (such as “Input Voltage “ can be “IVOLtage”)
Usage of symbols
1) Space
The space is used to separate command and parameter.
2) Colon:
If the colon is in front of the first character, it means the following is Root Command. When the
colon is set between two keywords, then it means moving from the current level to the next level.
3) *asterisk
The commands start with asterisk are named Common Command, which is used to execute
IEEE488.2 common commands.
4) Braces
The parameters enclosed in the braces are optional and are usually separated by the vertical bar
{}
2

Introduction to the SCPI Language
"|". When using this command, one of the parameters must be selected.
5) Vertical Bar |
The vertical bar is used to separate multiple parameters and one of the parameters must be
selected when using the command.
6) Triangle Brackets < >
The parameter enclosed in the triangle brackets must be replaced by an effective value
Parameter Type
1) Value
The command required to use value type parameter. It’s compatible with all the common
decimal display terms including optional symbol, decimal point, scientific notation and etc.
Specific value such as MIN, MAX and DEF are available.
VOLTage:{AC|DC}:RANGe {<range>|MINimum|MAXimum}
iscrete
2) D
.
The parameter should be one of the values listed. For example,
TEMPerature:RTD:UNIT {C|F|K}
3) I
nteger
Unless otherwise noted, the parameter can be any integer (NR1 format) within the effective value
range. Note that, do not set the parameter to a decimal, otherwise errors will occur.
4) Bool
3

Introduction to the SCPI Language
The parameter could be "OFF", "ON", for example,
TEMPerature:RTD:NULL {OFF|ON}
Command Abbreviation
Each SCPI command can be written mixed with uppercase and lowercase according to the syntax
rules, and the capital letter part is just the abbreviation of the command. If abbreviation is used,
all the capital letters in the command must be written completely. For parameters with units,
please refer to the detail parameter specifications in the sub-system.
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.
If you want to use the software of our company, after you open the software, click to
enter
4

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.
5

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
<serial number>:the serial number of the instrument
X.XX.XX:the software version of the instrument.
{1|2} : 1(4095) 2(4096)
6

IEEE488.2 Common Commands
*OPC?
Query whether the current operation is finished.
E
xplanation
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" if the current operation is finished, otherwise returns "0".
*RST
Restore the instrument to its default value.
SCPI Command List
SENSe command subsystem
SenSe subsystem configuration. The basic SenSe command is [SENSe:]FUNCtion[1|2], which can
choose main display and sub display measurement function. FUNCtion[1|2] to switch mode.
Other SenSe command only change specific mode parameter, don’t change mode, for example:
VOLT:AC: RANGE:AUTO ON command will start AC voltage mode and auto-measure, but don’t
switch to AC voltage mode.
7

IEEE488.2 Common Commands
[SENSe:]FUNCtion[1|2]
Command format
[SENSe:]FUN Cti on[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 Type Parameter Measure Function
AC voltage
VOLTage:AC
measure
DC voltage
VOLTage[:DC]
measure
<function> discrete
CURRent:AC AC current measure
CURRent[:DC] DC current measure
FREQuency Frequency measure
PERiod Period measure
8

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
The parameter for [SENSe:]FUNCtion[2] "<function>", that is, can only been used as sub
display:
Name Type Parameter Measure Function
<function> discrete NONe close sub display
Return format
Use quotation to keep abbreviated selected return function, no available keyword.
Return value Measure function
VOLT AC AC voltage measure
VOLT DC voltage measure
9

IEEE488.2 Common Commands
CURR AC AC current measure
CURR DC current measure
FREQ Frequency measure
PER Period measure
CAP Capacitance measure
CONT Continuity test
DIOD Diode test
Four-wire Resistance
FRES
measure
RES Resistance measure
TEMP Temperature measure
For FUNCtion2? command, if not start dual display, then return NONe.
[SENSe:]VOLTage:{AC|DC}:RANGe
S
yntax
[SENSe:]VOLTage:{AC|DC}:RANGe {<range>|MINimum|MAXimum}
[SENSe:]VOLTage:{AC|DC}:RANGe? [{M INimum|MAXimum}]
Description
Select valid measuring range for AC or DC voltage measure
Pa
rameter
Name Type
Range
10