UNI-T UTG2000X Series Programming Manual
UNI-T UTG2000X Series Programming Manual

UNI-T UTG2000X Series Programming Manual

Function/arbitrary waveform generator
Hide thumbs Also See for UTG2000X Series:

Advertisement

Quick Links

Programming Manual
UTG2000X Series Function/Arbitrary Waveform
Generator
V1.0
2024.4.7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UTG2000X Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for UNI-T UTG2000X Series

  • Page 1 Programming Manual UTG2000X Series Function/Arbitrary Waveform Generator V1.0 2024.4.7...
  • Page 2 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.
  • Page 3: Instruction Format

    Programming Manual UTG2000X Series SCPI SCPI(Standard Commands for Programmable Instruments)is a standardized instrument programming language that builds on existing standards IEEE 488.1 and IEEE 488.2 and follows the floating point rules of IEEE 754 standard, ISO 646 message exchange 7-bit encoding notation (equivalent to ASCII programming) and many other standards.
  • Page 4: Parameter Description

    Programming Manual UTG2000X Series Triangular Brackets < >  The parameter in triangular brackets must be replace with a valid value. For example, send the command :DISPlay:GRID:BRIGhtness 30 in the format of DISPlay:GRID:BRIGhtness <count> Parameter Description The parameter in this manual can divide into five types: Boolean, Integer, Real, Discrete and ASCII string.
  • Page 5 Programming Manual UTG2000X Series Abbreviation Rule All commands are case sensitivity. If command writes in abbreviation format, all capital letters in the command should input completely. 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.
  • Page 6: Ieee488.2 Common Command

     Manufacture name, product model, product serial number and software version separated by dot mark. Note:The returned model should be same as the nameplate. For Example  UNI-T Technologies, UTG2000X, 000000001, 00.00.01 *RST Command Format  *RST Functional Description ...
  • Page 7 Programming Manual UTG2000X Series indicates that the full keyboard is locked. For Example  :SYSTem:LOCK ON The full keyboard is locked. :SYSTem:LOCK OFF The full keyboard is unlock. :SYSTem:LOCK? Indicating that the full keyboard is locked. :SYSTem:CONFigure Command Format ...
  • Page 8 Programming Manual UTG2000X Series :SYSTem:LANGuage {ENGLish|CHINese} :SYSTem:LANGuage? Functional Description  Set the system language. Return Format  The query returns the system language. For Example  :SYSTem:LANGuage ENGLish Set the system language to ENGLish. :SYSTem:LANGuage? The query returns ENGLish. :SYSTem:BEEP Command Format ...
  • Page 9 Programming Manual UTG2000X Series :SYSTem:PICTure:FORMat Command Format  :SYSTem:PICTure:FORMat { BMP | JPEG | PNG} :SYSTem:PICTure:FORMat? Functional Description  Set the data format for acquiring image and local image. Return Format  The query returns the image format { BMP | JPEG | PNG}.
  • Page 10 Programming Manual UTG2000X Series :SYSTem:ECLK:STATus? Command Format  :SYSTem:ECLK:STATus? Functional Description  Query the state of external clock source. Return Format  The query returns the state of external clock source. The query returns 0, indicating that the external clock source is invalid. The query returns 1, indicating that the external clock source is valid.
  • Page 11 Programming Manual UTG2000X Series that the statistics function of the cymometer is turned off. The query returns 1 (ON), indicating that the statistics function of the cymometer is turned on. For Example  :SYSTem:CYMometer:STATistics ON Turn on the statistics state of the cymometer.
  • Page 12 Programming Manual UTG2000X Series For Example  :SYSTem:CYMometer:STATistics:CURRent? The query returns 1e+6. :SYSTem:CYMometer:STATistics:MAX? Command Format  :SYSTem:CYMometer:STATistics:MAX? Functional Description  Acquire the maximum measured value of the cymometer for the current mode. Return Format  The query returns the maximum measured value of the cymometer in scientific notation for the current mode.
  • Page 13 Programming Manual UTG2000X Series :SYSTem:CYMometer:FREQuency? Command Format  :SYSTem:CYMometer:FREQuency? Functional Description  Acquire the current frequency of the cymometer. Return Format  The query returns the current frequency value of the cymometer in scientific notation. The unit is Hz. For Example ...
  • Page 14 Programming Manual UTG2000X Series Functional Description  Acquire the current positive width pulse of the cymometer. Return Format  The query returns the current positive width pulse of the cymometer. The unit is ms. For Example  :SYSTem:CYMometer:PWIDTh? The query returns 1e-3,indicating that the duty ratio is 1 ms.
  • Page 15 Programming Manual UTG2000X Series :SYST:COMM:LAN:GATE? The query returns 1.92.168.1.1 :SYSTem:COMMunicate:LAN:SMASK Command Format  :SYSTem:COMMunicate:LAN:SMASK <submask> :SYSTem:COMMunicate:LAN:SMASK? Functional Description  Set the subnet mask. <submask> belongs to ASCII string,the format is xxx.xxx.xxx.xxx. Return Format  The query returns the subnet mask.
  • Page 16: Channel Command

    Programming Manual UTG2000X Series For Example  :SYST:COMM:LAN:DHCP ON Turn on DHCP. :SYST:COMM:LAN:DHCP? The query returns 1. :SYSTem:COMMunicate:LAN:MAC? Command Format  :SYSTem:COMMunicate:LAN:MAC? Return Format  The query returns the physical address (MAC). For Example  :SYST:COMM:LAN:MAC? The query returns 00-2A-A0-AA-E0-56.
  • Page 17 Programming Manual UTG2000X Series Turn on/off the output of the specified channel. <n>: Channel number,n takes the value as 1 and 2. Return Format  The query returns the output state of the specified channel. The query returns 0 (OFF), indicating that the output of the specified channel is turned off.
  • Page 18 Programming Manual UTG2000X Series The query returns the sync output state of the specified channel. The query returns 0 (OFF), indicating that the sync output of the specified channel is turned off. The query returns 1 (ON), indicating that the sync output of the specified channel is turned on.
  • Page 19 Programming Manual UTG2000X Series :CHANnel<n>:LIMit:UPPer Command Format  :CHANnel<n>:LIMit:UPPer {<voltage>} :CHANnel<n>:LIMit:UPPer? Functional Description  Set the upper limit of the amplitude limiting for the specified channel. <voltage> represents the voltage, the unit is determined by the current channel. <n>: Channel number,n takes the value as 1 and 2.
  • Page 20 Programming Manual UTG2000X Series <n>: Channel number,n takes the value as 1 and 2. Note:The resistance range is 1~1000000, 1000000 is corresponding to the high resistance. Return Format  The query returns the load of the specified channel output in scientific notation.
  • Page 21 Programming Manual UTG2000X Series :CHANnel<n>:TRIGger:SOURce Command Format  :CHANnel<n>:TRIGger:SOURce {INTernal|EXTernal|MANual} :CHANnel<n>:TRIGger:SOURce? Functional Description  Set the trigger source for the specified channel, this command is only valid for the sweep and burst function. <n>: Channel number,n takes the value as 1 and 2.
  • Page 22 Programming Manual UTG2000X Series <n>: Channel number,n takes the value as 1 and 2. Return Format  The query returns the state of the specified channel coupling output. For Example  :CHANnel1:MERge ON CH1 and CH2 is coupled and the signal is output form CH1.
  • Page 23 Programming Manual UTG2000X Series :CHANnel:COUPle1:TYPe PARAm Set the coupling type to PARAm. :CHANnel:COUPle1:TYPe? The query returns PARAm. :CHANnel:COUPle<m>:FREQuency Command Format  :CHANnel:COUPle<m>:FREQuency {{1 | ON} | {0 | OFF}} :CHANnel:COUPle<m>:FREQuency? Functional Description  Set the frequency coupling of the channel. The channel coupling has only one type, CH1 coupling CH2.
  • Page 24 Programming Manual UTG2000X Series :CHANnel:COUPle<m>:FREQuency:DEV Command Format  :CHANnel:COUPle<m>:FREQuency:DEV <dev > :CHANnel:COUPle<m>:FREQuency:DEV? Functional Description  Set the deviation of the channel frequency coupling. The channel coupling has only one type, CH1 coupling CH2. This command is only valid when the frequency follow is turned on.
  • Page 25 Programming Manual UTG2000X Series :CHANnel:COUPle<m>:PHASe:SCALe <scale> :CHANnel:COUPle<m>:PHASe:SCALe? Functional Description  Set the ratio of channel phase coupling. The channel coupling has only one type, CH1 coupling CH2. This command is only valid when the phase follow is turned on. <scale>:The ratio of channel phase coupling.
  • Page 26 Programming Manual UTG2000X Series Set the channel amplitude coupling. The channel coupling has only one type, CH1 coupling CH2. This command is only valid when the parameter follow is turned on. <m>: Channel number, m takes the value as 1.
  • Page 27 Programming Manual UTG2000X Series <scale>: The deviation of channel amplitude coupling, the unit is Vpp. <m>: Channel number, m takes the value as 1. The query returns 1, indicating that CH1 is coupled with CH2. Return Format  The query returns the deviation of channel amplitude coupling in scientific notation.
  • Page 28 Programming Manual UTG2000X Series :CHAN1:SELect Select CH1. :CHAN1:SELect? The query returns 1,indicating that the channel is selected. Continuous :CHANnel<n>:BASE:WAVe Command Format  :CHANnel<n>:BASE:WAVe { SINe | SQUare | PULSe | RAMP | ARB | NOISe | DC | HARMonic | PRBS|EXP } :CHANnel<n>:BASE:WAVe?
  • Page 29 Programming Manual UTG2000X Series :CHANnel<n>:BASE:PERiod Command Format  :CHANnel<n>:BASE:PERiod { <period>} :CHANnel<n>:BASE:PERiod? Functional Description  Set the output period of the specified channel. <period> represents the period,the unit is S. If it is sine wave, the range is(the current maximum time ~ 1e3s)...
  • Page 30 Programming Manual UTG2000X Series <amp> represents the voltage,the unit is determined by the current channel. The range is 1mVpp ~ the maximum output under the current load. If the current unit is VPP,the maximum under the current load = the current load *20/(50+the current load).
  • Page 31 Programming Manual UTG2000X Series <voltage> represents the voltage,the unit is determined by the current channel. <n>: Channel number,n takes the value as 1 and 2. Return Format  The query returns the high value of the specified channel signal output in scientific notation.
  • Page 32 Programming Manual UTG2000X Series :CHANnel<n>:BASE:ARB Command Format  :CHANnel<n>:BASE:ARB <source>,<filename> :CHANnel<n>:BASE:ARB? Functional Description  Load the arbitrary waveform data of a file under the fundamental arbitrary waveform source to the specified channel. <n>: Channel number,n takes the value as 1 and 2.
  • Page 33 Programming Manual UTG2000X Series Return Format  The query returns the symmetry of the ramp signal output of the specified channel. For Example  :CHANnel1:RAMP:SYMMetry 20 Set the symmetry of CH1 ramp signal as 20 %. :CHANnel1:RAMP:SYMMetry? The query returns 20.
  • Page 34 Programming Manual UTG2000X Series :CHANnel<n>:PRBS:EDGEtime Command Format  :CHANnel<n>:PRBS:EDGEtime <time> :CHANnel<n>:PRBS:EDGEtime ? Functional Description  Set the edge time for the specified pseudo-random wave, this command is only valid for the pseudo-random wave. <time> represents the edge time,the unit is s.
  • Page 35 Programming Manual UTG2000X Series Set the bandwidth for the noise signal of the specified channel. <width> represents the bandwidth,the unit is Hz. <n>: Channel number,n takes the value as 1 and 2. Return Format  The query returns the bandwidth of the noise signal in the specified channel in scientific notation.
  • Page 36 Programming Manual UTG2000X Series :CHANnel1:HARMonic:TOTal:ORDer? The query returns 2. :CHANnel<n>:HARMonic:USER:TYPe? Command Format  :CHANnel<n>:HARMonic:USER:TYPe #H<order> :CHANnel<n>:HARMonic:USER:TYPe? Functional Description  Set the user-defined harmonic for the specified channel. < order >:User-defined harmonic, #H represents hexadecimal notation, X0111 1111 1111 1111 represents the harmonic switch.
  • Page 37 Programming Manual UTG2000X Series :CHANnel<n>:HARMonic:ORDer<m>:PHASe? Command Format  :CHANnel<n>:HARMonic:ORDer<m>:PHASe <phase> :CHANnel<n>:HARMonic:ORDer<m>:PHASe? Functional Description  Set the phase value of the harmonic order in the specified channel. <phase>:Phase value,the unit is °. <n>: Channel number,n takes the value as 1 and 2.
  • Page 38 Programming Manual UTG2000X Series Functional Description  Set the interpolation method for the arbitrary wave output of the specified channel, which is zero-order hold and linear interpolation. <n>: Channel number,n takes the value as 1 and 2. Return Format ...
  • Page 39 Programming Manual UTG2000X Series The query returns the end value(maximum)of the expression signal output in the specified channel in scientific notation. For Example  :CHANnel1:EXP:EXPEnd 3.1415926 Set the end value(maximum) of CH1 expression signal as 3.1415926. :CHANnel1:EXP:EXPEnd? The query returns 3.141593e+00.
  • Page 40 Programming Manual UTG2000X Series Functional Description  Set the signal modulation type for the specified channel. <type>: {AM|DSBAM|QAM|ASK|FM|FSK|ThreeFSK|FourFSK|PM|PSK|BPSK|QPSK|OSK|PWM|SUM} represents amplitude modulation, double-sideband amplitude modulation, quadrature modulation, amplitude shift keying, frequency modulation, frequency shift keying, three frequency shift keying, four frequency shift keying, phase modulation, binary phase shift keying, quadrature phase shift keying, oscillation keying, pulse width modulation and SUM modulation.
  • Page 41 Programming Manual UTG2000X Series Return Format  The query returns the modulation source of the specified channel For Example  :CHANnel1:MODulate:SOURce INTernal Set the modulation source of CH1 as INTernal. :CHANnel1:MODulate:SOURce? The query returns INTernal. :CHANnel<n>:MODulate:FREQuency Command Format  :CHANnel<n>:MODulate:FREQuency {<freq>} :CHANnel<n>:MODulate:FREQuency?
  • Page 42 Programming Manual UTG2000X Series :CHANnel<n>:MODulate:ARB Command Format  :CHANnel<n>:MODulate:ARB <source>,<filename> :CHANnel<n>:MODulate:ARB? Functional Description  Load an arbitrary wave data in modulation arbitrary wave source to the specified channel. Note: If the source is external, the external storage device should create an ArbWave catalogue in the root directory to save the arbitrary wave.
  • Page 43 Programming Manual UTG2000X Series Set the bitrate for the specified channel, this command is only valid for the waveform with ratio function. <ratio> represents the bitrate,the unit is Hz. <n>: Channel number,n takes the value as 1 and 2. Return Format ...
  • Page 44 Programming Manual UTG2000X Series The query returns the frequency deviation of the specified channel in scientific notation. For Example  :CHANnel1:FM:FREQuency:DEV 2000 Set the frequency deviation of CH1 as 2 KHz. :CHANnel1:FM:FREQuency:DEV? The query returns 2e+3. :CHANnel<n>:PM:PHASe:DEV Command Format ...
  • Page 45 Programming Manual UTG2000X Series :CHANnel<n>:FSK:FREQuency<m> Command Format  :CHANnel<n>:FSK:FREQuency<m> { <freq>} :CHANnel<n>:FSK:FREQuency<m>? Functional Description  Set the hopping frequency output for frequency shift keying modulation in the specified channel. This command is only valid if the modulation mode has already been assigned.
  • Page 46 Programming Manual UTG2000X Series :CHANnel<n>:OSK:TIMe Command Format  :CHANnel<n>:OSK:TIMe { <time>} :CHANnel<n>:OSK:TIMe? Functional Description  Set the oscillation time for oscillation keying modulation in the specified channel. <time> represents the oscillation time,the unit is S. <n>: Channel number,n takes the value as 1 and 2.
  • Page 47 Programming Manual UTG2000X Series The sweep frequency :CHANnel<n>:SWEep:TYPe Command Format  :CHANnel<n>:SWEep:TYPe { LINe|LOG|STEP} :CHANnel<n>:SWEep:TYPe? Functional Description  Set the sweep frequency mode for the specified channel, which is linear, logarithm and step. <n>: Channel number,n takes the value as 1 and 2.
  • Page 48 Programming Manual UTG2000X Series Functional Description  Set the cut-off frequency for the sweep frequency in the specified channel. < freq > represents the frequency,the unit is Hz. <n>: Channel number,n takes the value as 1 and 2. Return Format ...
  • Page 49 Programming Manual UTG2000X Series <n>: Channel number,n takes the value as 1 and 2. Return Format  The query returns the hold time of the sweep frequency in the specified channel in scientific notation. For Example  :CHANnel1:SWEEP:HOLD 2 Set the holt time of CH1 to 2S.
  • Page 50 Programming Manual UTG2000X Series Burst :CHANnel<n>:BURSt:TYPe Command Format  :CHANnel<n>:BURSt:TYPe {NCYC|GATe|INFinit} :CHANnel<n>:BURSt:TYPe? Functional Description  Set the burst type for the specified channel,which is N cycle, gate and infinite. <n>: Channel number,n takes the value as 1 and 2. Return Format ...
  • Page 51 Programming Manual UTG2000X Series < phase > represents the phase,the unit is ° and the range is 0 ~ 360. <n>: Channel number,n takes the value as 1 and 2. Return Format  The query returns the start phase of the burst in the specified channel in scientific notation.
  • Page 52 Programming Manual UTG2000X Series :CHANnel<n>:BURSt:TRIGger Command Format  :CHANnel<n>:BURSt:TRIGger Functional Description  Set the burst output trigger, this parameter is only valid for the manual trigger mode. For Example  :CHANnel1:BURSt:TRIGger Trigger burst signal to output once. WARB Command This command is used to write arbitrary wave file, including basic arbitrary wave and arbitrary modulation wave.
  • Page 53: Display Command

    Programming Manual UTG2000X Series DISPlay Command This command is used to display the relevant information of the signal source. :DISPlay:DATA? Command Format  :DISPlay:DATA? Functional Description  Query the picture data of the current screen. The query returns the picture data in BMP by default.
  • Page 54 Programming Manual UTG2000X Series Explanation of Programming This chapter is to describe troubleshooting in process of programming. If you meet any of the following problems, please handle them according to the related instructions. Programming Preparation The programming preparation is only applicable for using Visual Studio and Lab VIEW development tools to programming under Windows operating system.
  • Page 55 Programming Manual UTG2000X Series VISA Programming Example There are some example in this section. Through these examples, the user can know how to use VISA, and it can combined with the command of programming manual to realize the control of the instrument.
  • Page 56 Programming Manual UTG2000X Series Select "Linker-General" in attribute dialog on the left side, set the value of "Additional Library Directories" as the installment path of NI-VIS (For example, C:\Program Files\IVI Foundation\VISA\WinNT\include), as shown in the following figure. Select “Linker-Command Line “in attribute dialog on the left side, set the value of "Additional"...
  • Page 57 Programming Manual UTG2000X Series Add the file visa.h in projectname.cpp file. #include <visa.h> Source code USBTMC Example usbtmc_test() /** This code demonstrates sending synchronous read & write commands * to an USB Test & Measurement Class (USBTMC) instrument using NI-VISA * The example writes the "*IDN?\n"...
  • Page 58 Programming Manual UTG2000X Series return status; /*Find all the USB TMC VISA resources in our system and store the number of resources in the system in numInstrs.*/ status = viFindRsrc(defaultRM, "USB?*INSTR", &findList, &numInstrs, instrResourceString); (status<VI_SUCCESS) printf("An error occurred while finding resources. \nPress Enter to continue.");...
  • Page 59 Programming Manual UTG2000X Series /** Now we will attempt to read back a response from the device to *the identification query that was sent. We will use the viScanf *function to acquire the data. *After the data has been read the response is displayed. */ status = viScanf(instr, "%t", buffer);...
  • Page 60 Programming Manual UTG2000X Series strcat(head, tail); status = viOpen(defaultRM, head, VI_LOAD_CONFIG, VI_NULL, &instr); (status < VI_SUCCESS) printf("An error occurred opening the session\n"); viClose(defaultRM); status = viPrintf(instr, "*idn?\n"); status = viScanf(instr, "%t", outputBuffer); (status < VI_SUCCESS) printf("viRead failed with error code: %x \n", status);...
  • Page 61 Programming Manual UTG2000X Series Source code USBTMC Example class Program void usbtmc_test() using (var rmSession ResourceManager()) resources rmSession.Find("USB?*INSTR"); foreach (string resources) mbSession (MessageBasedSession)rmSession.Open(s); mbSession.RawIO.Write("*IDN?\n"); System.Console.WriteLine(mbSession.RawIO.ReadString()); catch (Exception System.Console.WriteLine(ex.Message); void Main(string[] args) usbtmc_test(); TCP/IP Example class Program void tcp_ip_test(string using (var...
  • Page 62 Programming Manual UTG2000X Series System.Console.WriteLine(mbSession.RawIO.ReadString()); catch (Exception System.Console.WriteLine(ex.Message); void Main(string[] args) tcp_ip_test("192.168.20.11"); VB Example Environment: Window system, Microsoft Visual Basic 6.0.  Description: Access the instrument via USBTMC and TCP/IP, and send “*IDN?” command on  NI-VISA to query the device information.
  • Page 63 Programming Manual UTG2000X Series USBTMC Example PrivateFunction usbtmc_test() AsLong ' This code demonstrates sending synchronous read & write commands ' to an USB Test & Measurement Class (USBTMC) instrument using NI-VISA ' The example writes the "*IDN?\n" string to all the USBTMC ' devices connected to the system and attempts to read back ' results using the write and read functions.
  • Page 64 Programming Manual UTG2000X Series ' also use a string that indicates which instrument to open. This ' is called the instrument descriptor. The format for this string ' can be found in the function panel by right clicking on the ' descriptor parameter.
  • Page 65: Labview Example

    Programming Manual UTG2000X Series TCP/IP Example PrivateFunction tcp_ip_test(ByVal ip AsString) AsLong outputBuffer AsString * VI_FIND_BUFLEN defaultRM AsLong instrsesn AsLong status AsLong count AsLong ' First we will need to open the default resource manager. status = viOpenDefaultRM(defaultRM) (status < VI_SUCCESS) Then resultTxt.Text = "Could not open a session to the VISA Resource Manager!"...
  • Page 66 Programming Manual UTG2000X Series Steps  Open the Lab VIEW software to create a VI file. Add the control, click the front panel to select and add the VISA source name, error input, error output, and part of the indicator from the control column.
  • Page 67 Programming Manual UTG2000X Series MATLAB Example Environment: Window system, MATLAB  Description: Access the instrument via USBTMC and TCP/IP, and send “*IDN?” command on  NI-VISA to query the device information. Steps  Open the MATLAB software, click File>>New>>Script on Matlab interface to create an empty M file.
  • Page 68: Python Example

    Programming Manual UTG2000X Series disp(outputbuffer); %Close the VISA object fclose(vu); delete(vu); clear vu; TCP/IP Example function tcp_ip_test() % This code demonstrates sending synchronous read & write commands % to an TCP/IP instrument using NI-VISA %Create a VISA-TCPIP object connected to an instrument %configured with IP address.
  • Page 69 Programming Manual UTG2000X Series Source code USBTMC Example import pyvisa pyvisa.ResourceManager() rm.list_resources() my_instrument rm.open_resource('USB0::0x5345::0x1234::SN20220718::INSTR') print(my_instrument.query('*IDN?')) TCP/TP Example import pyvisa pyvisa.ResourceManager() rm.list_resources() my_instrument rm.open_resource('TCPIP0::192.168.20.11::inst0::INSTR') print(my_instrument.query('*IDN?')) Programming Application Example Configure Sine Wave This section is to introduce how to configure the sine wave function.
  • Page 70 Programming Manual UTG2000X Series The following command can generate the sine wave as shown above. :CHANnel1:MODe CONTinue :CHANnel1:BASE:WAVe SINe :CHANnel1:BASE:FREQuency 2000 :CHANnel1:BASE:HIGH 2 :CHANnel1:BASE:LOW 0 :CHANnel1:BASE:PHAse 20 :CHANnel1:OUTPut ON Configuring Square Wave Explanation A square wave has an amplitude, an offset, and a phase relative to a synchronous pulse. In addition, the square wave has duty ratio and period.
  • Page 71 Programming Manual UTG2000X Series The following command can generate the square wave as shown above. :CHANnel1:MODe CONTinue :CHANnel1:BASE:WAVe SQUare :CHANnel1:BASE:FREQuency 40000 :CHANnel1:BASE:AMPLitude 2 :CHANnel1:BASE:OFFSet 0 :CHANnel1:BASE:PHAse 90 :CHANnel1:BASE:DUTY 20 :CHANnel1:OUTPut ON Configuring Sawtooth Wave Explanation A sawtooth wave has an amplitude, an offset, and a phase relative to a synchronous pulse. It also can create triangle wave and the symmetry of other similar waves.
  • Page 72 Programming Manual UTG2000X Series The following command can generate the sawtooth wave as shown above. :CHANnel1:MODe CONTinue :CHANnel1:BASE:WAVe RAMP :CHANnel1:BASE:FREQuency 30000 :CHANnel1:BASE:HIGH 2 :CHANnel1:BASE:LOW 0 :CHANnel1:BASE:PHAse 90 :CHANnel1:RAMP:SYMMetry 20 :CHANnel1:OUTPut ON Configuring Pulse Wave Explanation A pulse wave has an amplitude, an offset, and a phase relative to a synchronous pulse. It can also add the edge slope and duty ratio (or pulse width).
  • Page 73 Programming Manual UTG2000X Series The following command can generate the pulse wave as shown above. :CHANnel1:MODe CONTinue :CHANnel1:BASE:WAVe PULSe :CHANnel1:BASE:FREQuency 100000 :CHANnel1:BASE:HIGH 2 :CHANnel1:BASE:LOW 0 :CHANnel1:BASE:PHAse 270 :CHANnel1:BASE:DUTY 20 :CHANnel1:PULSe:RISe 0.0000002 :CHANnel1:PULSe:FALL 0.0000002 :CHANnel1:OUTPut ON Configuring Arbitrary Wave This section is to introduce how to configure an arbitrary wave.
  • Page 74 Programming Manual UTG2000X Series :CHANnel1:BASE:OFFSet 0 :CHANnel1:BASE:PHAse 90 :CHANnel1:OUTPut ON The wave generate by the above command as shown in the following figure. Configure Harmonic Wave Explanation A harmonic wave has an amplitude, offset and phase. It can also add total harmonic order, harmonic amplitude and harmonic phase.
  • Page 75 Programming Manual UTG2000X Series :CHANnel1:BASE:WAVe HARMonic :CHANnel1:BASE:FREQuency 1000 :CHANnel1:BASE:HIGH 1 :CHANnel1:BASE:LOW 0 :CHANnel1:BASE:PHAse 90 :CHANnel1:HARMonic:TOTal:ORDer 10 :CHANnel1:HARMonic:TYPe ALL :CHANnel1:HARM:ORDER2:AMPL 0.02 :CHANnel1:HARM:ORDer2:PHASe 20 :CHANnel1:HARM:ORDER3:AMPL 0.01 :CHANnel1:HARM:ORDer3:PHASe 30 :CHANnel1:OUTPut ON Configure Pseudo-random Wave Explanation A pseudo-random wave has a bitrate, phase, edge and symbol. It can use high voltage and low voltage to set its amplitude and deviation.
  • Page 76 Programming Manual UTG2000X Series :CHANnel1:BASE:WAVe PRBS :CHANnel1:PRBS:BITRatio 1000000 :CHANnel1:BASE:HIGH 1 :CHANnel1:BASE:LOW 0 :CHANnel1:PNCode PN9 :CHANnel1:OUTPut ON Instruments.uni-trend.com 76 / 77...
  • Page 77: Appendix 1: List

    Programming Manual UTG2000X Series Appendix 1:<Key> List Functional Description MODE Output mode √ WAVE Wave type UTILity System TRIGger Trigger √ SYMBOL Digit key symbol Digit key decimal point NUM0 Digit key 0 NUM1 Digit key 1 NUM2 Digit key 2...

This manual is also suitable for:

Utg2122x

Table of Contents