background image

UNI-T

UPO 3000E&UPO2000E Series Oscilloscope Programming Manual 

    

 

 

Query return{FLASH | UDISK}. 

 

For example: 

:REF:DISK:SELect FLASH   

reference waveform extract from internal storage 

:REF:DISK:SELect?  

 

 

query return FLASH 

 

ACQuire Command 

This command is to set sampling mode. 

:ACQuire:TYPE 

 

Command format: 

:ACQuire:TYPE {NORMal | AVERage | PEAKdetect | ENVelope | HRESolution } 
:ACQuire:TYPE? 

 

Functional description: 

Set sampling mode, NORMal, AVERage, PEAKdetect, ENVelope and HRESolution. 

 

Return format: 

Query return {NORMal | AVERage | PEAKdetect | ENVelope | HRESolution }. 

 

For example: 

:ACQ:TYPE AVER   

        

 

set aquire mode as AVERage 

:ACQ:TYPE? 

      

 

 

 

query return AVERage 

:ACQuire:MODE 

 

Command format: 

:ACQuire:MODE {RTIMe | ETIMe } 
:ACQuire:MODE? 

 

Functional description: 

Set sampling mode, RTIMe and ETIMe. 

 

Return format: 

Query return{RTIMe | ETIMe }. 

 

For example: 

:ACQ:MODE RTIM   

        

 

set sampling mode as real-time sampling 

:ACQ:MODE? 

        

 

 

query return RTIMe 

 

:ACQuire:AVERages:COUNt 

 

Command format: 

:ACQuire:AVERages:COUNt  <count> 
:ACQuire:AVERages:COUNt? 

 

Functional description: 

Summary of Contents for UPO3000E Series

Page 1: ...UNI T UPO 3000E UPO2000E Series Oscilloscope Programming Manual UNI T Programming Manual UPO3000E UPO2000E Series Programmable Digital Oscilloscope...

Page 2: ...sedes 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 inci...

Page 3: ...es 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 Respo...

Page 4: ...mmand 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...

Page 5: ...erwise 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...

Page 6: ...he 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...

Page 7: ...or example UNI T Technologies UPO2000CS UPO1000 00 00 01 RST Command format RST Functional description Restore factory settings and clear the entire error message send and receive queue buffers SYSTem...

Page 8: ...lock For example SYSTem LOCK ON SYST LOCK 1 lock full qwerty SYSTem LOCK OFF SYST LOCK 0 unlock full qwerty SYSTem LOCK query return 1 it presents lock SYSTem ERRor Command format SYSTem ERRor SYSTem...

Page 9: ...language as English SYSTem LANGuage query return ENGLish SYSTem RTC Command format SYSTem RTC year month day hour minute second SYSTem RTC Functional description Set system time Return format Query r...

Page 10: ...mand format SYSTem SQUare SELect 10Hz 100Hz 1KHz 10KHz SYSTem SQUare SELect Functional description Select square wave output Return format Query return 10Hz 100Hz 1KHz 10KHz For example SYSTem SQUare...

Page 11: ...mand format SYSTem BRIGhtness count SYSTem BRIGhtness Functional description Set screen luminance count take value from 1 100 the number greater the screen brighter Return format Query return the curr...

Page 12: ...haracter string parameter the format is xxx xxx xxx xxx Return format Query return the default gateway For example SYST COMM LAN GATE 192 168 1 1 set the default gateway as 192 168 1 1 SYST COMM LAN G...

Page 13: ...T COMM LAN IPAD query return 192 168 1 10 SYSTem COMMunicate LAN DHCP Command format SYSTem COMMunicate LAN DHCP 1 ON 0 OFF SYSTem COMMunicate LAN DHCP Functional description To switch configuration m...

Page 14: ...unlock this key key definition and description see Appendix 1 Key List Return format Query return lock status or LED status Lock status 0 presents unlock 1 presents lock LED status 0 presents light o...

Page 15: ...ndwidth limit to achieve full display bandwidth Return format Query return 1 or 0 it presents ON or OFF For example CHAN1 BWL ON turn on channel 1 bandwidth limit CHAN1 BWL query return 1 it presents...

Page 16: ...nversion display function ON turn on inversion display function or OFF waveform normal display Return format Query return 1 or 0 it presents ON or OFF For example CHAN1 INV OFF turn off channel 1 inve...

Page 17: ...on 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 sc...

Page 18: ...al description Set position accommodation mode ON presents Fine tuning to further subdivides between coarse tuning settings to improve vertical resolution OFF presents Coarse tuning based on 1 2 5 sys...

Page 19: ...e CHAN1 BIASV 2 set channel 1 bias voltage value as 2V CHAN1 BIASV query return 2 000e000 CHANnel n BIASV ZREO Command format CHANnel n BIASV ZERO Functional description Set channel bias voltage go to...

Page 20: ...base 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...

Page 21: ...e 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...

Page 22: ...H4 waveform set filter to use expression operation FUNCtion MATH MODE Command format FUNCtion MATH MODE MATH FFT LOGic FILTer ADVance FUNCtion MATH MODE Functional description Select MATH function mod...

Page 23: ...as 1V FUNC DIG1 THR query return 1 000e000 FUNCtion SOURce m Command format FUNCtion SOURce m value FUNCtion SOURce m Functional description SOURce m presents source 1 or source 2 m take vaule as 1 2...

Page 24: ...UNC FFT WIND query return HAMMing FUNCtion FFT VTYPe Command format FUNCtion FFT VTYPe VRMS DBRMS FUNCtion FFT VTYPe Functional description Set unit of FFT vertical diection as dbrms or VRMS dbrms pre...

Page 25: ...n BP FUNCtion FILTer FREQuency HIGH Command format FUNCtion FILTer FREQuency HIGH freq FUNCtion FILTer FREQuency HIGH Functional description The setting of the upper frequency limit of filter It is ap...

Page 26: ...unctional description The switch setting of logic inversion function Return format Query return 1 or 0 it presents ON or OFF For example FUNCtion LOGic INVert OFF turn off inversion function FUNCtion...

Page 27: ...on For example MEASure ALL ON turn on all measurement function MEASure ALL query return1 MEASure CLEar Command format MEASure CLEar Functional description Empty the current measured parameter value F...

Page 28: ...egative duty ratio of the specified channel waveform source take value as CHANnel1 CHANnel2 CHANnel3 and CHANnel4 Ignore means the current channel Return format Query return 5 000e001 unit is MEASure...

Page 29: ...ll edge MEAS DEL SOUR CHAN1 CHAN2 MEASure NDEL equivalent to MEASure NDEL CHAN1 CHAN2 MEASure PHASe Command format MEASure PHASe source1 source2 Functional description Timing measuring source1 relativ...

Page 30: ...ue as CHANnel1 CHANnel2 CHANnel3 and CHANnel4 Ignore means the current channel Return format Query return2 120e000 unit is V MEASure VMIN Command format MEASure VMIN source Functional description Meas...

Page 31: ...00 unit is V 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 a...

Page 32: ...V 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 MAT...

Page 33: ...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 cha...

Page 34: ...mmand format MEASure NWIDth source Functional description Measuring negative pulse width of the specified channel waveform source take value as CHANnel1 CHANnel2 CHANnel3 and CHANnel4 Ignore means the...

Page 35: ...fall edge between source1 and source2 source take value as CHANnel1 CHANnel2 CHANnel3 and CHANnel4 Return format Query return 5 000e 003 unit is s MEASure LRR Command format MEASure LRR source1 sourc...

Page 36: ...rce take value as CHANnel1 CHANnel2 CHANnel3 and CHANnel4 Return format Query return 5 000e 003 unit is s TRIGger Command This command is to control trigger sweep mode and trigger standard trigger dec...

Page 37: ...ep AUTO NORMal SINGle TRIGger SWEep Functional description Select trigger sweep mode AUTO If there has no trigger term internal will produce trigger signal to force trigger NORMal Trigger only when in...

Page 38: ...ger LEVel LOW level TRIGger LEVel LOW Functional description Set low level value of slope trigger level value must set based on the conversion of voltage base and screen information Return format Quer...

Page 39: ...ormation 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...

Page 40: ...EDGE SLOP query return POSitive Pulse Width Trigger TRIGger PULSe QUALifier Command format TRIGger PULSe QUALifier GREaterthan LESSthan EQUal TRIGger PULSe QUALifier Functional description Set the te...

Page 41: ...Query return the current time interval unit is s For example TRIGger PULSe TIME 1 set pulse width as 1s TRIGger PULSe TIME query return1 000e000 Video Trigger TRIGger VIDeo MODE Command format TRIGge...

Page 42: ...alue TRIGger VIDEO LINE Functional description Set the specified line of video sync value presents the specified line and the range which is related to the video standard Return format Query return th...

Page 43: ...erthan TRIGger SLOPe QUALifier query return GREaterthan TRIGger SLOPe SLOPe Command format TRIGger SLOPe SLOPe POSitive NEGative TRIGger SLOPe SLOPe Functional description Set the type of slope trigge...

Page 44: ...e trigger as HIGH TRIGger SLOPe THR query return HIGH Runt Trigger TRIGger RUNT QUALifier Command format TRIGger RUNT QUALifier GREaterthan LESSthan EQUal NONE TRIGger RUNT QUALifier Functional descri...

Page 45: ...ription Set the trigger mode of low level Return format Query return LOW HIGH For example TRIGger RUNT LEV HIGH set the trigger mode of low level as HIGH TRIGger RUNT LEV query return HIGH TRIGger RUN...

Page 46: ...the window trigger as POSitive TRIGger WINDow SLOP query return POSitive TRIGger WINDow LEVel Command format TRIGger WINDow LEVel LOW HIGH TRIGger WINDow LEVel Functional description Set the level mod...

Page 47: ...of window trigger at TIME TRIGger WINDow POS query return TIME Delay Trigger TRIGger DELay ARM SOURce Command format TRIGger DELay ARM SOURce CHANnel1 CHANnel2 CHANnel3 CHANnel4 TRIGger DELay ARM SOUR...

Page 48: ...et the delay trigger source Return format Query return CHANnel1 CHANnel2 CHANnel3 CHANnel4 For example TRIGger DELay TRIGger SOUR CHAN1 set channel 1 as the trigger source TRIGger DELay TRIGger SOUR q...

Page 49: ...Lifier query return GREaterthan TRIGger DELay MODE Command format TRIGger DELay MODE NORMAL UPPER LOW TRIGger DELay MODE Functional description Set the time mode of delay trigger Return format Query r...

Page 50: ...query return SOURce1 Timeout Trigger TRIGger TIMEOUT TIME Command format TRIGger TIMEOUT TIME time TRIGger TIMEOUT TIME Functional description Set the time interval of timeout trigger Return format Q...

Page 51: ...MODE UPPER set duration trigger as UPPER mode TRIGger DURation MODE query return UPPER TRIGger DURation PATTern Command format TRIGger DURation PATTern HIGH LOW X TRIGger DURation PATTern Functional...

Page 52: ...nel3 CHANnel4 TRIGger SHOLd DATA SOURce Functional description Set data source of setup hold trigger Return format Query return CHANnel1 CHANnel2 CHANnel3 CHANnel4 For example TRIGger SHOLd DATA SOUR...

Page 53: ...RIGger SHOLd PATTern HIGH LOW TRIGger SHOLd PATTern Functional description Set the code pattern of setup hold trigger HIGH code pattern value as 1 LOW code pattern value as 0 Return format Query retur...

Page 54: ...SHOLd TIME time TRIGger SHOLd TIME Functional description Set the time interval of setup hold trigger Return format Query return the current time interval unit is s For example TRIGger SHOLd TIME 1 s...

Page 55: ...tive TRIGger NEDGE TIME Command format TRIGger NEDGE TIME time TRIGger NEDGE TIME Functional description Set time interval of N edge trigger Return format Query return the current time interval unit i...

Page 56: ...ormat CURSor MODE TRACK INDependent CURSor MODE Functional description Set cursor mode TRACK and INDependent Return format Query return TRACK INDependent For example CURSor MODE TRACK set cursor mode...

Page 57: ...cal position of A cursor line It is related with directive CURSor TYPE amplitude presents the vertical position time presents the horizontal position Vertical line range 0 699 horizontal line range 28...

Page 58: ...set storage mode as WAVE STORage TYPE query return WAVE STORage WAVE SOURce Command format STORage WAVE SOURce source STORage WAVE SOURce Functional description Select storage channel of waveform dat...

Page 59: ...LOCation Functional description Set the current internal storage position location 0 255 stepped as 1 Return format Query return the current internal storage position For example STORage LOCation 5 s...

Page 60: ...rmat Query return the current internal storage position For example REF LOCation 5 set the fifth file as the internal storage position REF LOCation query return 5 REF LOAD Command format REF LOAD Func...

Page 61: ...ampling mode NORMal AVERage PEAKdetect ENVelope and HRESolution Return format Query return NORMal AVERage PEAKdetect ENVelope HRESolution For example ACQ TYPE AVER set aquire mode as AVERage ACQ TYPE...

Page 62: ...n Set depth mode of sampling storage Return format Query return AUTO 700 7K 70K 700K 7M 70M For example ACQ MEM DEPT ATUO set storage depth as AUTO mode ACQ MEM DEPT query return AUTO DISPlay Command...

Page 63: ...he grid brighter Return format Query return the current grid luminance For example DISPlay GRID BRIGhtness 50 set grid luminance as 50 DISPlay GRID BRIGhtness query return 50 DISPlay WAVE BRIGhtness C...

Page 64: ...y TYPE Functional description Set the display type of time base as XY12 X Y method display amplitude of channel 1 on the horizontal axis display amplitude of channel 2 on the vertical axis XY34 X Y me...

Page 65: ...ndard format Return format Query return WORD BYTE ASCII For example WAVeform FORMat BYTE return format of waveform data is single byte mode WAVeform FORMat query return BYTE WAVeform VOLtage FORMat Co...

Page 66: ...annel 1 WAVeform SOURce query return CHANnel1 WAVeform POINts Command format WAVeform POINts points WAVeform POINts Functional description Set return waveform point the default value is 0 Return forma...

Page 67: ...ref Yinc Yor Yref Format BYTE 0 WORD 1 ASCII 2 Type NORMAL 0 PEAK 1 AVER 2 ENVelope 3 HRESolution 4 Points return point of waveform data Count average count in average sampling other mode is 1 Xinc th...

Page 68: ...Veform XREFerence Functional description Query reference time baseline of X direction data point Return format Query reference time For example WAV XREF query return 0 WAVeform YINCrement Command form...

Page 69: ...rmat Query return reference position For example WAV YREF query return 100 SBUS Command This command is to set the relevant parameter of RS232 SPI I2C bus Basic attribute SBUS DISPlay Command format S...

Page 70: ...US BASE ASCii BINary HEX DEC SBUS BASE Functional description Set display format of bus Return format Query return ASCii BINary HEX DEC For example SBUS BASE BIN set display format of bus encoding as...

Page 71: ...160 160 screen center as zero point up to positive down to negative Return format Query return vertical position value For example SBUS VERTical POSition 10 vertical position value of bus is 10 SBUS V...

Page 72: ...ry return AC RS232 SBUS RS232 BAUDrate Command format SBUS RS232 BAUDrate baudrate SBUS RS232 BAUDrate Functional description Set baud rate of RS232 bus encoding Parameter is integer range 120 5000000...

Page 73: ...CHANnel1 set channel 1 as RS232 bus encoding source SBUS RS232 SOURce query return CHANnel1 SBUS RS232 POLarity Command format SBUS RS232 POLarity POSitive NEGative SBUS RS232 POLarity Functional des...

Page 74: ...et RS232 data bit as 6 SBUS RS232 DATA BIT query return 6 SBUS RS232 STOP BIT Command format SBUS RS232 STOP BIT 1 2 SBUS RS232 STOP BIT Functional description Set stop bit of RS232 bus Return format...

Page 75: ...DATA For example SBUS RS232 QUALifier ERRF set RS232 bus term as error frame SBUS RS232 QUALifier query return ERRFrame I2C SBUS I2C CLOCk SOURce Command format SBUS I2C CLOCk SOURce CHANnel1 CHANnel...

Page 76: ...nal description Set bit wide of I2C bus address Return format Query return 7 10 For example SBUS I2C ASIZe 7 set bit wide as 7 SBUS I2C ASIZe query return 7 SBUS I2C ADIRection Command format SBUS I2C...

Page 77: ...S I2C DATA QUALifier Functional description Set data term of I2C bus Return format Query return EQUal LESSthan GREaterthan For example SBUS I2C DATA QUALifier EQUal set I2C bus term as EQUal SBUS I2C...

Page 78: ...Functional description Set chip selection source of SPI bus Return format Query return CHANnel1 CHANnel2 CHANnel3 CHANnel4 For example SBUS SPI CS SOURce CHANnel1 set channel 1 as chip selection sour...

Page 79: ...SBUS SPI MOSI SOURce CHANnel1 CHANnel2 CHANnel3 CHANnel4 OFF SBUS SPI MOSI SOURce Functional description Set host computer output and slave computer input source of SPI bus Return format Query return...

Page 80: ...Command format SBUS SPI CLOCk POLarity NEGative POSitive SBUS SPI CLOCk POLarity Functional description Set the clock polarity of SPI bus POSitive and NEGative Return format Query return NEGative POSi...

Page 81: ...ative POSitive For example SBUS SPI MOSI POLarity POSitive set the polarity as POSitive SBUS SPI MOSI POLarity query return POSitive SBUS SPI WIDTh Command format SBUS SPI WIDTh 4 8 12 16 SBUS SPI WID...

Page 82: ...return timeout value of trigger by scientific notation method unit is s For example SBUS SPI TRIGger TIMeout 100ns set timeout of SPI bus trigger as 100ns SBUS SPI TRIGger TIMeout query return 1 000e...

Page 83: ...description Set frame length of SPI bus data Return format Query return len For example SBUS SPI FRAMelen 1 set frame length of SPI bus data as 1 SBUS SPI FRAMelen query return 1 CAN SBUS CAN POSitiv...

Page 84: ...Nal DEFinition Command format SBUS CAN SIGNal DEFinition CANH CANL RXTX DIFFerential SBUS CAN SIGNal DEFinition Functional description Set signal mode of CAN bus Return format Query return CANH CANL R...

Page 85: ...ormat SBUS CAN QUALifier START TYPE ID DATA ACKerror BITFILL IDDATA END SBUS CAN QUALifier Functional description Set the the trigger term of CAN bus Return format Query return START TYPE ID DATA ACKe...

Page 86: ...d string SBUS CAN ID STANdard Functional description Set ID standard frame data of CAN bus parameter is character string of 0x format Standard frame range 0x0 0xFFF Return format Query return characte...

Page 87: ...ction query return READ SBUS CAN DATA QUALifier Command format SBUS CAN DATA QUALifier EQUal LESSthan GREaterthan NEQUal LEQUal GEQUal SBUS CAN DATA QUALifier Functional description Set compare term o...

Page 88: ...ample SBUS USB POSitive SOURce CHANnel1 set channel 1 as positive source of USB bus SBUS USB POSitive SOURce query return CHANnel1 SBUS USB NEGative SOURce Command format SBUS USB NEGative SOURce CHAN...

Page 89: ...bus Return format Query return SYNC RESET PAUSE RESUME END TOKEN HANDSHAKE DATA ERRor For example SBUS USB QUALifier ERRor set trigger term as errot frame SBUS USB QUALifier query return ERRor SBUS U...

Page 90: ...on Set trigger term of USB token pack Return format Query return EQUal LESSthan GREaterthan NEQUal LEQUal GEQUal INRange OUTRange For example SBUS USB TOKEN QUALifier EQUal set trigger term as EQUal S...

Page 91: ...SBUS USB HAND TYPE ANY STALL ACK NAK SBUS USB HAND TYPE Functional description Set handshake pack mode of USB Return format Query return ANY STALL ACK NAK For example SBUS USB HAND TYPE ANY set hands...

Page 92: ...SB DATA OFFSet offset SBUS USB DATA OFFSet Functional description Set offset byte of USB data pack offset is integer data range 0 15 Return format Query return offset of USB data pack For example SBUS...

Page 93: ...FFFFFFFFFFFFFFFFF Return format Query return character string of 0x format For example SBUS USB DATA HIGH 0x5F set positive data of USB signal line as 0x5F SBUS USB DATA HIGH query return 0x5F SBUS US...

Page 94: ...switch of channel 2 CH3 The switch of channel 3 CH4 The switch of channel 4 F1 Select the first menu item F2 Select the second menu item F3 Select the third menu item F4 Select the fourth menu item F5...

Reviews: