Unit MSO/UPO2000 Series Owner's manual

Programming Manual
MSO/UPO2000 Series Digital Phosphor Oscilloscope

Programming Manual MSO/UPO2000 Series
2/ 156
Instruments.uni-trend.com
Warranty and Statement
Copyright
2022 Uni-Trend Technology (China) Co., Ltd.
Brand Information
UNI-T is the registered trademark of Uni-Trend Technology (China) Co., Ltd.
Software Version
00.00.01
Software upgrade may have some change and add more function, please subscribe UNI-T
website to get the new version or contact UNI-T.
Statement
UNI-T products are protected by patents (including obtained and pending) in China and
other countries and regions.
UNI-T reserves the right to change specifications and prices.
The information provided in this manual supersedes all previous publications.
Information provided in this manual is subject to change without prior notice.
UNI-T shall not be liable for any errors that may be contained in this manual. For any
incidental or consequential damages, arising out of the use or the information and
deductive functions provided in this manual.
Without the written permission of UNI-T, this manual cannot photocopied, reproduced
or adapted.
Product Certification
UNI-T has certified that the product conforms to China national product standard and
industry product standard as well as ISO9001:2008 standard and ISO14001:2004 standard.
UNI-T will go further to certificate product to meet the standard of other member of the
international standards organization.
Contact Us
If you have any question or problem, please contact UNI-T.
Official website:https://www.uni-trend.com
SCPI
SCPI was defined as an additional layer on top of the IEEE 488.2-1987 specification "Standard
Codes, Formats, Protocols, and Common Commands”. The standard specifies a common
syntax, command structure, and data formats, to be used with all instruments. It introduced
generic commands (such as CONFigure and MEASure) that could be used with any
instrument. These commands are grouped into subsystems. SCPI also defines several
classes of instruments. For example, any controllable power supply would implement the
same DCPSUPPLY base functionality class. Instrument classes specify which subsystems
they implement, as well as any instrument-specific features.

Programming Manual MSO/UPO2000 Series
3/ 156
Instruments.uni-trend.com
The physical hardware communications link is not defined by SCPI. While it was originally
created for the IEEE-488.1 (GPIB) bus, SCPI can also be used with RS-232, RS-422, Ethernet,
USB, VXIbus, HiSLIP, etc.
SCPI commands are ASCII textual strings, which are send to the instrument over the physical
layer (e.g., IEEE-488.1). Commands are a series of one or more keywords, many of which take
parameters. In the specification, keywords are written CONFigure: The entire keyword can
be used, or it can be abbreviated to just the uppercase portion. Responses to query
commands are typically ASCII strings. However, for bulk data, binary formats can be used.
This section introduces the format, symbols, parameters, and abbreviations of the SCPI
command.
Instruction Format
The SCPI command is a tree-like hierarchy consisting of multiple subsystems, each
consisting of a root keyword and one or more hierarchical key words. The command line
usually begins with a colon ":"; Keywords are separated by the colon ":", followed by optional
parameter settings. The command keyword is separated by spaces from the first parameter.
The command string must end with a newline <NL> character. Add the question mark "? " after
the command line. It is usually indicated that this feature is being queried.
Symbol Description
The following four symbols are not part of SCPI command, it cannot send with the command.
It usually used as supplementary description of command parameter.
Brace { } usually contains multiple optional parameters, it should select one parameter
when send command.
Such as DISPlay:GRID:MODE { FULL | GRID | CROSS | NONE} command
Vertical Bar | used to separated multiple parameters, it should select one parameter when
send command.
Such as DISPlay:GRID:MODE { FULL | GRID | CROSS | NONE} command
Square Brackets [ ] the contents in square brackets (command keywords) can omissible.
If the parameter is ignored, the instrument will set the parameter as the default value.
Such as MEASure:NDUTy? [<source>] command, it presents current channel
Triangular Brackets < > the parameter in the brackets must be replaced with a valid value.
Such as use DISPlay:GRID:BRIGhtness 30 form to send DISPlay:GRID:BRIGhtness <count>
command
Parameter Description
The parameter in this manual can divide into five types: Boolean, Integer, Real, Discrete,
ASCII string

Programming Manual MSO/UPO2000 Series
4/ 156
Instruments.uni-trend.com
Boolean
Parameter value can set “ON” (1) or “OFF” (0)
Such as SYSTem:LOCK {{1 | ON} | {0 | OFF}}
Integer
Parameter can take any valid integer value unless there have some other descriptions.
Such as command: DISPlay:GRID:BRIGhtness <count> , parameter of <count> can take
integer from 0~100
Note: Do not set decimal as parameter, otherwise it may occur error.
Real
Parameter can take any valid integer value unless there have some other descriptions.
Such as for command CH1, CHANnell: OFFSet <offset>, parameter of <offset> can take
integer value.
Discrete
Parameter can only take some specified numbers or characters.
Such as command DISPlay:GRID:MODE { FULL | GRID | CROSS | NONE} parameter can
only take FULL, GRID, CROSS, NONE
ASCII Character String
String parameter contain all ASCII string sets. Strings must begin and end with paired
quotes; it can use single or double quotation marks. The quotation and delimiter can
also be part of a string by typing it twice and not adding any characters.
Such as set IP SYST:COMM:LAN:IPAD "192.168.1.10"
Shorthand Rule
All command can identify capital and small letter, if command need enter shorthand, it
should be all capital letter.
Data Return
Data return is divided into single data and batch data. The single data return is the
corresponding parameter type, in which the real return type is express in scientific notation.
The part before e retains three figure behind the decimal point, and the e part retains three
figure; the batch return must be obey IEEE
488.2# string data format, ‘#’+ the length of character bits [fixed to one character] + ASCII
valid value+ valid data+ end string [‘\n’]
Such as #3123xxxxxxxxxxxxxxxxxxx\n presents 123 strings batch data return format, ‘3’ presents
“123” occupies three character bits.
Note: If return data is invalid data, use * to represent it.

Programming Manual MSO/UPO2000 Series
5/ 156
Instruments.uni-trend.com
SCPI Command Explanation
IEEE488.2 Common Command
*IDN?
Command format:
*IDN?
Functional description:
For querying manufacture name, model, product serial number and software version.
Return format:
Manufacture name, model, product serial number, software version separated by dot mark.
For example:
UNI-T Technologies, MSO2000CS, MSO1000, 00.00.01
*RST
Command format:
*RST
Functional description:
Restore factory settings and clear the entire error message, send and receive queue buffers.
*OPC
Command format:
*OPC
*OPC?
Functional description:
This command is used to force the current instruction to complete and marked as the mark position 1.
Return format:
Query returns whether the currently send instruction is executed, 1 represents it’s completed, 0 represents
it’s not complete.
For example:
*OPC Mark the executed instruction at mark position 1.
*OPC? Query returns 1, it represents the command is executed. Otherwise, it’s
not.
SYSTem Command
The command is used for the basic operation of oscilloscope, including operating control, full keyboard lock, error
queue and system data setting.

Programming Manual MSO/UPO2000 Series
6/ 156
Instruments.uni-trend.com
:RUN
Command format:
:RUN
Functional description:
This command is used to start the sampling operating of the oscilloscope, if it need to stop, executing:
STOP command.
:STOP
Command format:
:STOP
Functional description:
This command is used to stop the sampling operating of the oscilloscope, if it need to restart, executing:
RUN command.
:AUTO
Command format:
:AUTO
Functional description:
This command is used to automatically set the control parameter of the instrument, the automatic setting
can make the best display effect for the input waveform.
:SYSTem:LOCK
Command format:
:SYSTem:LOCK {{1 | ON} | {0 | OFF}}
:SYSTem:LOCK?
Functional description:
This command is used to lock/unlock full keyboard.
Return format:
Query returns full keyboard locked status, 0 represents locked, 1 represents unlock.
For example:
:SYSTem:LOCK ON/:SYST:LOCK 1 Full keyboard locked.
:SYSTem:LOCK OFF/:SYST:LOCK 0 Unlock full keyboard.
:SYSTem:LOCK? Query returns 1, it represents locked.
:SYSTem:ERRor
Command format:
:SYSTem:ERRor
:SYSTem:ERRor?
Functional description:
This command is used to empty error message queue.
Return format:

Programming Manual MSO/UPO2000 Series
7/ 156
Instruments.uni-trend.com
Query returns the last error message, Query returns error message in the format of “<Message number>,
<Message content>. <Message number> is an integer; <Message content> is an ASCII character string with
double quotation marks.
Such as-113,"Undefined header; command cannot be found".
For example:
:SYSTem:ERR Empty error message queue.
:SYSTem:ERR? Query returns
-113,"Undefined header; command cannot be found".
:SYSTem:SETup
Command format:
:SYSTem:SETup <setup_data>
:SYSTem:SETup?
Functional description:
This command is used to configure the system setting data. <setup_data> is conform to the Appendix 2:
IEEE 488.2 binary data format.
Return format:
Query returns the system setting data.
:SYSTem:LANGuage
Command format:
:SYSTem:LANGuage { ENGLish | SIMPlifiedchinese | TRADitionalchinese }
:SYSTem:LANGuage?
Functional description:
This command is used to set the system lanauage.
Return format:
Query returns { ENGLish | SIMPlifiedchinese | TRADitionalchinese }
For example:
:SYSTem:LANGuage ENGL Set the system language to English.
:SYSTem:LANGuage? Query returns ENGLish.
:SYSTem:RTC
Command format:
:SYSTem:RTC <year>,<month>,<day>,<hour>,<minute>,<second>
:SYSTem:RTC?
Functional description:
This command is used to set the system time.
Return format:
Query returns year, month, date, hour, minute and second.
For example:
:SYSTem:RTC 2017,7,7,20,8,8 Set the system time to 20:08:08, 7th, July, 2017.
:SYSTem:RTC? Query returns 2017,7,7,20,8,8.

Programming Manual MSO/UPO2000 Series
8/ 156
Instruments.uni-trend.com
:SYSTem:CAL
Command format:
:SYSTem:CAL
Functional description:
This command is used to set the self-calibration of the system, it cannot be normal communicated during
self-calibration.
:SYSTem:CLEAr
Command format:
:SYSTem:CLEAr
Functional description:
Empty all the saved waveforms and data settings.
:SYSTem:CYMOmeter
Command format:
:SYSTem:CYMOmeter {1 | ON} | {0 | OFF}
:SYSTem:CYMOmeter?
Functional description:
This command is used to turn on/off the frequency meter.
Return format:
Query returns the status of frequency meter, 1 represets ON, 0 represents OFF.
For example:
:SYSTem:CYMOmeter ON Turn on frequency meter.
:SYSTem:CYMOmeter? Query returns 1.
:SYSTem:CYMOmeter:FREQuency?
Command format:
:SYSTem:CYMOmeter:FREQuency?
Functional description:
This command is used to acquire the frequency value of the frequency meter measurement.
Return format:
Query returns the frequency value of the frequency meter measurement, and invalid value returns *.
For example:
:SYSTem:CYMOmeter:FREQuency? Query returns 1.20000E+3.
:SYSTem:SQUare:SELect
Command format:
:SYSTem:SQUare:SELect { 10 Hz | 100 Hz | 1 kHz | 10 kHz }
:SYSTem:SQUare:SELect?
Functional description:
This command is used to select square wave output.

Programming Manual MSO/UPO2000 Series
9/ 156
Instruments.uni-trend.com
Return format:
Query returns { 10 Hz | 100 Hz | 1 kHz | 10 kHz }.
For example:
:SYSTem:SQUare:SELect 10 Hz Select 10 Hz square wave output.
:SYSTem:SQUare:SELect? Query returns 10 Hz.
:SYSTem:OUTPut:SELect
Command format:
:SYSTem:OUTPut:SELect { TRIGger | PASS_FAIL }
:SYSTem:OUTPut:SELect?
Functional description:
This command is used to set output selection TRIGger or PASS_FAIL(pass&fail).
Return format:
Query returns { TRIGger | PASS_FAIL }.
For example:
:SYSTem:OUTPut:SELect TRIG Output selection sets to trigger.
:SYSTem:OUTPut:SELect? Query returns TRIG.
:SYSTem:MNUDisplay
Command format:
:SYSTem:MNUDisplay { 5S | 10S | 20S | INFinite}
:SYSTem:MNUDisplay?
Functional description:
This command is used to set the menu display time, INFinite represents the menu is always displayed.
Return format:
Query returns { 5S | 10S | 20S | INFinite }.
For example:
:SYSTem:MNUDisplay 5S
Set the menu display time to 5 s, the menu will automatically withdraw after 5 s.
:SYSTem:MNUDisplay? Query returns 5 s.
:SYSTem:BRIGhtness
Command format:
:SYSTem:BRIGhtness <count>
:SYSTem:BRIGhtness?
Functional description:
This command is used to set the screen brightness, <count> take value from 1~100, the bigger the number,
the brighter the screen.
Return format:
Query returns the current screen brightness.
For example:
:SYSTem:BRIGhtness 50 Set screen brightness to 50.
:SYSTem:BRIGhtness? Query returns 50.

Programming Manual MSO/UPO2000 Series
10 / 156
Instruments.uni-trend.com
:SYSTem:VERSion?
Command format:
:SYSTem:VERSion?
Return format:
Query returns version information, which are 128 bytes character string.
HW is hardware version number, SW is software version number, PD is created date, ICV is protocol version
number.
For example:
:SYST:VERS? Query returns HW:1.0;SW:1.0;PD:2014-11-20;ICV:1.4.0.
:SYSTem:COMMunicate:LAN:APPLy
Command format:
:SYSTem:COMMunicate:LAN:APPLy
Functional description:
This command is used to take effect the current network parameter immediately.
:SYSTem:COMMunicate:LAN:GATEway
Command format:
:SYSTem:COMMunicate:LAN:GATEway <gateway>
:SYSTem:COMMunicate:LAN:GATEway?
Functional description:
This command is used to setthe default gateway. <gateway> is belong to the parameter of ASCII character
string, the format is xxx.xxx.xxx.xxx.
Return format:
Query returns the default gateway.
For example:
:SYST:COMM:LAN:GATE "192.168.1.1" Set the default gateway to 192.168.1.1.
:SYST:COMM:LAN:GATE? Query returns 192.168.1.1.
:SYSTem:COMMunicate:LAN:SMASK
Command format:
:SYSTem:COMMunicate:LAN:SMASK <submask>
:SYSTem:COMMunicate:LAN:SMASK?
Functional description:
This command is used to set subnet mask. <submask> is belong to the parameter of ASCII character string,
the format is xxx.xxx.xxx.xxx.
Return format:
Query returns subnet mask.
For example:
:SYST:COMM:LAN:SMASK "255.255.255.0" Set subnet mask to 255.255.255.0.
:SYST:COMM:LAN:SMASK? Query returns 255.255.255.0.

Programming Manual MSO/UPO2000 Series
11 / 156
Instruments.uni-trend.com
:SYSTem:COMMunicate:LAN:IPADdress
Command format:
:SYSTem:COMMunicate:LAN:IPADdress <ip>
:SYSTem:COMMunicate:LAN:IPADdress?
Functional description:
This command is used to set IP address. <ip> is belong to the parameter of ASCII character string, the
format is xxx.xxx.xxx.xxx.
Return format:
Query returns IP address.
For example:
:SYST:COMM:LAN:IPAD "192.168.1.10" Set IP address to 192.168.1.10.
:SYST:COMM:LAN:IPAD? Query returns 192.168.1.10.
:SYSTem:COMMunicate:LAN:DHCP
Command format:
:SYSTem:COMMunicate:LAN:DHCP {{1 | ON} | {0 | OFF}}
:SYSTem:COMMunicate:LAN:DHCP?
Functional description:
This command is used to switch the configuration mode to automatic IP or manual IP.
Return format:
Query returns dynamic allocation mode, 0 represents manual IP, 1 represents automatic IP.
For example:
:SYST:COMM:LAN:DHCP ON Turn on IP dynamic allocation.
:SYST:COMM:LAN:DHCP? Query returns 1.
:SYSTem:COMMunicate:LAN:MAC?
Command format:
:SYSTem:COMMunicate:LAN:MAC?
Return format:
Query returns MAC physical address.
For example:
:SYST:COMM:LAN:MAC? Query returns 00-2A-A0-AA-E0-56.
:SYSTem:AUTO:CHANnel
Command format:
:SYSTem:AUTO:CHANnel {AUTO|KEEP}
:SYSTem:AUTO:CHANnel?
Functional description:
This command is used to set whether the channel keeps the current status when in automatic setting.
AUTO represents that the channel is automatically set by the preset parameter; KEEP represents that the

Programming Manual MSO/UPO2000 Series
12 / 156
Instruments.uni-trend.com
channel is automatically set based on the current status.
Return format:
Query {AUTO|KEEP}.
For example:
:SYSTem:AUTO:CHANnel KEEP
The channel keeps the automatic setting of the current status.
:SYSTem:AUTO:CHANnel? Query returns KEEP.
:SYSTem:AUTO:ACQuire
Command format:
:SYSTem:AUTO:ACQuire {AUTO|KEEP}
:SYSTem:AUTO:ACQuire?
Functional description:
This command is used to set whether the sampling mode keeps the current status.
AUTO represents that the sampling mode is automatically set by the preset parameter; KEEP represents
that the sampling mode is automatically set based on the current status.
Return format:
Query {AUTO|KEEP}.
For example:
:SYSTem:AUTO:ACQuire KEEP
The sampling mode keeps the automatic setting of the current status.
:SYSTem:AUTO:ACQuire? Query returns KEEP.
:SYSTem:AUTO:TRIGger
Command format:
:SYSTem:AUTO:TRIGger {AUTO|KEEP}
:SYSTem:AUTO:TRIGger?
Functional description:
This command is used to set whether the trigger keeps the current status.
AUTO represents that the trigger is automatically set by the preset parameter; KEEP represents that the
trigger is automatically set based on the current status.
Return format:
Query {AUTO|KEEP}.
For example:
:SYSTem:AUTO:TRIGger KEEP
The trigger keeps the automatic setting of the current status.
:SYSTem:AUTO:TRIGger? Query returns KEEP.
:SYSTem:AUTO:SIGNal
Command format:
:SYSTem:AUTO:SIGNal {AUTO|KEEP}
:SYSTem:AUTO:SIGNal?
Functional description:

Programming Manual MSO/UPO2000 Series
13 / 156
Instruments.uni-trend.com
This command is used to set whether the channel for input signal (Active channel) keeps the current status
when inautomatic setting.
AUTO represents that the active channel is automatically set by the preset parameter; KEEP represents by
the the active channel is automatically set based on the current status.
Return format:
Query {AUTO|KEEP}.
For example:
:SYSTem:AUTO:SIGNal KEEP
The active channel keeps the automatic setting of the current status.
:SYSTem:AUTO:SIGNal? Query returns KEEP.
KEY Command
This command is used to control the key and rotary knob on the operating panel of the oscilloscope.
:KEY:<key>
Command format:
:KEY:<key>
:KEY:<key>:LOCK { {1 | ON} | {0 | OFF} }
:KEY:<key>:LOCK?
:KEY:<key>:LED?
Functional description:
This command is used to set key function and lock/unlock function. <key> definition and description refer
to Appendix 1:Key List
Return format:
Query returns key status or LED indicator status;
Lock status: 0 represents the key is unlock, 1 represents the key is locked;
LED status:0 represents LED indicator is lightless, 1 represents LED indicator is lit up. For RUN/STOP key,
0 represents in red, 1 represents in green.
For example:
:KEY:AUTO
Automatically set the each control parameter of the oscilloscope.
:KEY:AUTO:LOCK ON/OFF Lock/unlock key.
:KEY:AUTO:LOCK? Query returns key status, 1 represents the key is locked.
:KEY:AUTO:LED?
Query returns LED status, 0 represents LED indicator is lightless.
CHANnel Command
This command is used to set each channel independently. <n> take value from 1/2/3/4, it represents {CH1/CH2/
CH3/ CH4} separately.

Programming Manual MSO/UPO2000 Series
14 / 156
Instruments.uni-trend.com
:CHANnel<n>:BWLimit
Command format:
:CHANnel<n>:BWLimit {{1|ON}|{0|OFF}}
:CHANnel<n>:BWLimit?
Functional description:
This command is used to set the bandwidth limit to ON or OFF.
ON: turn on bandwidth limit to 20 MHz, to reduce display noise.
OFF: turn off bandwidth limit to achieve full babdwidth display.
<n>:{1|2|3|4},it represents {CH1|CH2} separately.
Return format:
Query returns 1 or 0, it represents ON or OFF separately.
For example:
:CHAN1:BWL ON Turn on the bandwidth limit of channel 1.
:CHAN1:BWL?
Query returns 1,it represents the bandwidth limit of channel 1 is turned on.
:CHANnel<n>:COUPling
Command format:
:CHANnel<n>:COUPling {DC|AC|GND}
:CHANnel<n>:COUPling?
Functional description:
This command is used to set the channel coupling mode. DC represents the AC and DC component that can
be through the input signal; AC represents the DC component that blocks the input signal; GND represents
cut-off the input signal.
<n>: {1|2|3|4}, it represents {CH1|CH2} separately.
Return format:
Query AC, DC or GND.
For example:
:CHAN1:COUP DC Set the coupling mode of channel 1 to DC.
:CHAN1:COUP? Query returns DC.
:CHANnel<n>:DISPlay
Command format:
:CHANnel<n>:DISPlay { {1|ON} | {0|OFF} }
:CHANnel<n>:DISPlay?
Functional description:
This command is used to turn on/off the specified channel.
<n>: {1|2|3|4}, it represents {CH1|CH2} separately.
Return format:
Query returns 1 or 0,it represents ON or OFF separately.
For example:
:CHAN1:DISP ON Turn on Channel 1.

Programming Manual MSO/UPO2000 Series
15 / 156
Instruments.uni-trend.com
:CHAN1:DISP?
Query returns 1, it represents the channel 1 is turned on.
:CHANnel<n>:INVert
Command format:
:CHANnel<n>:INVert { {1|ON} | {0|OFF} }
:CHANnel<n>:INVert?
Functional description:
This command is used to turn on/off the waveform phase reverse.
ON: turn on the waveform phase reverse.
OFF: restore the waveform to normal display.
<n>: {1|2|3|4}, it represents {CH1|CH2} separately.
Return format:
Query returns 1 or 0, it represents ON or OFF.
For example:
:CHAN1:INV OFF Turn off the phase reverse of channel 1.
:CHAN1:INV?
Query returns 0, it represents the phase reverse of channel 1 is turned off.
:CHANnel<n>:PROBe
Command format:
:CHANnel<n>:PROBe { <probe> | 0.001X | 0.01X | 0.1X | 1X | 10X | 100X | 1000X}
:CHANnel<n>:PROBe?
Functional description:
This command is used to set the probe attenuation factor which corresponding to probe.
<probe>: Self-defined probe attenuation factor.
<n>: {1|2|3|4}, it represents {CH1|CH2} separately.
Return format:
Query returns if the probe attenuation factor of the oscilloscope is self-defind, it returns the current probe
attenuation value in scientific notation, unit is X; if the probe attenuation factor of the oscilloscope is not
self-defind, then it returns {0.001X | 0.01X | 0.1X | 1X | 10X | 100X | 1000X}.
For example:
:CHAN1:PROB 10X Set the probe attenuation factor of channel 1 to 10.
:CHAN1:PROB? Query returns 10X.
:CHANnel<n>:OFFSet
Command format:
:CHANnel<n>:OFFSet <offset>
:CHANnel<n>:OFFSet?
Functional description:
This command is used to set the waveform displacement on vertical direction.
<n>: {1|2|3|4|5|6|7|8|9}, it represents {CH1|CH2|CH3|CH4|MATH|REFA|REFB|REFC|REFD} separately.
Return format:

Programming Manual MSO/UPO2000 Series
16 / 156
Instruments.uni-trend.com
Query returns the setting value of offset in scientific notation. Unit is related to :CHANnel<n>:UNITs.
For example:
:CHAN1:OFFS 20V Set the vertical displacement of channel 1 to 20 V.
:CHAN1:OFFS? Query returns 2.000e001.
:CHANnel<n>:SCALe
Command format:
:CHANnel<n>:SCALe {<scale> | UP | DOWN}
:CHANnel<n>:SCALe?
Functional description:
This command is used to set volts/div scale on vertical direction.
<scale>: Volts/div scale value;
UP: Increase one scale based on the current scale of the oscilloscope;
DOWN: Decrease one scale based on the current scale of the oscilloscope.
<n>: {1|2|3|4|5|6|7|8|9}, it represents {CH1|CH2|CH3|CH4|MATH|REFA|REFB|REFC|REFD} separately.
Return format:
Query returns the current volts/div scale vaule in scientific notation. Unit is related to :CHANnel<n>:UNITs.
For example:
:CHAN1:SCAL 20V Set the volts/div scale of channel 1 to 20 V.
:CHAN1:SCAL? Query returns 2.000e001.
:CHAN1:SCAL UP Increase one scale based on 20 V volts/div scale.
:CHANnel<n>:UNITs
Command format:
:CHANnel<n>:UNITs {VOLTs|AMPeres|WATTs|UNKNown}
:CHANnel<n>:UNITs?
Functional description:
This command is used to set the channel unit to VOLTs, AMPeres, WATTs or UNKNown.
<n>: {1|2|3|4}, it represents {CH1|CH2| CH3|CH4}.
Return format:
Query returns VOLTs, AMPeres, WATTs or UNKNown.
For example:
:CHAN1:UNIT VOLT Set the unit of channel 1 to VOLTs.
:CHAN1:UNIT? Query returns VOLTs.
:CHANnel<n>:VERNier
Command format:
:CHANnel<n>:VERNier { {1|ON} | {0|OFF} }
:CHANnel<n>:VERNier?
Functional description:
This command is used to set scale adjusting mode. If scale adjusting mode sets to ON, which is fine tuning.
Fine tuning can further subdivided within coarse tuning range for improving vertical resolution; if scale
adjusting mode sets to OFF, which is coarse tuning. It can adjust vertical sensitivity by system 1-2-5.

Programming Manual MSO/UPO2000 Series
17 / 156
Instruments.uni-trend.com
<n>: {1|2|3|4}, it represents {CH1|CH2| CH3|CH4} separately.
Return format:
Query returns 1 or 0, it represents ON or OFF.
For example:
:CHAN1:VERN ON Turn on fine tuning of channel 1.
:CHAN1:VERN? Query returns 1.
:CHANnel<n>:SELect
Command format:
:CHANnel<n>:SELect
:CHANnel<n>:SELect?
Functional description:
This command is used to select channel.
<n>: {1|2|3|4|5|6|7|8|9}, it represents {CH1|CH2|CH3|CH4|MATH|REFA|REFB|REFC|REFD} separately.
Return format:
Query returns 1 or 0, it represents ON or OFF.
For example:
:CHAN1:SELect Select channel 1.
:CHAN1:SELect? Query returns 1, it present the channel is selected.
TIMebase Command
This command is to change the horizontal scale (timebase) of the current channel and horizontal position of the
trigger in memory (trigger displacement). Changing the horizontal scale may casue the waveform extended or
compressed relative to the center of the screen; changing the horizontal position may casue waveform position
away from the center of screen.
:TIMebase:MODE
Command format:
:TIMebase:MODE {MAIN | WINDow}
:TIMebase:MODE?
Functional description:
This command is used to set timebase mode, MAIN(main timebase)or WINDow(<Zoomed> timebase).
Return format:
Query returns MAIN or WINDow.
For example:
:TIM:MODE MAIN Set timebase mode to MAIN.
:TIM:MODE? Query returns MAIN.
:TIMebase:OFFSet
Command format:
:TIMebase:OFFSet <offset>

Programming Manual MSO/UPO2000 Series
18 / 156
Instruments.uni-trend.com
:TIMebase:OFFSet?
Functional description:
This command is used to adjust the offset of MAIN (main timebase), which is displacement of the waveform
position from the center of the screen.
Return format:
Query returns <offset> value in scientific notation, unit is s.
For example:
:TIM:OFFS 1s Set the offset of MAIN to 1s.
:TIM:OFFS? Query returns 1.000e000.
:TIMebase:WINDow:OFFSet
Command format:
:TIMebase:WINDow:OFFSet <offset>
:TIMebase:WINDow:OFFSet?
Functional description:
This command is used to adjust the offset of WINDow (<Zoomed> timebase), which is displacement of
the waveform position from the center of the screen.
Return format:
Query returns <offset> value in scientific notation, unit is s.
For example:
:TIM:WIND:OFFS 1 Set the offset of WINDow to 1s.
:TIM:WIND:OFFS? Query returns 1.000e000.
:TIMebase:SCALe
Command format:
:TIMebase:SCALe {<scale> | UP | DOWN}
:TIMebase:SCALe?
Functional description:
This command is used to set timebase scale of MAIN(main timebase), which is s/div.
<scale>:Timebase scale value;
UP: Increase one scale based on the current scale of the oscilloscope;
DOWN: Decrease one scale based on the current scale of the oscilloscope.
Return format:
Query returns < scale> value in scientific notation, unit is s/div.
For example:
:TIM:SCAL 2 Set the offset of MAIN to 2 s/div.
:TIM:SCAL? Query returns 2.000e000.
:TIMebase:WINDow:SCALe
Command format:
:TIMebase:WINDow:SCALe < scale >
:TIMebase:WINDow:SCALe?
Functional description:

Programming Manual MSO/UPO2000 Series
19 / 156
Instruments.uni-trend.com
This command is used to set timebase scale of WINDow(<Zoomed> timebase), which is s/div.
Return format:
Query returns < scale> value in scientific notation, unit is s/div.
For example:
:TIM:WIND:SCAL 2 Set the offset of WINDow to 2 s/div.
:TIM:WIND:SCAL? Query returns 2.000e000.
:TIMebase:INDPendent
Command format:
:TIMebase:INDPendent { {1|ON} | {0|OFF} }
:TIMebase:INDPendent?
Functional description:
This command is used to turn on/off timebase independent mode.
Return format:
Query returns 1 or 0, it represents ON or OFF.
For example:
:TIM:INDP ON Turn on timebase independent mode.
:TIM:INDP? Query returns 1.
:TIMebase:HOLDoff
Command format:
:TIMebase:HOLDoff <time>
:TIMebase:HOLDoff?
Functional description:
This command is used to set trigger holdoff time, which can set the range to 100ns~10s.
Return format:
Query returns the value of trigger holdoff time in scientific notation, unit is s.
For example:
:TIM:HOLD 1s Set trigger holdoff time to 1s.
:TIM:HOLD? Query returns 1.000e000.
:TIMebase:SPLit:SCReen
Command format:
:TIMebase:SPLit:SCReen { OFF | CHANnel1| CHANnel2| CHANnel3| CHANnel4|ALL }
:TIMebase:SPLit:SCReen?
Functional description:
This command is used to set the split screen display in main timebase.
OFF: turn off independent display;
CHANnel1| CHANnel2| CHANnel3| CHANnel4: The waveform of channel 1, 2, 3, or 4 displays independently;
ALL: The waveform of all channel displays independently.
Return format:
Query returns {OFF | CHANnel1| CHANnel2| CHANnel3| CHANnel4 | ALL}.
For example:

Programming Manual MSO/UPO2000 Series
20 / 156
Instruments.uni-trend.com
:TIMebase:SPLit:SCReen CHANnel1
The waveform of channel 1 displays independently.
:TIMebase:SPLit:SCReen? Query returns CHANnel1.
FUNCtion Command
This command is used to display the operation result of the waveform of CH1, CH2, CH3, and CH4. The operation
is add, subtract, multiply, divide and FFT. Set filter to use the expression to operating.
:FUNCtion:MATH:MODE
Command format:
FUNCtion:MATH:MODE {MATH|FFT|FILTer|ADVance}
FUNCtion:MATH:MODE?
Functional description:
This command is used to select MATH mode.
Return format:
Query returns {MATH|FFT|FILTer|ADVance}.
For example:
FUNC:MATH:MODE FFT Set MATH mode to FFT mode.
FUNC:MATH:MODE? Query returns FFT.
:FUNCtion:OPERation
Command format:
:FUNCtion:OPERation {ADD | SUBTract | MULTiply | DIVide }
:FUNCtion:OPERation?
Functional description:
This command is used to set functional operator, which includes the basic and logical operation. That is
add, subtract, multiply and divide.
Return format:
Query returns {ADD | SUBTract | MULTiply | DIVide}.
For example:
:FUNCtion:OPERation ADD Use add operator: src1+src2.
:FUNCtion:OPERation? Query returns ADD.
:FUNCtion:SOURce<m>
Command format:
:FUNCtion:SOURce<m> {CHANnel1| CHANnel2| CHANnel3| CHANnel4}
:FUNCtion:SOURce<m>?
Functional description:
SOURce <m> represents source 1 or source 2. <m> take value from 1, 2.
SOURce1 is used for selecting the first source of operator mathematical functions. And which can be a
signle source of Filter, FFT.
SOURce2 is used to select the second source of operator mathematical functions. Single source of Filter,
Table of contents
Other Unit Test Equipment manuals