2017 U n i - T r e n d T e c h n o l o g y ( C h i n a ) C o . , L t d . Brand Information UNI-T is the registered trademark of Uni-Trend Technology (China) Co., Ltd. Software Version 00.00.01...
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...
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
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...
: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
<message number> is a integer,<message content> is ASCII character string with double quotation marks. like-113,"Undefined header; command cannot be found" For example: :SYSTem:ERR empty error message queue :SYSTem:ERR? query return: -113,"Undefined header; command cannot be found" presents undefined command head UTD2000E Series Osilloscope Programming Manual...
Page 8
:SYSTem:CAL Command format: :SYSTem: CAL Functional description: Set system self-calibration, during self-calibration, oscilloscope can not communication. :SYSTem:CLEAr Command format: :SYSTem: CLEAr Functional description: Empty system saved waveform and setup data. UTD2000E Series Osilloscope Programming Manual...
Page 10
HW is hardware version number, SW is software version numer,PD is created date, ICV is protocol version number. For example: :SYST:VERS? query return 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: The current internet parameter take effect immediately. UTD2000E Series Osilloscope Programming Manual...
Page 11
255.255.255.0 :SYSTem:COMMunicate:LAN:IPADdress Command format: :SYSTem:COMMunicate:LAN:IPADdress <ip> :SYSTem:COMMunicate:LAN:IPADdress? Functional description: Set IP address, <ip> is belong to ASCII character string parameter,format is xxx.xxx.xxx.xxx。 Return format: Query return IP address For example: UTD2000E Series Osilloscope Programming Manual...
Page 12
Functional description: Appendix 1: Set button function and button lock status, <key> definition and description, see Table. Return format: Query return key lock status or LED status. Lock status:0 presents unlock, 1 presents lock; UTD2000E Series Osilloscope Programming Manual...
GND (grounding) presents break input signal. Return format: Query AC, DC or GND. For example: :CHAN1:COUP DC set channel 1 coupling mode as DC :CHAN1:COUP? query return DC UTD2000E Series Osilloscope Programming Manual...
Page 15
:CHAN1:SCAL UP plus one position based on 20V voltage base :CHANnel<n>:UNITs Command format: :CHANnel<n>:UNITs {VOLTs|AMPeres } :CHANnel<n>:UNITs? Functional description: Set channel unit as VOLTs and AMPeres. Return format: Query return VOLTs, AMPeres. UTD2000E Series Osilloscope Programming Manual...
Page 16
For channel selection. Return format: Query return 1 or 0,it presents ON or OFF. For example: :CHAN1: SELect select channel 1 :CHAN1: SELect ? query return 1,it presents channel 1 has been selected UTD2000E Series Osilloscope Programming Manual...
Page 17
For adjust MAIN offset value, wave shift relative to screen center. 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 UTD2000E Series Osilloscope Programming Manual...
Page 18
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...
SOURce1 is to select the first source of operator and math function or it can be single source of Filter and FFT. SOURce2 is to select the second source of operator and math function. Single source of Filter, UTD2000E Series Osilloscope Programming Manual...
Page 20
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
The setting of the upper frequency limit of filter. It is applicable for high-pass filter, band-pass filer and band-stop filter. Return format: Query return 1.000e003,unit is Hz. For example: :FUNCtion:SOUR1 CHAN1 set channel 1 as source 1 :FUNC:FILT:FREQ:HIGH 1KHz set the upper frequency limit of filter as 1kHz UTD2000E Series Osilloscope Programming Manual...
Page 22
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
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
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
: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
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
<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
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: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
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
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...
NORMal:Trigger only when in trigger term. SINGle:In trigger term, trigger one time and stop. Return format: Query return trigger sweep mode {AUTO|NORMal|SINGle}. For example: :TRIGger:SWEep AUTO set channel 1 as AUTO mode :TRIGger:SWEep? query return AUTO UTD2000E Series Osilloscope Programming Manual...
Page 33
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
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 UTD2000E Series Osilloscope Programming Manual...
Query return edge trigger { POSitive | NEGative | ALTernation }. For example: :TRIGger:EDGE:SLOP POS set the edge trigger as POSitive :TRIGger:EDGE:SLOP? query return POSitive Pulse Width Trigger :TRIGger:PULSe:QUALifier Command format: :TRIGger:PULSe:QUALifier {GREaterthan | LESSthan | EQUal| RANG} :TRIGger:PULSe:QUALifier? Functional description: UTD2000E Series Osilloscope Programming Manual...
Page 36
Set the time interval of pulse width trigger. Return format: Query return the current time interval, unit is s. For example: :TRIGger:PULSe:TIME 1 set the pulse width as 1s :TRIGger:PULSe:TIME? query return 1.000e000 :TRIGger:PULSe:TIME:UPPer Command format: :TRIGger:PULSe:TIME <time> :TRIGger:PULSe:TIME? UTD2000E Series Osilloscope Programming Manual...
Set the syc mode of video trigger, ODD, EVEN, LINE and ALINes. Return format: Query return{ ODD | EVEN | LINE| ALIN}. For example: :TRIGger:VIDeo:MODE ODD set the sync mode as ODD :TRIGger:VIDeo:MODE? query return ODD :TRIGger:VIDeo:STANdard Command format: UTD2000E Series Osilloscope Programming Manual...
Functional description: Acquire the slew rate of video. Return format: Query return the current slew rate, return format is conform to the format of binary data IEEE 488.2#. Slope Trigger :TRIGger:SLOPe:QUALifier Command format: UTD2000E Series Osilloscope Programming Manual...
Page 39
Set the time interval of slope trigger. Return format: Query return the current time interval, unit is s. For example: :TRIGger:SLOPe:TIME 1 set the time interval of slope trigger as 1s :TRIGger:SLOPe:TIME? query return 1.000e000 UTD2000E Series Osilloscope Programming Manual...
EDGE :TRIGger:ALTernat:TYPE? CURSor Command This command is to set cursor parameter, measure waveform data on the screen. :CURSor:MODE Command format: :CURSor:MODE { TRACK | INDependent } :CURSor:MODE? Functional description: UTD2000E Series Osilloscope Programming Manual...
Page 42
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
In cursor track measuring, the difference value △X between cursor A point and cursor B point. Return format: Query return the actual difference value △X between cursor A point and cursor B point by scientific notation method. For example: :CURSor:XDEL? query return 2.000000E+02 UTD2000E Series Osilloscope Programming Manual...
Page 44
Functional description: Set the average sampling time during average sampling mode, <count> stepped by 2 of Nth power, Nth take value from 2~8192, 1≤N≤30. Return format: Query return the current sampling time. For example: UTD2000E Series Osilloscope Programming Manual...
Page 45
This command is to set or query oscilloscope display function or data. :DISPlay:DATA? Command format: :DISPlay:DATA? Functional description: For query the current screen image data. Return format: Query return BMP image data,return data conform to binary data format IEEE 488.2 #. UTD2000E Series Osilloscope Programming Manual...
Page 46
Functional description: For set or query grid type display on screen. Return format: Query return{FULL|HALF|CORSS|NONE }. For example: :DISPlay:GRID HALF set grind type as HALF, only display grid not coordinate :DISPlay:GRID? query return HALF UTD2000E Series Osilloscope Programming Manual...
Page 47
: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
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...
Page 49
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
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
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 For example: :WAVeform:PREamble? return 1,0,0,1,8.000e-009,-6.000e-006,0,4.000e-002,0.000e000,100 UTD2000E Series Osilloscope Programming Manual...
Page 52
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
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...
Load test.bsv waveform data into reference channel A from U disk FILE:LOAD "system-set-up01.set" Load No .1 configuration data into a oscilloscope from internal medium . Notes: The file name of internal storage setting must be"system-set-up01.set"~ "system-set-up255.set", UTD2000E Series Osilloscope Programming Manual...
Page 55
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...
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 UTD2000E Series Osilloscope Programming Manual...
DATA is data flow, other is ASCII character,as shown in the table below: <#812345678 + DATA + \n> Data total length(bit DATA(n Byte) Start mark Length of bit wide End mark (1Byte) (1Byte) wide Byte) (1Byte) x x x x x x x x ………………… UTD2000E Series Osilloscope Programming Manual...