2017 U n i - T r e n d T e c h n o l o g y (Ch i n a ) C o . , L td .
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, you can contact us,
Website:https://www.uni-trend.com
UTD2000E Series Osilloscope Programming Manual
Page 3
UNI-T
e 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 ignoret, 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.
UTD2000E Series Osilloscope Programming Manual
Page 4
Parameter Description
The parameter in this manual can divide into five types: Boolean, Integer, Real,
Discrete, ASCII string
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.
UNI-T
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".
UTD2000E Series Osilloscope Programming Manual
Page 5
UNI-T
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 presents by the
scientific notation method. 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.
Notes:* presents return valid data.
UTD2000E Series Osilloscope Programming Manual
Page 6
SCPI Command
IEEE488.2 Common Command
*IDN?
Command format:
*IDN?
Functional description:
For query 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, UPO2000CS, UPO1000, 00.00.01
*RST
UNI-T
Command format:
*RST
Functional description:
Restore factory settings and clear the entire error message, send and receive queue buffers.
SYSTem Command
The command used for the oscilloscope basic operation, including operating control,
full qwerty lock, error queue and system setup.
:RUN
Command format:
:RUN
Functional description:
Oscilloscope start to sampling, execute :STOP command to stop it.
:STOP
Command format:
:STOP
Functional description:
Stop sampling function, execute :RUN command to start it.
UTD2000E Series Osilloscope Programming Manual
Page 7
:AUTO
Command format:
:AUTO
Functional description:
Set control parameter automatically, use auto function to achieve the best display effect.
:SYSTem:LOCK ON/:SYST:LOCK 1 full qwerty lock
:SYSTem:LOCK OFF/:SYST:LOCK 0 unlock full qwerty
:SYSTem:LOCK? query return 1,it presents locked
UNI-T
:SYSTem:ERRor
Command format:
:SYSTem:ERRor
:SYSTem:ERRor?
Functional description:
Empty error message queue.
Return format:
Query return the last time error message, return error message by query format <message
number>,<message content>, <message number> is a integer,<message content> is ASCII
character string with double quotation marks.
like-113,"Undefined header; command cannot be found"
-113,"Undefined header; command cannot be found"
presents undefined command head
UTD2000E Series Osilloscope Programming Manual
Page 8
:SYSTem:SETup
Command format:
:SYSTem:SETup <setup_data>
:SYSTem:SETup?
Functional description:
Set system configuration data, <setup_data> is conform to IEEE 488.2 # format of binary data.
In sending,data flow is followed command character and complete send in time.
In reading, make sure there has enough buffer to receive data flow, otherwise it may occurred
abnormal.
Return format:
Query return system setup data, return format is conform to IEEE 488.2 # format of binary data.
:SYSTem:LANGuage
Command format:
:SYSTem:LANGuage {
:SYSTem:LANGuage?
Functional description:
Set system language.
Return format:
Query return{ ENGLish | SIMPlifiedchinese | TRADitionalchinese }.
For example:
:SYSTem:LANGuage ENGL set system language as English
:SYSTem:LANGuage? query returnENGLish
ENGLish |SIMPlifiedchinese |TRADitionalchinese }
UNI-T
:SYSTem:CAL
Command format:
:SYSTem:
Functional description:
Set system self-calibration, during self-calibration, oscilloscope can not communication.
Set menu display time, INFinite presents menu is display all time.
Return format:
Query return{ 5S | 10S | 20S | INFinite }。
For example:
:SYSTem:MNUDisplay 5S set menu display base as 5s, automatic fold.
:SYSTem:MNUDisplay? query return 5S
:SYSTem:BRIGhtness
Command format:
:SYSTem:BRIGhtness <count>
:SYSTem:BRIGhtness?
Functional description:
Set screen luminance, <count> take value from 1~100,the bigger the number, the brighter the
screen.
Return format:
Query return the current screen luminance.
For example:
:SYSTem:BRIGhtness 50 screen luminance as 50
:SYSTem:BRIGhtness? query return 50
UNI-T
:SYSTem:VERSion?
Command format:
:SYSTem:VERSion?
Return format:
Query return version information, 128 bytes character string.
HW is hardware version number, SW is software version numer,PD is created date, ICV is
protocol version number.
Set channel coupling mode, DC presents AC and DC component of input signal; AC presents DC
component of blocking input signal; GND (grounding) presents break input signal.
:CHAN1:PROB 10X set channel 1 probe attenuation factor as 10
:CHAN1:PROB? query return 10X
UTD2000E Series Osilloscope Programming Manual
Page 15
:CHANnel<n>:OFFSet
Command format:
:CHANnel<n>:OFFSet <offset>
:CHANnel<n>:OFFSet?
Functional description:
Set wave offset in vertical position, <n> take value as 1/2/3/4/5, it presents {CH1/CH2/CH3/
CH4/ MATH }.
Return format:
Query return offset value by scientific notation method, unit is related with the current channel
unit.
For example:
:CHAN1:OFFS 20V set channel 1 vertival offset as 20V
:CHAN1:OFFS? query return 2.000e001
:CHANnel<n>:SCALe
UNI-T
Command format:
:CHANnel<n>:SCALe {<scale> | UP | DOWN}
:CHANnel<n>:SCALe?
Functional description:
Set voltage base in vertical position.
<scale>:voltage base value;
UP:plus one position based on the current position;
DOWN :minus one position based on the current position.
Return format:
Query return the current voltage position value by scientific notation method, unit is V.
For example:
:CHAN1:SCAL 20V set channel 1 voltage base as 20V
:CHAN1:SCAL? query return 2.000e001。
:CHAN1:SCAL UP plus one position based on 20V voltage base
Set position accommodation mode, ON presents Fine tuning,to further
tuning settings to improve vertical resolution; OFF presents Coarse tuning, based on 1-2-5
system to set vertical sensitivity.
Return format:
Query return 1 or 0,it presents ON or OFF.
For example:
:CHAN1:VERN ON turn on channel 1 fine tuning function
:CHAN1:VERN? query return 1
subdivides between coarse
UNI-T
:CHANnel<n>:SELect
Command format:
:CHANnel<n>:
:CHANnel<n>:
Functional description:
For channel selection.
Return format:
Query return 1 or 0,it presents ON or OFF.
For example:
:CHAN1:
:CHAN1:
SELect
SELect?
SELect select channel 1
SELect? query return 1,it presents channel 1 has been selected
UTD2000E Series Osilloscope Programming Manual
Page 17
UNI-T
TIMebase Command
This command is to change the current channel horizontal scale (time base) and
horizontal position of trigger in memory (trigger offset). Horizontal scale change will
make waveform expand or shrink relative to screen center. Horizontal position change
will make wave shift relative to screen center.
:TIMebase:MODE
Command format:
:TIMebase:MODE {MAIN | WINDow}
:TIMebase:MODE?
Functional description:
Set timebase mode, MAIN or WINDow (zoom timebase <Zoomed>)
Return format:
Query return MAIN or WINDow.
For example:
:TIM:MODE MAIN set timebase mode as MAIN
:TIM:MODE? query return MAIN
:TIMebase:OFFSet
Command format:
:TIMebase:OFFSet <offset>
:TIMebase:OFFSet?
Functional description:
For adjust MAIN offset value,
Return format:
Query return <offset> value by scientific notation,unit is S.
For example:
:TIM:OFFS 1s set MAIN offset value as 1s
:TIM:OFFS? query return 1.000e000
For adjust WINDow offset value(zoom timebase <Zoomed>),wave shift relative to screen center.
Return format:
Query return<offset> value by scientific notation method unit is S.
For example:
:TIM:WIND:OFFS 1 set WINDow offset value as 1s
:TIM:WIND:OFFS? query return 1.000e000
:TIMebase:SCALe
Command format:
:TIMebase:SCALe {<scale> | UP | DOWN}
:TIMebase:SCALe?
Functional description:
Set timebase position of MAIN, s/div.
<scale>:timebase value;
UP:plus one position based on the current position;
DOWN :minus one position based on the current position.
Return format:
Query return< scale> value by scientific notation method, unit is s/div.
For example:
:TIM:SCAL 2 set MAIN offset value as 2s/div
:TIM:SCAL? query return 2.000e000
UNI-T
:TIMebase:WINDow:SCALe
Command format:
:TIMebase:WINDow:SCALe {<scale> | UP | DOWN}
:TIMebase:WINDow:SCALe?
Functional description:
For adjust WINDow timebase(zoom timebase <Zoomed>), that is s/div.
Return format:
query return < scale> value by scientific notation method, in s/div.
For example:
:TIM:WIND:SCAL 2 set WINDow timebase offset value as 2s/div
:TIM:WIND:SCAL? query return 2.000e000
UTD2000E Series Osilloscope Programming Manual
Page 19
UNI-T
FUNCtion Command
Display the operational result plus, minus, multiply, divide, AND, OR, negation,
exclusive OR and FFT of CH1,CH2,CH3,CH4 waveform, set filter to use expression
operation.
Set unit of FFT vertical diection as dbrms or VRMS. dbrms presents root mean square of power;
VRMS presents root mean square of voltage.
Return format:
Query return VRMS, DBRMS
For example:
:FUNCtion:SOUR1 CHAN1 set channel 1 as source 1
:FUNC:FFT:VTYP VRMS set unit of FFT vertical diection as root mean square of voltage
:FUNC:FFT:VTYP? query return VRMS
UTD2000E Series Osilloscope Programming Manual
Page 21
:FUNCtion:FFT:FREQuency
Command format:
:FUNCtion:FFT:FREQuency?
Functional description:
The center frequency of spectrum and waveform after obtaining FFT.
Return format:
Query return1.000e003,unit is Hz.
For example:
:FUNCtion:SOUR1 CHAN1 set channel 1 as source 1
:FUNC:FFT:FREQ? query return 1.000e003
The setting of the lower frequency limit of filter. It is applicable for high-pass filter, band-pass
filer and band-stop filter.
Return format:
Query return 6.000e001,unit is Hz.
For example:
:FUNC:SOUR1 CHAN1 set channel 1 as source 1
:FUNC:FILT:FREQ:LOW 60Hz set the upper frequency limit of filter as 60Hz
:FUNC:FILT:FREQ:LOW? query return 6.000e001
UNI-T
MEASure Command
This command is for oscilloscope basic measurement, auto turn on parameter
measurement and get test result, return test result by scientific notation method.
:MEASure:ALL
Command format:
:MEASure:ALL {{1 | ON} | {0 | OFF}}
:MEASure:ALL?
Functional description:
The switch setting of all measurement function.
Return format:
Query return turn on all measurement function whether is turn on
For example:
:MEASure:ALL ON turn on all measurement function
:MEASure:ALL? query return 1
:MEASure:CLEar
Command format:
:MEASure:CLEar
Functional description:
Empty the current measured parameter.
For example:
:MEAS:CLE delete the current measured parameter
UTD2000E Series Osilloscope Programming Manual
Page 23
:MEASure:SOURce
Command format:
:MEASure:SOURce <source>
:MEASure:SOURce?
Functional description:
For select the main measure source, <source> is CHANnel<n>, n take value as 1, 2, 3, 4.
:MEAS:SLAV:SOUR CHAN1 select channel 1 as slave information source
:MEAS:SLAV:SOUR? return CHANnel1
:MEASure:PDUTy?
Command format:
:MEASure:PDUTy? [<source>]
Functional description:
Measuring positive duty ratio of the specified channel waveform, <source> take vaule as
CHANnel1, CHANnel2, CHANnel3 or CHANnel4. Ignore measns the current channel.
Return format:
Query return 5.000e001,i unit is %.
:MEASure:NDUTy?
Command format:
:MEASure:NDUTy? [<source>]
Functional description:
UTD2000E Series Osilloscope Programming Manual
Page 24
Measuring positive duty ratio of the specified channel waveform, <source> take vaule as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ignore measns the current channel.
Return format:
Query return 5.000e001,unit is %.
:MEASure:PDELay?
Command format:
:MEASure:PDELay? [<source1>,<source2>]
Functional description:
Measuring <source1> and <source2> relative to time delay of rise edge, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ignore measns the current channel.
Return format:
query return-1.000e-004,unit is S.
For example:
Measuring the relative to time delay of rise edge.
:MEASure:PDEL? CHAN1,CHAN2
UNI-T
:MEASure:NDELay?
Command format:
:MEASure:NDELay? [<source1>,<source2>]
Functional description:
Measuring <source1> and <source2> relative to time delay of fall edge, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ignore measns the current channel.
Return format:
Query return -1.000e-004,unit is S.
For example:
Measuring the relative to time delay of fall edge.
:MEASure:NDEL? CHAN1,CHAN2
:MEASure:PHASe?
Command format:
:MEASure:PHASe? [<source1>,<source2>]
Functional description:
Timing measuring <source1> relative to <source2> the advance or hysteretic of time quantum, it
presents by degree, 360°as a period, source take value as CHANnel1, CHANnel2, CHANnel3,
CHANnel4 and MATH. Ingore means the current channel.
Return format:
query return 1.000e001,unit is degree.
For example:
UTD2000E Series Osilloscope Programming Manual
Page 25
Measuring <source1> relative to <source2> the advance or hysteretic of time quantum.
:MEASure:PHAS? CHAN1,CHAN2
:MEASure:VPP?
Command format:
:MEASure:VPP? [<source>]
Functional description:
Measuring peak-to-peak value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH. Ingore means the current channel.
Return format:
Query return 3.120e000,unit is V.
:MEASure:VMAX?
Command format:
:MEASure:VMAX? [<source>]
Functional description:
Measuring the maximum value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ingore means the current channel.
Return format:
Query return 2.120e000,unit is V.
UNI-T
:MEASure:VMIN?
Command format:
:MEASure:VMIN? [<source>]
Functional description:
Measuring the minimum value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ingore means the current channel.
Return format:
Query return -2.120e000,unit is V.
:MEASure:VAMPlitude?
Command format:
:MEASure:VAMPlitude? [<source>]
Functional description:
Measuring the amplitude value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ingore means the current channel.
Return format:
Query return 3.120e000,unit is V.
UTD2000E Series Osilloscope Programming Manual
Page 26
:MEASure:VTOP?
Command format:
:MEASure:VTOP? [<source>]
Functional description:
Measuring the top value of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3, CHANnel4 and MATH,Ingore means the current channel.
Return format:
Query return 3.120e000,unit is V.
:MEASure:VBASe?
Command format:
:MEASure:VBASe? [<source>]
Functional description:
Measuring the bottom value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ingore means the current channel.
Return format:
query return-3.120e000,unit is V.
UNI-T
:MEASure:VMIDdle?
Command format:
:MEASure:VMIDdle? [<source>]
Functional description:
Measuring the middle value of the specified channel waveform,<source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH,Ingore means the current channel.
Return format:
Query return0.120e000,unit is V.
UTD2000E Series Osilloscope Programming Manual
Page 27
:MEASure:VAVerage?
Command format:
:MEASure:VAVerage? [<interval>][,<source>]
Functional description:
Measuring the average value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH. If there has no designated <source>,
the current channel as <source> by default; <interval> appoint the measurement separation, take
value as CYCLe and DISPlay, CYCLe presents integer cycle period, DISPlay presents full screen.
If there has no designated <interval>, take DISPlay by default.
Return format:
Query return1.120e000,unit is V.
:MEASure:VRMS?
Command format:
:MEASure:VRMS? [<interval>][,<source>]
Functional description:
Measuring the root mean square value of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3, CHANnel4 and MATH. If there has no designated <source>,
the current channel as <source> by default; <interval> appoint the measurement separation, take
value as CYCLe and DISPlay, CYCLe presents integer cycle period, DISPlay presents full screen.
If there has no designated <interval>, take DISPlay by default.
Return format:
Query return 1.230e000,unit is V.
UNI-T
:MEASure:AREa?
Command format:
:MEASure:AREa? [<interval>][,<source>]
Functional description:
Measuring the area of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3, CHANnel4 and MATH. If there has no designated <source>, the current
channel as <source> by default; <interval> appoint the measurement separation, take value as
CYCLe and DISPlay, CYCLe presents integer cycle period, DISPlay presents full screen. If there
has no designated <interval>, take DISPlay by default.
Return format:
Query return 3.456e002,unit is V.s.
UTD2000E Series Osilloscope Programming Manual
Page 28
:MEASure:OVERshoot?
Command format:
:MEASure:OVERshoot? [<source>]
Functional description:
Measuring overshoot of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3, CHANnel4 and MATH. Ignore means the current channel.
Return format:
query return1.230e002,unit is V.
:MEASure:PREShoot?
Command format:
:MEASure:PREShoot? [<source>]
Functional description:
Measuring prshoot of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3, CHANnel4 and MATH. Ignore means the current channel.
Return format:
Query return 1.230e-002,unit is V.
UNI-T
:MEASure:FREQuency?
Command format:
:MEASure:FREQuency? [<source>]
Functional description:
Measuring frequency of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 2.000e003,unit is Hz.
:MEASure:RISetime?
Command format:
:MEASure:RISetime? [<source>]
Functional description:
Measuring rise time of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return5.000e-005,unit is s.
UTD2000E Series Osilloscope Programming Manual
Page 29
:MEASure:FALLtime?
Command format:
:MEASure:FALLtime? [<source>]
Functional description:
Measuring fall time of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 5.000e-005,unit is s.
:MEASure:PERiod?
Command format:
:MEASure:PERiod? [<source>]
Functional description:
Measuring period of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 5.000e-003,unit is s.
UNI-T
:MEASure:PWIDth?
Command format:
:MEASure:PWIDth? [<source>]
Functional description:
Measuring period of the specified channel waveform, <source> take value as CHANnel1,
CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 5.000e-003,unit is s.
:MEASure:NWIDth?
Command format:
:MEASure:NWIDth? [<source>]
Functional description:
Measuring negative pulse width of the specified channel waveform, <source> take value as
CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 5.000e-003,unit is s.
UTD2000E Series Osilloscope Programming Manual
Page 30
:MEASure:FRR?
Command format:
:MEASure:FRR? [<source1>,<source2>]
Functional description:
Measuring time of the first rise edge between <source1> and <source2>, <source> take value as
CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 5.000e-003,unit is s.
:MEASure:FRF?
Command format:
:MEASure:FRF? [<source1>,<source2>]
Functional description:
Measuring time between the first rise edge of <source1> and the first fall edge of <source2>,
<source> take value as CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current
channel.
Return format:
Query return 5.000e-003,unit is s.
UNI-T
:MEASure:FFR?
Command format:
:MEASure:FFR? [<source1>,<source2>]
Functional description:
Measuring time between the first fall edge of <source1> and the first fall edge of <source2>,
<source> take value as CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current
channel.
Return format:
Query return 5.000e-003,unit is s.
:MEASure:FFF?
Command format:
:MEASure:FFF? [<source1>,<source2>]
Functional description:
Measuring time of the first fall edge between <source1> and <source2>, <source> take value as
CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current channel.
Return format:
Query return 5.000e-003,unit is s.
UTD2000E Series Osilloscope Programming Manual
Page 31
:MEASure:LRR?
Command format:
:MEASure:LRR? [<source1>,<source2>]
Functional description:
Measuring time between the first rise edge of <source1> and the last rise edge of <source2>,
<source> take value as CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current
channel.
Return format:
Query return 5.000e-003,unit is s.
:MEASure:LRF?
Command format:
:MEASure:LRF? [<source1>,<source2>]
Functional description:
Measuring time between the first rise edge of <source1> and the last fall edge of <source2>,
<source> take value as CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current
channel.
Return format:
Query return 5.000e-003,unit is s.
UNI-T
:MEASure:LFR?
Command format:
:MEASure:LFR? [<source1>,<source2>]
Functional description:
Measuring time between the first fall edge of <source1> and the last rise edge of <source2>,
<source> take value as CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current
channel.
Return format:
Query return 5.000e-003,unit is s.
:MEASure:LFF?
Command format:
:MEASure:LFF? [<source1>,<source2>]
Functional description:
Measuring time between the first fall edge of <source1> and the last fall edge of <source2>,
<source> take value as CHANnel1, CHANnel2, CHANnel3 and MATH. Ignore means the current
channel.
Return format:
UTD2000E Series Osilloscope Programming Manual
Page 32
Query return 5.000e-003,unit is s.
UNI-T
TRIGger Command
This command is to control trigger sweep mode and trigger standard, trigger decide
when oscilloscope start to collect data and display waveform.
Trigger Control
:TRIGger:MODE
Command format:
:TRIGger:MODE <mode>
:TRIGger:MODE?
Functional description:
Set trigger mode.
<mode> divided into EDGE(edge trigger), PULSe(pulse width trigger), VIDeo(video trigger),
Set trigger sweep mode.
AUTO:If there has no trigger term, internal will produce trigger signal to force trigger.
NORMal:Trigger only when in trigger term.
SINGle:In trigger term, trigger one time and stop.
Set the trigger level value of NORMal mode. <level> value must set based on voltage base and
the conversion of screen information.
Return format:
Query return<level> value,unit is V.
For example:
:TRIG:LEV 2 set the trigger leve as 2V
:TRIG:LEV? query return 2.000e000
:TRIGger:LEVel:LOW
Command format:
:TRIGger:LEVel:LOW <level>
UTD2000E Series Osilloscope Programming Manual
Page 34
:TRIGger:LEVel:LOW?
Functional description:
Set the low-level value of slope trigger, <level> value must set based on voltage base and the
conversion of screen information.
Return format:
query return <level> value,unit is V.
For example:
:TRIG:LEV:LOW 2 set the trigger leve as 2V
:TRIG:LEV:LOW? query return 2.000e000
:TRIGger:LEVel:HIGH
Command format:
:TRIGger:LEVel:HIGH <level>
:TRIGger:LEVel:HIGH?
Functional description:
Set the high-level value of slope trigger, <level> value must set based on voltage base and the
conversion of screen information.
Return format:
Query return <level> value,unit is V.
For example:
:TRIG:LEV:HIGH 2 set the trigger leve as 2V
:TRIG:LEV:HIGH? query return 2.000e000
UNI-T
:TRIGger:SOURce
Command format:
:TRIGger:SOURce <source>
:TRIGger:SOURce?
Functional description:
Set single information source trigger, input channel(CHANnel1, CHANnel 2, CHANnel 3,
CHANnel 4), external trigger( EXT, EXT5), AC Line. Only EDGE/ PULSe / VIDeo support AC
Line, EXT and EXT5.
<source> presents information source trigger,
CHANnel<n>|EXT|EXT5|ACLine,<n> take value as 1, 2, 3, 4.
Return format:
Query return information source trigger { CHANnel1| CHANnel2| CHANnel3|
CHANnel4|EXT|EXT5|ACLINE}.
For example:
:TRIGger:SOUR CHAN1 set channel 1 as edge tigger
:TRIGger:SOUR? query return CHANnel1
:CURSor:SOURce CHAN1 set channel 1 as cursor source
:CURSor:SOURce? query return CHANnel1
:CURSor:CURA
Command format:
:CURSor:CURA <value>
UTD2000E Series Osilloscope Programming Manual
Page 42
:CURSor:CURA?
Functional description:
Set the horizontal or vertical position of A cursor line. It is related with command CURSor:TYPE,
amplitude presents the vertical position, time presents the horizontal position. Vertical line range
[0,699],horizontal line range [28,227].
Return format:
Query return the position of A cursor line.
For example:
:CURSor:CURA 50 set manual A cursor line position as 50
:CURSor:CURA? query return 50
:CURSor:CURB
Command format:
:CURSor:CURB <value>
:CURSor:CURB?
Functional description:
Set the horizontal or vertical position of B cursor line. It is related with directive CURSor:TYPE.
Return format:
Query return the position of B cursor line.
For example:
:CURSor:CURB 50 set manual B cursor line position as 50
:CURSor:CURB? query return 50
UNI-T
:CURSor:AXValue?
Command format:
:CURSor:AXValue?
Functional description:
Query X value of A cursor point, unit is select by the amplitude unit of the current channel.
Return format:
Query returns X value of A cursor point by scientific notation method.
For example:
:CURSor:AXV? query return 2.000000E+02
:CURSor:AYValue?
Command format:
:CURSor:AYValue?
Functional description:
UTD2000E Series Osilloscope Programming Manual
Page 43
Query Y value of A cursor point, unit is select by the amplitude unit of the current channel.
Return format:
Query returns Y value of A cursor point by scientific notation method.
For example:
:CURSor:AYV? query return 2.000000E+02
:CURSor:BXValue?
Command format:
:CURSor:BXValue?
Functional description:
Query X value of B cursor point, unit is select by the amplitude unit of the current channel.
Return format:
Query returns X value of B cursor point by scientific notation method.
For example:
:CURSor:BXV? query return2.000000E+02
UNI-T
:CURSor:BYValue?
Command format:
:CURSor:BYValue?
Functional description:
Query Y value of B cursor point, unit is select by the amplitude unit of the current channel.
Return format:
Query returns Y value of B cursor point by scientific notation method.
For example:
:CURSor:BYV? query return 2.000000E+02
:CURSor:XDELta?
Command format:
:CURSor:XDELta?
Functional description:
In cursor track measuring, the difference value △X between cursor A point and cursor B point.
Return format:
Query return
scientific notation method.
For example:
:CURSor:XDEL? query return 2.000000E+02
the actual difference value △X between cursor A point and cursor B point by
UTD2000E Series Osilloscope Programming Manual
Page 44
:CURSor:YDELta?
Command format:
:CURSor:YDELta?
Functional description:
In cursor track measuring, the difference value △Y between cursor A point and cursor B
point.Unit is the same as the current chnnel unit.
Return format:
Query return the actual difference value △Y between cursor A point and cursor B point by
scientific notation method.
For example:
:CURSor:YDEL? query return 2.000000E+02
ACQuire Command
This command is to set sampling mode of oscilloscope.
UNI-T
:ACQuire:TYPE
Command format:
:ACQuire:TYPE {NORMal | AVERage | PEAKdetect | HRESolution }
:ACQuire:TYPE?
Set waveform brightness, <count>take value from 1~100,the larger the number, the brighter the
waveform.
Return format:
Query return the current brightness.
For example:
:DISPlay:WAVE:BRIGhtness 50 set waveform brightness as 50
:DISPlay:WAVE:BRIGhtness? query return 50
:DISPlay:CLEar
Command format:
:DISPlay:CLEar
Functional description:
For empty waveform displayed on the screen, if oscilloscope is on RUN status, empty displayed
waveform then display new waveform.
:DISPlay:TYPE
Command format:
:DISPlay:TYPE {XY12 |YT}
:DISPlay:TYPE?
Functional description:
UTD2000E Series Osilloscope Programming Manual
Page 48
Set timebase display mode as XY12(X-Y mode:display amplitude of channel 1 on the horizontal
axis, display amplitude of channel 2 on the vertical axis); YT(Y-T mode:display the relative
relationship of vertical voltage and horiziontal time)。
Return format:
Query return XY12, YT.
For example:
:DISP:TYPE YT set timebase format as YT mode
:DISP:TYPE? query return YT
WAVeform Command
This command is to read waveform data on the screen and set parameter.
:WAVeform:MODE
Command format:
:WAVeform:MODE {NORMal | RAW}
:WAVeform:MODE?
Functional description:
NORMal:read the display waveform data on the screen, the waveform data points is fixed points.
RAW:read the waveform data in memory storage, the waveform data points is related to the
storage depth. Notes: Read the data of memory storage is valid only when oscilloscope stops, this
command is invalid when in MATH channel.
Return format:
query return {NORMal | RAW}.
For example:
:WAVeform:MODE RAW set the read mode as RAW
:WAVeform:MODE? query return RAW
UNI-T
:WAVeform:FORMat
Command format:
:WAVeform:FORMat { WORD |
:WAVeform:FORMat?
Functional description:
The default format of waveform data is AD waveform point
BYTE:return AD data, one waveform point takes one byte(8 bits)
WORD:return AD data, one waveform point takes two bytes(16 bits),low 8 bits is valid, high
8 bits is 0
ASCII:return the actual voltage value of each waveform point by scientific notation method,
each voltage value separate by comma mark.
Conform to binary data IEEE488.2 fomat
UTD2000E Series Osilloscope Programming Manual
BYTE |ASCII }
Page 49
For example: #412342.00000E+01,2.20000E+01, 2.30000E+01..........\n
Return format:
Query return{ WORD |
For example:
:WAVeform:FORMat BYTE return format of AD waveform data is single byte mode
:WAVeform:FORMat? query return BYT
BYTE |ASCII }.
:WAVeform:STARt
Command format:
:WAVeform:STARt <start>
:WAVeform:STARt?
Functional description:
Set or query the initial position of waveform data read, < start> integer data type.
NORMal:1 ~1400
RAW:1 ~ the maximum current storage depth point
Return format:
Query return the initial position.
For example:
:WAVeform:STARt 200 set the initial position as 200
:WAVeform:STARt? query return 200
UNI-T
:WAVeform:STOP
Command format:
:WAVeform:STOP <stop>
:WAVeform:STOP?
Functional description:
Set or query the stop position of waveform data read, < start> integer data type.
NORMal:< stop> range1 ~1400
RAW:< stop> range: the maximum current storage depth point
Return format:
Query return stop position.
For example:
:WAVeform:STOP 400 set the stop position as 400
:WAVeform:STOP? query return 400
:WAVeform:SOURce
Command format:
:WAVeform:SOURce {CHANnel<n>| MATH}
UTD2000E Series Osilloscope Programming Manual
Page 50
:WAVeform:SOURce?
Functional description:
Set or query signal source of the current waveform data, if not send this command, it presents
query waveform data of the current channel.
Return format:
Query return
{ CHANnel1 |
CHANnel2 |CHANnel3 | CHANnel4 | MATH }.
For example:
:WAVeform:SOURce CHAN1
set signal source of the current waveform data as channel 1
:WAVeform:SOURce? query return CHANnel1
:WAVeform:POINts
Command format:
:WAVeform:POINts <points>
:WAVeform:POINts?
Functional description:
Set return waveform data, the default value is 0.
Return format:
Query return waveform point.
For example:
:WAVeform:POINts 120 set return waveform point as 120
:WAVeform:POINts? query return 120
UNI-T
:WAVeform:DATA?
Command format:
:WAVeform:DATA?
Functional description:
Read waveform data of the specified data source。
Return format:
WAVeform:POINts the specified quantity of waveform data, waveform data source is related
with :WAVeform:SOURc, data format is related with WAVeform:FORMat, returns data is
conform to binary data IEEE 488.2 # format.
For example:
The execute order to obtain the specified data source the waveform data as following:
The flow to obtain the waveform data of screen
:WAVeform:SOURce CHAN1
Set channel 1 as singal source of query waveform data
:WAVeform:MODE NORMal
Set to read the display waveform data
UTD2000E Series Osilloscope Programming Manual
Page 51
:WAVeform:FORMat BYTE
The return format of waveform data is AD single byte mode
:WAVeform:DATA?
Obtain the waveform data
The flow to obtain the internal waveform data, this flow is only valid when the oscilloscope
stops
:WAVeform:SOURce CHAN1
Set channel 1 as singal source of query waveform data
Set to read the internal waveform data
:WAVeform:FORMat BYTE
The return format of waveform data is AD single byte mode
:WAVeform:POINts 5000
Internal waveform point are 5000
:WAVeform:DATA?
Obtain an area of internal waveform data
Description: when read internal data in batch, returns data is only an area of internal data,
waveform data is continuous between in two adjacent area and each area data is conform to binary
data IEEE 488.2 # format.
UNI-T
:WAVeform:PREamble?
Command format:
:WAVeform:PREamble?
Functional description:
Query return the current system waveform setup parameter.
Return format:
Query return use comma mark to separate.
Return data format: Format,Type,Points,Count,Xinc,Xor,Xref,Yinc,Yor,Yref.
Format:BYTE (0), WORD (1), ASCII(2).
Type:NORMAL(0), PEAK(1), AVER(2), ENVelope(3), HRESolution(4).
Points:return the waveform data points.
Count:in average sampling mode as average time, other mode as 1.
Xinc:the time difference between in two point of X direction of waveform data source.
Xor:the relative time of trigger point.
Xref:X reference
Yinc:unit voltage of Y direction
Yor:the relative position of Y direction and YREF zero position
Yref:the reference value of Y direction, the center point of screen
Query the time interval between two adjacent points in X direction of the selected source.
The returns value is related to data read mode:
NORMal mode,XINCrement=TimeScale/
base
RAW mode,XINCrement=1/SampleRate
Return format:
Query return
For example:
:WAV:XINC? query return 3.000e-003
time base count,unit is s.
waveform points in the horizontal direction of time
UNI-T
:WAVeform:XORigin?
Command format:
:WAVeform:XORigin?
Functional description:
Query the selected channel initial time of waveform data in the X direction, trigger point time is
zero, before trigger point is negative number.
Return value is related with the current data read mode:
NORMal mode,return initial time of waveform data display on the screen.
RAW mode,return initial time of waveform data storage in memory.
Return format:
Query return time value,unit is s.
For example:
:WAV:XOR? query return 3.000e-002
:WAVeform:XREFerence?
Command format:
:WAVeform:XREFerence?
Functional description:
Query the time reference of waveform points in X direction of the selected channel source, always
be zero.
Return format:
Query time reference,query return 0.
For example:
UTD2000E Series Osilloscope Programming Manual
Page 53
:WAV:XREF? query return 0
:WAVeform:YINCrement?
Command format:
:WAVeform:YINCrement?
Functional description:
Query unit voltage value of the current channel source in Y direction, unit is accord with
amplitude value.
Return value is related with the current data read mode:
NORMal mode,YINCrement = VerticalScale/waveform point of voltage base in vertical position
RAW mode,YINCrement is related with memory waveform VerticalScale and the current selected
VerticalScale.
Return format:
Query return unit voltage value of Y direction.
For example:
:WAV:YINC? query return 2.000e000
UNI-T
:WAVeform:YORigin?
Command format:
:WAVeform:YORigin?
Functional description:
Query the vertical shift in the Y direction of the current selected channel source relative to the
vertical reference position.
Return value is related with the current data read mode:
NORMal mode,YORigin = VerticalOffset/YINCrement
RAW mode,YORigin is related with memory waveform VerticalScale and the current selected
VerticalScale.
Return format:
Query return vertical offset, integer type.
For example:
:WAV:YOR? query return 0
:WAVeform:YREFerence?
Command format:
:WAVeform:YREFerence?
Functional description:
Query the reference position in the Y direction of the current selected channel source, ADC of
channel zero level channel.
UTD2000E Series Osilloscope Programming Manual
Page 54
Return value is related with the current data read mode:
NORMal mode,YREFerence is fixed as 128(the bottom of screen as 0, top as 255)
RAW mode,YREFerence is related with memory waveform VerticalScale and the current selected
VerticalScale.
Return format:
Query return referece position, integer type.
For example:
:WAV:YREF? query return 100
FILE Command
This command is for reference waveform and storage function.
:FILE:LOAD
Command format:
:FILE:LOAD <filename>[,<source>][,<disk>]
Functional description:
For loading waveform to the related channel or data setting.
<filename> file name must be character string data with double quotation mark, for
example “test.bsv”
The file name of *.bsv or *.csv presents load waveform data of the file into the reference
channel.
The file name of *.set presents load the setting data of the file into oscilloscope.
Save waveform data of channel 1 as test.bsv format into U disk.
FILE:SAVE "system-set-up01.set"
The configuration data of oscilloscope save as No.1 position of internal medium.
FILE:SAVE "wave01.bsv",CHANnel1,FLASH
Save waveform data of channel 1 into internal medium.
FILE:SAVE "wave01.bsv",CHANnel1
Save waveform data of channel 1 into internal medium.
FILE:SAVE "system-set-up01.set",FLASH
The configuration data of oscilloscope save as internal medium.
FILE:SAVE "system-set-up01.set"
The configuration data of oscilloscope save as No.1 position of internal medium.
UTD2000E Series Osilloscope Programming Manual
Page 56
UNI-T
Notes: The file name of internal storage setting must be"system-set-up01.set"~ "system-set-up255.set",
maximum limit 255 files.
The file name of internal storage bsv must be"wave01.bsv"~” wave255.bsv", maximum limit 255
files.
UTD2000E Series Osilloscope Programming Manual
Page 57
Appendix 1:Key Table
Key Functional Description LED
CH1 Channel 1 switch √
CH2 Channel 2 switch √
MATH Mathematical operation and menu √
AUTOSet control parameter automatically to display waveform
RSControl oscilloscope operating status, send this command
continuously, oscilloscope will step through stop and running
status
TMENuTrigger menu
DEFault Recovery default setting
HELPHelp system
HMENuHorizontal system meue
DISPlay Display menu
F1 Select the first item of the current menu
F2 Select the second item of the current menu
F3 Select the third item of the current menu
F4 Select the fourth item of the current menu
F5 Select the fifth item of the current menu
MENu Menu display switch
PSCReen One key to print or one key save screen image
MEASure Measurement
CURSor Cursor measurement and menu
ACQuire Sampling menu
STORage Storage menu
UTILity Subsystem menu
FKNob Multifunction knob
FKNLeft Multifunction left knob
FKNRight Multifunction right knob
VPKNob Vertical position knob
VPKNLeft Vertical position left knob
VPKNRight Vertical position right knob
UNI-T
√
UTD2000E Series Osilloscope Programming Manual
Page 58
HPKNobHorizontal position knob
HPKNLeftHorizontal position left knob
HPKNRightHorizontal position right knob
TPKNobTrigger position knob
TPKNLeftTrigger position left knob
TPKNRightTrigger position right knob
VBKNobVoltage reference knob
VBKNLeftVoltage reference left knob
VBKNRightVoltage reference right knob
TBKNobTime reference knob
TBKNLeftTime reference left knob
TBKNRightTime reference right knob
SETZERO Zero setting
UNI-T
Appendix 2:Binary Data Format IEEE 488.2
DATA is data flow, other is ASCII character,as shown in the table below:
<#812345678 + DATA + \n>
Start mark
(1Byte)
#x x x x x x x x x
Length of bit wide
(1Byte)
Data total length(bit
wide Byte)
DATA(n Byte)
…………………
End mark
(1Byte)
\n
UTD2000E Series Osilloscope Programming Manual
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.