Rigol DG800 Pro Series Programming Manual

Rigol DG800 Pro Series Programming Manual

Function/arbitrary waveform generator
Hide thumbs Also See for DG800 Pro Series:
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Rigol DG800 Pro Series

  • Page 2 • RIGOL products are covered by P.R.C. and foreign patents, issued and pending. • RIGOL reserves the right to modify or change parts of or all the specifications and pricing policies at the company's sole decision. • Information in this publication replaces all previously released materials.
  • Page 3: Table Of Contents

    3.3.3 :DISPlay:FOCus ........................3.3.4 :DISPlay[:STATe] ........................18 3.3.5 :DISPlay:TEXT ......................... 3.3.6 :DISPlay:TEXT:CLEar ......................3.3.7 :DISPlay:UNIT:PULSe ......................20 3.3.8 :DISPlay:UNIT:RATE ......................3.3.9 :DISPlay:UNIT:SWEep ......................3.3.10 :DISPlay:UNIT:VOLTage .......................22 3.4 :HCOPy Commands .......................... Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 4 3.8 :MEMory Commands ........................3.8.1 :MEMory:NSTates? ....................... 3.8.2 :MEMory:STATe:CATalog? ....................40 3.8.3 :MEMory:STATe:DELete .......................41 3.8.4 :MEMory:STATe:NAME ......................42 3.8.5 :MEMory:STATe:RECall:AUTO ....................42 3.8.6 :MEMory:STATe:VALid? ....................... 3.9 :MMEMory Commands ........................3.9.1 :MMEMory:CATalog[:ALL]? ....................44 DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 5 3.11.1.3 [:SOURce[<n>]]:AM:INTernal:FREQuency ............65 3.11.1.4 [:SOURce[<n>]]:AM:INTernal:FUNCtion ............66 3.11.1.5 [:SOURce[<n>]]:AM:SOURce ................67 3.11.1.6 [:SOURce[<n>]]:AM:STATe ................3.11.2 [:SOURce[<n>]]:APPLy ......................68 3.11.2.1 [:SOURce[<n>]]:APPLy? ..................69 3.11.2.2 [:SOURce[<n>]]:APPLy:ARBitrary ..............69 3.11.2.3 [:SOURce[<n>]]:APPLy:DC .................70 3.11.2.4 [:SOURce[<n>]]:APPLy:NOISe ................71 Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 6 3.11.6.5 [:SOURce[<n>]]:FREQuency:COUPle:RATio ..........94 3.11.6.6 [:SOURce[<n>]]:FREQuency:COUPle[:STATe] ..........3.11.6.7 [:SOURce[<n>]]:FREQuency:SPAN ..............3.11.6.8 [:SOURce[<n>]]:FREQuency:STARt ..............96 3.11.6.9 [:SOURce[<n>]]:FREQuency:STOP ..............97 3.11.7 [:SOURce[<n>]]:FSKey ......................3.11.7.1 [:SOURce[<n>]]:FSKey:FREQuency ..............98 3.11.7.2 [:SOURce[<n>]]:FSKey:INTernal:RATE ............99 3.11.7.3 [:SOURce[<n>]]:FSKey:POLarity ..............100 DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 7 3.11.9.7 [:SOURce[<n>]]:HARMonic[:TYPE] .............. 3.11.10 [:SOURce[<n>]]:MARKer:FREQuency ................124 3.11.11 [:SOURce[<n>]]:PARameter:COPY ................3.11.12 [:SOURce[<n>]]:PHASe ....................126 3.11.12.1 [:SOURce[<n>]]:PHASe ..................126 3.11.12.2 [:SOURce[<n>]]:PHASe:COUPle:MODE ............127 3.11.12.3 [:SOURce[<n>]]:PHASe:COUPle:OFFSet .............128 3.11.12.4 [:SOURce[<n>]]:PHASe:COUPle:RATio ............3.11.12.5 [:SOURce[<n>]]:PHASe:COUPle[:STATe] ............ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 8 3.11.17.2 [:SOURce[<n>]]:SWEep:HTIMe[:STOP] ............150 3.11.17.3 [:SOURce[<n>]]:SWEep:RTIMe ..............151 3.11.17.4 [:SOURce[<n>]]:SWEep:SPACing ..............152 3.11.17.5 [:SOURce[<n>]]:SWEep:STATe ...............153 3.11.17.6 [:SOURce[<n>]]:SWEep:STEP .................154 3.11.17.7 [:SOURce[<n>]]:SWEep:TIME ................ 3.11.18 [:SOURce[<n>]][:TRACe]:DATA:DAC16 ............... 3.11.19 [:SOURce[<n>]]:TRACk ....................3.11.20 [:SOURce[<n>]]:VOLTage ....................DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 9 3.12.8 :SYSTem:LICense:CATalog? ....................176 3.12.9 :SYSTem:LICense:DELete ....................177 3.12.10 :SYSTem:LICense:DELete:ALL ..................178 3.12.11 :SYSTem:LICense:INSTall ....................3.12.12 :SYSTem:LICense:INSTall:UDISk ..................3.12.13 :SYSTem:PSTatus .........................180 3.12.14 :SYSTem:TIME ........................3.12.15 :SYSTem:TOUCh ........................3.12.16 :SYSTem:VERSion? ......................182 Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 10 ....................193 5 Programming Examples ....................194 5.1 Programming Preparations ......................194 5.2 LabVIEW Programming Example ....................5.3 Visual Basic Programming Example ..................5.4 Visual C++ Programming Example ..................DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide VIII...
  • Page 11 Table 3.22 Table of the Bit Definition of Status Byte Register ........Table 3.60 Range of Continuous Waveform Frequency ..........Table 3.61 Range of Continuous Waveform Period .............63 Table 3.62 Range of Amplitude ...................63 Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 12 DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 13: Document Overview

    (Standard Commands for Programmable Instruments) commands. DG800 Pro and DG900 Pro series can communicate with PC through USB or LAN interface. www.rigol.com For the latest version of this manual, download it from RIGOL official website ( Publication Number PGB16100-1110 Software Version 00.01.00...
  • Page 14 Max. Output Model No. of Channels Sample Rate Frequency DG902 Pro 1.25 GSa/s 70 MHz DG912 Pro 1.25 GSa/s 150 MHz DG922 Pro 1.25 GSa/s 200 MHz DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 15: Programming Overview

    Parameters are usually separated by the vertical bar "|". When using the command, you must select one of the parameters. 2. Vertical Bar | Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 16 The parameter can be any real number within the effective value range, and this command accepts parameter input in decimal (NR2 format) and scientific notation (NR3 format). For example, DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 17: Remote Control

    When the instrument is connected to the PC via the USB or LAN interface, the PC software can search for instrument resources and enable command interaction. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 18 3. Input the specified SCPI command and then click Send & Read to send the command. The operation process and the returned value will be displayed in the current interface. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 19: Command System

    For your convenience, this instrument interprets "mV" (or "MV") as millivolts and "ms" (or "Ms") as milliseconds. However, it interprets "MHZ" (or "mhz") as megahertz. :ABORt Syntax :ABORt Description Stops any operation that is triggered. Parameter None. Remarks None. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 20: Counter Commands

    When the counter statistical function is disabled, send this command and the query returns 0,0,0,0,0,0. Examples :COUNter:AVERage:ALL? /*Queries the statistical results for counter measurements. The query might return +1.000004E+06,+1.000005E +06,+1.000003E+06,+1.000004E+06,+0.000000E+00,35.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 21: Counter:average:clear

    Sets or queries the on/off status of the statistical function for the frequency counter. Parameter Name Type Range Default <state> Bool {0|1|OFF|ON} 0|OFF Remarks None. Return Format The query returns 0 or 1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 22: Counter:coupling

    :COUNter:COUPling? /*Queries the coupling type for counter measurements. The query returns DC.*/ 3.2.5 :COUNter[:FREQuency]:RANGe Syntax range > :COUNter[:FREQuency]:RANGe < :COUNter[:FREQuency]:RANGe? Description Sets or queries the frequency range for counter measurements. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 23: Counter:gatetime

    1 ms to 10,000 s 1 ms <lim> Discrete {MINimum|MAXimum} Remarks When this command is used to specify the gate time, the auto gate function :COUNter:GATetime:AUTO[:STATe] ) is automatically disabled. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 24: Counter:gatetime:auto[:State]

    The query returns 1.*/ 3.2.8 :COUNter:HF Syntax bool > :COUNter:HF < :COUNter:HF? Description Sets or queries the on/off status of the HF Suppression function for counter measurements. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 25: Counter:impedance

    Remarks • FIFTy: sets the input impedance to 50 Ω. • OMEG: sets the input impedance to 1 MΩ. Return Format The query returns FIFT or OMEG. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 26: Counter:measure

    When the counter function is disabled, send this command and the query returns 0,0,0,0,0. Examples :COUNter:MEASure? /*Queries the measurement results for the frequency counter. The query might return +1.000000000000000E +03,+1.0000000000000001E-03,+5.760000000000000E +01,+5.760000000000000E-04,+4.240000000000000E-04.*/ 3.2.11 :COUNter:RUN:STATe Syntax state > :COUNter:RUN:STATe < :COUNter:RUN:STATe? DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 27: Counter:single

    That is, the instrument executes a single measurement and then enters the "Stop" :COUNter[:STATe] state. This command is available only when the frequency counter ( is enabled. Return Format None. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 28: Counter[:State]

    3.3.1 :DISPlay:BRIGhtness Syntax brightness >|< lim >} :DISPlay:BRIGhtness {< lim >] :DISPlay:BRIGhtness? [< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 29: Display:counter

    Available parameters include frequency (FREQuency), period (PERiod), duty cycle (DUTY), positive pulse width (PWIDth), and negative pulse width (NWIDth). Return Format The query returns FREQ, PER, DUTY, PWID, or NWID. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 30: Display:focus

    :DISPlay:FOCus? /*Queries the current channel. The query returns CH1.*/ 3.3.4 :DISPlay[:STATe] Syntax bool > :DISPlay[:STATe] < :DISPlay[:STATe]? Description Enables or disables the front-panel screen. Queries the current state of the front-panel screen. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 31: Display:text

    ( ) to restore the screen to its normal display. Return Format The query returns a character string, for example, "Test in progress". Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 32: Display:text:clear

    {WIDTh|DUTY} WIDTh Remarks • WIDTh: pulse width, to specify the pulse width in seconds (s). • DUTY: duty cycle, to specify the pulse width in percentage (%). DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 33: Display:unit:rate

    Pulse, Arb, and Harmonic. The query returns PER.*/ 3.3.9 :DISPlay:UNIT:SWEep Syntax type > :DISPlay:UNIT:SWEep < :DISPlay:UNIT:SWEep? Description Sets or queries the method to specify the frequency sweep range. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 34: Display:unit:voltage

    [:SOURce[<n>]]:VOLTage:HIGH • HIGHlow: uses the high level ( ) and low level [:SOURce[<n>]]:VOLTage:LOW ) to specify the voltage range. Return Format The query returns AMPL or HIGH. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 35: Hcopy Commands

    The query returns the data stream of the screen image. Examples None. 3.4.2 :HCOPy:SDUMp:DATA:FORMat Syntax type > :HCOPy:SDUMp:DATA:FORMat < :HCOPy:SDUMp:DATA:FORMat? Description Sets or queries the format of the screen image. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 36: Ieee488.2 Common Commands

    Device- Indicates that an error has occurred that is Specific Error neither a Command Error, a Query Error, (DDE) nor an Execution Error. A Device-Specific DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 37: Table 3.22 Table Of The Bit Definition Of Status Byte Register

    Summary Master Sets 1 or multiple bits (must be the Summary enabled bit) in the Status Byte Register and Status (MSS) generate the service request. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 38: Cls

    For the definitions of the bits in the standard event register, refer to of the Bit Definition of Standard Event Status Register . The value of <maskargument> DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 39: Esr

    The query returns an integer. The integer equals to the binary-weighted sum of all the bits set in the register. Example None. 3.5.4 *IDN? Syntax *IDN? Description Queries the ID string of the instrument. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 40: Opc

    (OPC, "operation complete" bit) in the event register of the Standard Event register will be set). • Sending the *OPC? command and reading the result can ensure synchronization. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 41: Opt

    Standard Event registers at power-on. Queries the on/off state of the function of clearing the enable registers of the Status Byte and Standard Event registers at power-on. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 42: Rcl

    Recalls a previously stored instrument state from the specified non-volatile memory location. Parameter Name Type Range Default <value> Discrete {0|1|2|3|4|5} Remarks None. Return Format None. Examples *RCL 1 /*Recalls the instrument state stored in memory location 1.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 43: Rst

    If a file has already been stored in the specified location, this command will overwrite the original file directly without any prompt message. Return Format None. Examples *SAV 1 /*Stores the current instrument state to memory location 1.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 44: Sre

    Bit 0 and Bit 1 in the status byte register ( Status Byte Register ) are not used and are always treated as 0; therefore, the range of DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 45: Trg

    Return Format None. Examples *TRG /*Generates a trigger event.*/ 3.5.14 *TST? Syntax *TST? Description Executes the self-test and returns the results. Parameter None. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 46: Wai

    • Wait-for-trigger: when the system is in "wait-for-trigger" state, it can detect the trigger event. Once a trigger event is generated, the system enters the "action-in-progress" state. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 47: Initiate[]:Continuous

    The query returns 0 or 1. Examples :INITiate1:CONTinuous ON /*Sets CH1 to automatically return to "wait-for-trigger".*/ :INITiate1:CONTinuous? /*Queries whether CH1 automatically returns to "wait-for-trigger". The query returns 1.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 48: Initiate[]:Continuous:all

    Description Changes the status of the trigger system from "idle" to "wait-for-trigger" for the specified channel. Parameter None. Remarks :ABORt • to return the instrument to idle. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 49: Initiate[][:Immediate]:All

    None. Examples None. :LXI Commands :LXI commands are used to set the on/off status of mDNS, restart the LAN, and restore the network settings to default values. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 50: Lxi:mdns:state

    ASCII string Refer to Remarks <name> specifies the mDNS service name, which can contain English characters and numbers. The total length is no more than 99 characters. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 51: Lxi:reset

    Command System Return Format The query returns an ASCII string. Examples :LXI:MDNS:SNAMe:DESired RIGOL /*Sets the mDNS service name to RIGOL.*/ :LXI:MDNS:SNAMe:DESired? /*Queries the service name for mDNS. The query returns RIGOL.*/ 3.7.3 :LXI:RESet Syntax :LXI:RESet Description Sets the network settings to default values.
  • Page 52: Memory Commands

    The query returns 6.*/ 3.8.2 :MEMory:STATe:CATalog? Syntax :MEMory:STATe:CATalog? Description Queries the names of the state files in the internal non-volatile memory of the instrument. Parameter None. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 53: Memory:state:delete

    This command is valid only when a state file has been stored in the specified memory location. Return Format None. Examples :MEMory:STATe:DELete 1 /*Deletes the state file stored in location 1.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 54: Memory:state:name

    :MEMory:STATe:NAME? 2 /*Queries the filename of the state file stored in location 2 of the internal non-volatile memory of the instrument. The query returns "state".*/ 3.8.5 :MEMory:STATe:RECall:AUTO Syntax bool > :MEMory:STATe:RECall:AUTO < :MEMory:STATe:RECall:AUTO? DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 55: Memory:state:valid

    Parameter Name Type Range Default <state> Discrete {0|1|2|3|4|5} Remarks *SAV Before using , you can use this query command to avoid overwriting an existing file accidentally. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 56: Mmemory Commands

    The combination of folder and file name cannot exceed 200 characters. 3.9.1 :MMEMory:CATalog[:ALL]? Syntax folder >] :MMEMory:CATalog[:ALL]? [< Description Queries all the files in the specified directory. Parameter Name Type Range Default <folder> ASCII string Valid directory DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 57: Mmemory:catalog:data:arbitrary

    Valid directory Remarks The parameter <folder> is the valid directory in the internal or external memory. For example, it can be INT:\ or USB:\Rigol\. If it is omitted, this command queries the :MMEMory:CDIRectory directory specified by Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.
  • Page 58: Mmemory:catalog:state

    Valid directory Remarks The parameter <folder> is a valid directory in the internal or external memory. For example, it can be INT:\ or USB:\Rigol. If it is omitted, this command queries the current directory. Return Format The query returns a string in the format of space used,space available,"file name,file property,file size",……;...
  • Page 59: Mmemory:cdirectory

    Valid directory Remarks The parameter <directory_name> is the valid directory in the internal or external memory. For example, it can be INT:/folder or USB:/Rigol. Return Format The query returns a string. For example, the query might return INT:/folder, representing the folder named "folder" under local disk C.
  • Page 60: Mmemory:copy:sequence

    The parameter <sequence> is the filename of the sequence to be copied. The filename must contain the file extension, for example, INT:\SEQ.seq. • The parameter <directoryname> specifies the target path, for example, INT:\TextFolder. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 61: Mmemory:delete

    Return Format None. Examples :MMEMory:COPY:SEQuence INT:\Rigol\MySequence.seq,USB:\rigol / *Copies the sequence file named MySequence.seq and its associated files in the "Rigol" folder of C disk to the "rigol" folder of USB storage device.*/ 3.9.7 :MMEMory:DELete Syntax file_name > :MMEMory:DELete <...
  • Page 62: Mmemory:load:state

    The parameter <file_name> specifies the name of the state file under the specified directory, for example, INT:\Mystate.sta. Return Format None. Examples :MMEMory:LOAD:STATe INT:\Mystate.sta /*Loads the instrument state file named Mystate.sta from the root directory of the internal memory.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 63: Mmemory:mdirectory

    Moves file 1 under the current directory to the specified directory, or renames file 1 to file 2. Parameter Name Type Range Default <file1> ASCII string Valid filename <file2> ASCII string Valid directory or filename Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 64: Mmemory:rdirectory

    USB:\Rigol\. Return Format None. Examples :MMEMory:MOVE INT:\Rigol.sta,USB:\Rigol\ /*Moves the file named Rigol.sta in internal memory to the folder named Rigol in the USB storage device.*/ :MMEMory:MOVE USB:\Rigol1.sta,USB:\Rigol2.sta /*Names the file named Rigol1.sta in the USB storage device to Rigol2.sta.*/ 3.9.12...
  • Page 65: Mmemory:store:data

    Stores the current instrument state with the specified name in the specified directory. Parameter Name Type Range Default <file_name> ASCII string Valid directory Remarks None. Return Format None. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 66: Output Commands

    The query returns FPT, TOP, CENT, or BOTT; or returns the idle level position in an integer. Examples :OUTPut1:IDLE TOP /*Sets the idle level to the top point of the waveform.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 67: Output[]:Load

    Ω. If the output impedance of the output connector of the specified channel is set to HighZ (INFinity), the query returns 9.9E+37. Examples :OUTPut1:LOAD INFinity /*Sets the output impedance to HighZ for CH1 output connector.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 68: Output[]:Polarity

    :OUTPut1:POLarity NORMal /*Sets the CH1 output polarity to Normal.*/ :OUTPut1:POLarity? /*Queries the CH1 output polarity. The query returns NORM.*/ 3.10.4 :OUTPut[<n>][:STATe] Syntax n >][:STATe] < state > :OUTPut[< n >][:STATe]? :OUTPut[< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 69: Output[]:Sync

    Sine, Square, Ramp, Pulse, Arb (except DC), Sweep waveforms, Bursts, and modulated waveforms have associated sync signals. For the characteristics of sync signals for different signals, refer to the user manual of this product. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 70: Output[]:Sync:mode

    When [<n>] is omitted, it is interpreted as CH1. Return Format The query returns NORM or MARK. Examples :OUTPut1:SYNC:MODE MARKer /*Enables the frequency mark function for CH1.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 71: Output[]:Sync:polarity

    The query returns NORM.*/ 3.10.8 :OUTPut[<n>]:SYNC:SOURce Syntax n >]:SYNC:SOURce < port > :OUTPut[< n >]:SYNC:SOURce? :OUTPut[< Description Sets or queries the sync signal output port for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 72: Output[]:Trigger

    Description Sets or queries whether the trigger output is enabled for Sweep or Burst mode. Parameter Name Type Range Default <n> Discrete {1|2} <bool> Bool {0|1|OFF|ON} 0|OFF DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 73: Output[]:Trigger:slope

    [AUX IN/OUT] connector at the beginning of the sweep or burst. • When [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 74: Source Commands

    1 μHz to 30 MHz 1 μHz to 50 MHz 1 μHz to 50 MHz Harmonic 1 mHz to 35 MHz 1 mHz to 75 MHz 1 mHz to 100 MHz DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 75: Table 3.61 Range Of Continuous Waveform Period

    1 mVpp to 2 Vpp The noise amplitude range is related to the impedance setting: • HighZ: 2 mVpp to 4 Vpp. • Load (50 Ω): 1 mVpp to 2 Vpp. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 76: Source[]]:Am

    +5.000000000000000E+01, indicating that the modulation depth is 50%. Examples :SOURce1:AM:DEPTh 50 /*Sets the AM modulation depth to 50% for CH1.*/ :SOURce1:AM:DEPTh? /*Queries the AM modulation depth for CH1. The query returns +5.000000000000000E+01.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 77: Source[]]:Am:dssc

    Sets or queries the frequency of the AM modulating waveform for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <frequency> Real 2 mHz to 1 MHz 100 Hz <lim_set> Discrete {MINimum|MAXimum|DEFault} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 78: Source[]]:Am:internal:function

    <function> Discrete SINusoid RAMP|NRAMp|NOISe|ARB} Remarks • AM supports the following internal modulating waveforms: SINusoid: Sine wave. SQUare: Square with 50% duty cycle. TRIangle: Triangle with 50% symmetry. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 79: Source[]]:Am:source

    [AUX IN/OUT] connector. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 80: Source[]]:Am:state

    :SOURce1:AM:STATe ON /*Enables the AM modulation function for CH1.*/ :SOURce1:AM:STATe? /*Queries the on/off status of the AM modulation function for CH1. The query returns 1.*/ 3.11.2 [:SOURce[<n>]]:APPLy DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 81: Source[]]:Apply

    CH1. The query returns "SIN, +5.000000000000000E+03,+3.0000000000000E+00,-3.0000000000000E +00,+4.0000000000000E+00".*/ 3.11.2.2 [:SOURce[<n>]]:APPLy:ARBitrary Syntax n >]]:APPLy:ARBitrary [{< frequency >|< lim_set >}[,{< amplitude >| [:SOURce[< lim_set >}[,{< offset >|< lim_set >}[,{< phase >|< lim_set >}]]]] < Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 82: Source[]]:Apply:dc

    >]]:APPLy:DC [{< frequency >|< lim_set >}[,{< amplitude >|< lim_set >}[, [:SOURce[< offset >|< lim_set >}[,{< phase >|< lim_set >}]]]] {< Description Sets the specified channel to output a DC with a specified offset. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 83: Source[]]:Apply:noise

    >|< lim_set >}[,{< phase >|< lim_set >}]]]] {< Description Sets the specified channel to output noise with the specified amplitude and offset. Parameter Name Type Range Default <n> Discrete {1|2} <lim_set> Discrete {DEFault|MINimum|MAXimum} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 84: Source[]]:Apply:pulse

    Parameter Name Type Range Default <n> Discrete {1|2} <lim_set> Discrete {DEFault|MINimum|MAXimum} Remarks <frequency> Real Refer to 1 kHz Remarks <amplitude> Real Refer to 5 Vpp DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 85: Source[]]:Apply:ramp

    Remarks <frequency> Real Refer to 1 kHz Remarks <amplitude> Real Refer to 5 Vpp Remarks <offset> Real Refer to 0 Vdc <phase> Real -360° to 360° 0° Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 86: Source[]]:Apply:sinusoid

    Remarks <frequency> Real Refer to 1 kHz Remarks <amplitude> Real Refer to 5 Vpp Remarks <offset> Real Refer to 0 Vdc <phase> Real -360° to 360° 0° DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 87: Source[]]:Apply:square

    Continuous Waveform Frequency ). For the range of <amplitude>, refer to Table 3.62 Range of Amplitude . The range of <offset> is limited by the current amplitude setting. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 88: Source[]]:Askey

    (called the carrier amplitude and the modulation amplitude). • The range of <amplitude> is consistent with the amplitude range of basic waveforms ( Table 3.62 Range of Amplitude DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 89: Source[]]:Askey:internal:rate

    When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns the ASK rate in scientific notation. For example, the query might return +1.500000000000000E+02, indicating that the ASK rate is 150 Hz. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 90: Source[]]:Askey:polarity

    CH1.*/ :SOURce1:ASKey:POLarity? /*Queries the ASK modulation polarity for CH1. The query returns NEG.*/ 3.11.3.4 [:SOURce[<n>]]:ASKey:SOURce Syntax n >]]:ASKey:SOURce < source > [:SOURce[< n >]]:ASKey:SOURce? [:SOURce[< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 91: Source[]]:Askey:state

    >]]:ASKey:STATe? [:SOURce[< Description Sets or queries the on/off status of the ASK modulation function for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 92: Source[]]:Burst

    Description Sets or queries the gate polarity of the burst waveform for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <polarity> Discrete {NORMal|INVerted} NORMal DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 93: Source[]]:Burst:internal:period

    Discrete {1|2} <seconds> Real 4 μs to 8000 s 10 ms <lim> Discrete {MINimum|MAXimum} Remarks • Burst period is only available for internally triggered N-Cycle burst mode. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 94: Source[]]:Burst:mode

    TRIGgered: N-Cycle burst. The generator outputs a waveform with the specified number of cycles (burst count) when it receives the trigger signal. [:SOURce[<n>]]:BURSt:NCYCles You can use to set the burst count. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 95: Source[]]:Burst:ncycles

    When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns the burst count in scientific notation. For example, the query might return +5.000000000000000E+02, indicating that the burst count is 500. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 96: Source[]]:Burst:phase

    3.11.4.6 [:SOURce[<n>]]:BURSt:STATe Syntax n >]]:BURSt:STATe < bool > [:SOURce[< n >]]:BURSt:STATe? [:SOURce[< Description Sets or queries the on/off status of the burst mode for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 97: Source[]]:Fm

    Description Sets or queries the FM frequency deviation for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} Remarks <deviation> Real Refer to 100 Hz Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 98: Source[]]:Fm:internal:frequency

    [:SOURce[< n >]]:FM:INTernal:FREQuency? [< lim_query >] [:SOURce[< Description Sets or queries the FM modulation frequency for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 99: Source[]]:Fm:internal:function

    Sets or queries the FM modulating waveform for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} {SINusoid|SQUare|TRIangle| <function> Discrete SINusoid RAMP|NRAMp|NOISe|ARB} Remarks • FM supports the following internal modulating waveforms: SINusoid: Sine wave. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 100: Source[]]:Fm:source

    Sets or queries the FM modulation source for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <source> Discrete {INTernal|EXTernal} INTernal Remarks • The instrument can receive modulating waveforms from internal or external modulation source. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 101: Source[]]:Fm:state

    • The harmonic, noise, DC, and pulse cannot be modulated for FM. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 102: Source[]]:Frequency

    Otherwise, the instrument automatically sets the frequency as the upper limit for the new wave type. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 103: Source[]]:Frequency:center

    When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns the center frequency in scientific notation. For example, the query might return +5.000000000000000E+03, indicating that the center frequency is 5 kHz. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 104: Source[]]:Frequency:couple:mode

    • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns OFFS or RAT. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 105: Source[]]:Frequency:couple:offset

    :SOURce1:FREQuency:COUPle:OFFSet 0.01 /*Sets the frequency deviation of the frequency coupling to 10 mHz for CH1.*/ :SOURce1:FREQuency:COUPle:OFFSet? /*Queries the frequency deviation of the frequency coupling for CH1. The query returns +1.000000000000000E-02.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 106: Source[]]:Frequency:couple:ratio

    [:SOURce[<n>]]:FREQuency:COUPle[:STATe] Syntax n >]]:FREQuency:COUPle[:STATe] < bool > [:SOURce[< n >]]:FREQuency:COUPle[:STATe]? [:SOURce[< Description Sets or queries the on/off status of the frequency coupling function for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 107: Source[]]:Frequency:span

    >]]:FREQuency:SPAN {< frequency >|< lim_set >} [:SOURce[< n >]]:FREQuency:SPAN? [< lim_query >] [:SOURce[< Description Sets or queries the frequency span of the sweep function for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 108: Source[]]:Frequency:start

    >]]:FREQuency:STARt {< frequency >|< lim_set >} [:SOURce[< n >]]:FREQuency:STARt? [< lim_query >] [:SOURce[< Description Sets or queries the start frequency of the sweep function for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 109: Source[]]:Frequency:stop

    >]]:FREQuency:STOP {< frequency >|< lim_set >} [:SOURce[< n >]]:FREQuency:STOP? [< lim_query >] [:SOURce[< Description Sets or queries the stop frequency of the sweep function for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 110: Source[]]:Fskey

    FSK hopping frequency, modulation rate, modulation polarity, modulation source, and the on/off status of the FSK modulation function. 3.11.7.1 [:SOURce[<n>]]:FSKey:FREQuency Syntax n >]]:FSKey:FREQuency {< frequency >|< lim_set >} [:SOURce[< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 111: Source[]]:Fskey:internal:rate

    Syntax n >]]:FSKey:INTernal:RATE {< rate >|< lim >} [:SOURce[< n >]]:FSKey:INTernal:RATE? [< lim >] [:SOURce[< Description Sets or queries the FSK modulation rate for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 112: Source[]]:Fskey:polarity

    Sets or queries the FSK modulation polarity for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <polarity> Discrete {POSitive|NEGative} POSitive Remarks • The FSK modulation polarity can be set to the following: DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 113: Source[]]:Fskey:source

    [AUX IN/OUT] connector. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns INT or EXT. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 114: Source[]]:Fskey:state

    CH1. The query returns 1.*/ 3.11.8 [:SOURce[<n>]]:FUNCtion [:SOURce[<n>]]:FUNCtion commands are used to set and query some parameters of Arb, pulse, ramp, square, and sequence waveforms. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 115: Source[]]:Function

    >]]:FUNCtion:ARBitrary < arb > n >]]:FUNCtion:ARBitrary? [:SOURce[< Description Sets or queries the arbitrary waveform type for the specified channel. Parameter Name Type Range Default Remarks <arb> Discrete Refer to Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 116: Source[]]:Function:pulse:dcycle

    [:SOURce[< [:SOURce[< n >]]:FUNCtion:PULSe:DCYCle? [< lim_query >] Description Sets or queries the pulse duty cycle for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 117: Source[]]:Function:pulse:period

    Sets or queries the pulse period for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} Remarks <seconds> Real Refer to 1 ms <lim_set> Discrete {MAXimum|MINimum|DEFault} <lim_query> Discrete {MAXimum|MINimum} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 118: Source[]]:Function:pulse:transition:leading

    Sets or queries the pulse edge time on the leading edge for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <seconds> Real 3 ns to 1 s 3 ns <lim_set> Discrete {MAXimum|MINimum|DEFault} <lim_query> Discrete {MAXimum|MINimum} DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 119: Source[]]:Function:pulse:transition:trailing

    The range of the trailing edge time is limited by the current waveform frequency, pulse width, and leading edge time. When the set value exceeds the limits, the instrument will adjust the edge time automatically. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 120: Source[]]:Function:pulse:width

    Return Format The query returns the pulse width in scientific notation. For example, the query might return +1.000000000000000E-02, indicating that the pulse width is 10 ms (0.01 s). DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 121: Source[]]:Function:ramp:symmetry

    +5.500000000000000E+01, indicating that the ramp symmetry is 55%. Examples :SOURce1:FUNCtion:RAMP:SYMMetry 55 /*Sets the ramp symmetry to 55% for CH1.*/ :SOURce1:FUNCtion:RAMP:SYMMetry? /*Queries the ramp symmetry for CH1. The query returns +5.500000000000000E+01.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 122: Source[]]:Function:sequence:list:apply

    Clears all waveform and loop data of the sequence for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} Remarks When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 123: Source[]]:Function:sequence:list:filter

    CH1. The query returns STEP.*/ 3.11.8.12 [:SOURce[<n>]]:FUNCtion:SEQuence:LIST:LENGth Syntax n >]]:FUNCtion:SEQuence:LIST:LENGth < num >,{< value >|< lim >} [:SOURce[< n >]]:FUNCtion:SEQuence:LIST:LENGth? {< num >|< all >} [:SOURce[< Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 124: Source[]]:Function:sequence:list:period

    Remarks • For DG800 Pro series, the range of <value> is from 32 pts to 2 Mpts (8 Mpts/CH optional) and the total points of valid steps (the loop is not 0) of the current sequence cannot exceed 2 Mpts (8 Mpts/CH optional); for DG900 Pro series, the range of <value>...
  • Page 125: Source[]]:Function:sequence:list:srate

    >]]:FUNCtion:SEQuence:LIST:SRATe? [< lim >] [:SOURce[< Description Sets or queries the sample rate of the sequence waveform for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 126: Source[]]:Function:sequence:list:wave

    <wavename> Discrete Refer to <lim> Discrete {ALL} Remarks • The parameter <wavename> can be various basic waveforms and built-in waveforms. Its range is {SIN|SQU|RAMP|NOISe|KAISER|BLASEIWAV|SINC| NEGRAMP|ATTALT|AMPALT|STAIRDN|STAIRUP|STAIRUD|CPULSE|PPULSE| NPULSE|TRAPEZIA|ROUNDHALF|ABSSINE|ABSSINEHALF|SINETRA|SINEVER| EXPRISE|EXPFALL|TAN|COT|SQRT|X2DATA|GAUSS|HAVERSINE|LORENTZ| DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 127: Source[]]:Function:sequence[:State]

    [:SOURce[< [:SOURce[< n >]]:FUNCtion:SEQuence[:STATe]? Description Sets or queries the on/off status of the Sequence function. Parameter Name Type Range Default <n> Discrete {1|2} <bool> Discrete {ON|1|OFF|0} 0|OFF Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 128: Source[]]:Function:square:dcycle

    Return Format The query returns the square duty cycle in scientific notation. For example, the query might return +4.500000000000000E+01, indicating that the square duty cycle is 45%. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 129: Source[]]:Function:square:period

    +1.000000000000000E+00, indicating that the square period is 1 s. Examples :SOURce1:FUNCtion:SQUare:PERiod 1 /*Sets the square period to 1 s for CH1.*/ :SOURce1:FUNCtion:SQUare:PERiod? /*Queries the square period for CH1. The query returns +1.000000000000000E+00.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 130: Source[]]:Harmonic

    This setup command is valid only when the harmonic type [:SOURce[<n>]]:HARMonic[:TYPE] ) is set to Combine (COMBine). • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 131: Source[]]:Harmonic:combine:amplitude

    • You can use <all> to query the amplitudes of all orders of the harmonic. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 132: Source[]]:Harmonic:combine:phase

    Return Format If querying the specified harmonic component, the query returns the phase of the specified order of combine harmonic, for example, 10.000000. If querying the phases DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 133: Source[]]:Harmonic:order

    The query returns an integer. For example, the query might return 10, indicating that the harmonic order is 10. Examples :SOURce1:HARMonic:ORDer 10 /*Sets the order of the order harmonic to 10 for CH1.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 134: Source[]]:Harmonic:order:amplitude

    :SOURce1:HARMonic:ORDEr:AMPLitude? /*Queries the amplitude of the current order of order harmonic for CH1. The query returns 1.000000E+00.*/ 3.11.9.6 [:SOURce[<n>]]:HARMonic:ORDEr:PHASe Syntax n >]]:HARMonic:ORDEr:PHASe {< phase >|< lim_set >} [:SOURce[< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 135: Source[]]:Harmonic[:Type]

    [:SOURce[< n >]]:HARMonic[:TYPE]? [:SOURce[< Description Sets or queries the harmonic type for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <type> Discrete {ORDer|COMBine} ORDer Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 136: Source[]]:Marker:frequency

    The parameter <frequency> is limited by the sweep "Start Frequency" [:SOURce[<n>]]:FREQuency:STARt ) and "Stop Frequency" [:SOURce[<n>]]:FREQuency:STOP ). It must lie between the start frequency and stop frequency. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 137: Source[]]:Parameter:copy

    User Guide. • The Channel Copy function is disabled when channel track is enabled. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 138: Source[]]:Phase

    +5.000000000000000E+01, indicating that the start phase is 50°. Examples :SOURce1:PHASe 50 /*Sets the waveform start phase to 50° for CH1.*/ :SOURce1:PHASe? /*Queries the waveform start phase for CH1. The query returns +5.000000000000000E+01.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 139: Source[]]:Phase:couple:mode

    :SOURce1:PHASe:COUPle:MODE OFFSet /*Sets the type of the phase coupling mode to phase deviation for CH1.*/ :SOURce1:PHASe:COUPle:MODE? /*Queries the type of the phase coupling mode for CH1. The query returns OFFS.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 140: Source[]]:Phase:couple:offset

    3.11.12.4 [:SOURce[<n>]]:PHASe:COUPle:RATio Syntax [:SOURce[< n >]]:PHASe:COUPle:RATio < ratio > n >]]:PHASe:COUPle:RATio? [:SOURce[< Description Sets or queries the phase ratio of the phase coupling for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 141: Source[]]:Phase:couple[:State]

    <n> Discrete {1|2} <bool> Bool {0|1|OFF|ON} 0|OFF Remarks • The phase coupling function is not available for DG821 Pro (unless the two- channel upgrade option is installed). Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 142: Source[]]:Phase:synchronize

    The align phase function is only available for the Continuous mode as well as the internally triggered Burst and Sweep modes. • The align phase function is not available for DG821 Pro (unless the two-channel upgrade option is installed). DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 143: Source[]]:Pm

    [AUX IN/ OUT] connector. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 144: Source[]]:Pm:internal:frequency

    :SOURce1:PM:INTernal:FREQuency 150 /*Sets the frequency of the PM modulating waveform to 150 Hz for CH1.*/ :SOURce1:PM:INTernal:FREQuency? /*Queries the frequency of the PM modulating waveform for CH1. The query returns +1.500000000000000E +02.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 145: Source[]]:Pm:internal:function

    The query returns SIN, SQU, TRI, RAMP, NRAM, NOIS, or ARB. Examples :SOURce1:PM:INTernal:FUNCtion SQUare /*Sets the PM modulating waveform to Square for CH1.*/ :SOURce1:PM:INTernal:FUNCtion? /*Queries the PM modulating waveform for CH1. The query returns SQU.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 146: Source[]]:Pm:source

    CH1.*/ :SOURce1:PM:SOURce? /*Queries the PM modulation source for CH1. The query returns INT.*/ 3.11.13.5 [:SOURce[<n>]]:PM:STATe Syntax n >]]:PM:STATe < bool > [:SOURce[< n >]]:PM:STATe? [:SOURce[< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 147: Source[]]:Pskey

    Syntax n >]]:PSKey:INTernal:RATE {< rate >|< lim >} [:SOURce[< n >]]:PSKey:INTernal:RATE? [< lim >] [:SOURce[< Description Sets or queries the PSK modulation rate for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 148: Source[]]:Pskey:phase

    Sets or queries the PSK modulation phase for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <phase> Real 0° to 360° 180° <lim_set> Discrete {MINimum|MAXimum|DEFault} <lim_query> Discrete {MINimum|MAXimum} DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 149: Source[]]:Pskey:polarity

    The PSK modulation polarity can be set to the following: POSitive: positive polarity. NEGative: negative polarity. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns POS or NEG. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 150: Source[]]:Pskey:source

    The query returns INT or EXT. Examples :SOURce1:PSKey:SOURce INTernal /*Sets the PSK modulation source to internal modulation source for CH1.*/ :SOURce1:PSKey:SOURce? /*Queries the PSK modulation source for CH1. The query returns INT.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 151: Source[]]:Pskey:state

    [:SOURce[<n>]]:PWM commands are used to set and query the PWM parameters such as the duty cycle deviation, width deviation, modulating waveform frequency, modulation source, modulating waveform, and the on/off status of the PWM modulation. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 152: Source[]]:Pwm:deviation

    >]]:PWM:DEViation:DCYCle {< percent >|< lim_set >} [:SOURce[< n >]]:PWM:DEViation:DCYCle? [< lim_query >] [:SOURce[< Description Sets or queries the PWM duty cycle deviation for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 153: Source[]]:Pwm:internal:frequency

    Sets or queries the modulation frequency of PWM modulation for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <frequency> Real 2 mHz to 1 MHz 100 Hz <lim_set> Discrete {MINimum|MAXimum|DEFault} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 154: Source[]]:Pwm:internal:function

    <function> Discrete SINusoid NRAMp|NOISe|ARB} Remarks • PWM supports the following internal modulating waveforms: SINusoid: Sine wave. SQUare: Square with 50% duty cycle. TRIangle: Triangle with 50% symmetry. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 155: Source[]]:Pwm:source

    The instrument can receive modulating waveforms from internal or external modulation. INTernal: internal modulation source. When the internal modulation [:SOURce[<n>]]:PWM:INTernal:FUNCtion source is selected, you can use select the modulating waveforms. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 156: Source[]]:Pwm:state

    ) function is currently enabled, it will be disabled automatically when the modulation function is enabled. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 157: Source[]]:Sum

    When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns the sum ratio in scientific notation. For example, the query might return +5.000000000000000E+01, indicating that the sum ratio is 50%. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 158: Source[]]:Sum:internal:frequency

    :SOURce1:SUM:INTernal:FREQuency 100 /*Sets the sum frequency of the waveform summing function to 100 Hz for CH1.*/ :SOURce1:SUM:INTernal:FREQuency? /*Queries the sum frequency of the waveform summing function for CH1. The query returns +1.000000000000000E+02.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 159: Source[]]:Sum:internal:function

    :SOURce1:SUM:INTernal:FUNCtion? /*Queries the summing waveform of the waveform summing function for CH1. The query returns SQU.*/ 3.11.16.4 [:SOURce[<n>]]:SUM:SOURce Syntax n >]]:SUM:SOURce < source > [:SOURce[< n >]]:SUM:SOURce? [:SOURce[< Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 160: Source[]]:Sum:state

    Sets or queries the on/off status of the waveform summing function for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <bool> Bool {ON|1|OFF|0} 0|OFF DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 161: Source[]]:Sweep

    Sets or queries the start hold time of the sweep function for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <time> Real 0 s to 3600 s <lim_set> Discrete {MINimum|MAXimum|DEFault} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 162: Source[]]:Sweep:htime[:Stop]

    Sets or queries the stop hold time of the sweep function for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <time> Real 0 s to 3600 s <lim_set> Discrete {MINimum|MAXimum|DEFault} <lim_query> Discrete {MINimum|MAXimum} DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 163: Source[]]:Sweep:rtime

    The maximum value of <time> is limited by the sweep type, start/stop hold time, trigger source, and sweep time. = Sweep Time + Start Hold Time + Return Time + Stop Hold Time. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 164: Source[]]:Sweep:spacing

    ), "Stop Frequency" [:SOURce[<n>]]:FREQuency:STOP ), and "Sweep Time" [:SOURce[<n>]]:SWEep:TIME LOGarithmic: logarithmic sweep. The instrument varies the output frequency logarithmically during the sweep, changing the frequency by a DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 165: Source[]]:Sweep:state

    DC, or pulse, the Sweep function cannot be enabled. • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Return Format The query returns 0 or 1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 166: Source[]]:Sweep:step

    :SOURce1:SWEep:STEP? /*Queries the step number of the step sweep function for CH1. The query returns 5.000000000000000E+02.*/ 3.11.17.7 [:SOURce[<n>]]:SWEep:TIME Syntax n >]]:SWEep:TIME {< time >|< lim_set >} [:SOURce[< n >]]:SWEep:TIME? [< lim_query >] [:SOURce[< DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 167: Source[]][:Trace]:Data:dac16

    +5.000000000000000E+00.*/ 3.11.18 [:SOURce[<n>]][:TRACe]:DATA:DAC16 Syntax n >]][:TRACe]:DATA:DAC16 < type >,< flag >,< data > [:SOURce[< Description Downloads the Arb data to the volatile memory of the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 168 It might take a while to download the long waveform table. It is recommended to use the *OPC? query command. Make sure that the data download is complete or data may be lost. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 169: Source[]]:Track

    • The track function is not available for DG821 Pro (unless the two-channel upgrade option is installed). Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 170: Source[]]:Voltage

    . Define the amplitude upper limit to : max. output amplitude ≤ (Vpp - 2*|V offset • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 171: Source[]]:Voltage:couple:mode

    • When [:SOURce[<n>]] or [<n>] is omitted, it is interpreted as CH1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 172: Source[]]:Voltage:couple:offset

    :SOURce1:VOLTage:COUPle:OFFSet 5 /*Sets the amplitude deviation of the amplitude coupling to 5 Vpp for CH1.*/ :SOURce1:VOLTage:COUPle:OFFSet? /*Queries the amplitude deviation of the amplitude coupling for CH1. The query returns +5.000000000000000E+00.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 173: Source[]]:Voltage:couple:ratio

    [:SOURce[<n>]]:VOLTage:COUPle[:STATe] Syntax n >]]:VOLTage:COUPle[:STATe] < bool > [:SOURce[< n >]]:VOLTage:COUPle[:STATe]? [:SOURce[< Description Sets or queries the on/off status of the amplitude coupling function for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 174: Source[]]:Voltage:high

    [:SOURce[<n>]]:VOLTage:HIGH Syntax n >]]:VOLTage:HIGH {< voltage >|< lim_set >} [:SOURce[< n >]]:VOLTage:HIGH? [< lim_query >] [:SOURce[< Description Sets or queries the high level for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 175: Source[]]:Voltage:low

    Sets or queries the low level for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} Remarks <voltage> Real Refer to -2.5 V <lim_set> Discrete {MINimum|MAXimum|DEFault} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 176: Source[]]:Voltage:offset

    The parameter <voltage> is affected by the amplitude setting [:SOURce[<n>]]:VOLTage ). |Offset|*2 plus the current amplitude cannot exceed Table 3.62 Range of Amplitude the upper limit of the amplitude ( DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 177: Source[]]:Voltage:unit

    The query returns VPP, VRMS, or DBM. Examples :SOURce1:VOLTage:UNIT VPP /*Sets the amplitude unit to Vpp for CH1.*/ :SOURce1:VOLTage:UNIT? /*Queries the amplitude unit for CH1. The query returns VPP.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 178: System Commands

    Syntax state > :SYSTem:BEEPer:STATe < :SYSTem:BEEPer:STATe? Description Sets or queries the on/off status of the beeper. Parameter Name Type Range Default <state> Bool {1|ON|0|OFF} 1|ON Remarks None. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 179: System:date

    "-". Examples :SYSTem:DATE 2022,05,01 /*Sets the system date to May 1, 2022.*/ :SYSTem:DATE? /*Queries the system date. The query returns 2022-05-01.*/ 3.12.4 :SYSTem:COMMunicate 3.12.4.1 :SYSTem:COMMunicate:LAN:CONTrol? Syntax :SYSTem:COMMunicate:LAN:CONTrol? Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 180: System:communicate:lan:dhcp[:State]

    The three IP configuration types cannot be all turned off at the same time. :SYSTem:COMMunicate:LAN:UPDate • After sending this command, execute apply the current network setting for the new parameters to take effect. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 181: System:communicate:lan:dns

    The query returns the DNS address, for example, 172.16.3.2. Examples :SYSTem:COMMunicate:LAN:DNS 172.16.3.2 /*Sets the DNS address to 172.16.3.2.*/ :SYSTem:COMMunicate:LAN:DNS? /*Queries the current DNS address. The query returns 172.16.3.2.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 182: System:communicate:lan:domain

    You are recommended to ask your network administrator for a gateway available. • When Static IP mode is enabled with both DHCP and Auto IP disabled, this default gateway is used. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 183: System:communicate:lan:hostname

    The query returns a string. Examples :SYSTem:COMMunicate:LAN:HOSTname RIGOL123 /*Sets the hostname to RIGOL123.*/ :SYSTem:COMMunicate:LAN:HOSTname? /*Queries the hostname. The query returns RIGOL123.*/ 3.12.4.7 :SYSTem:COMMunicate:LAN:IPADdress Syntax ip > :SYSTem:COMMunicate:LAN:IPADdress < :SYSTem:COMMunicate:LAN:IPADdress? Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 184: System:communicate:lan:mac

    When assigning the IP address for the instrument, the system uses the MAC address to identify the instrument. The MAC address (48 bits, namely 6 bytes) is usually expressed in hexadecimal format, such as 00:2A:A0:AA:E0:56. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 185: System:communicate:lan:smask

    The query returns the subnet mask, such as 255.255.255.0. Examples :SYSTem:COMMunicate:LAN:SMASk 255.255.255.0 /*Sets the subnet mask to 255.255.255.0.*/ :SYSTem:COMMunicate:LAN:SMASk? /*Queries the current subnet mask. The query returns 255.255.255.0.*/ 3.12.4.10 :SYSTem:COMMunicate:LAN:UPDate Syntax :SYSTem:COMMunicate:LAN:UPDate Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 186: System:communicate:usb:information

    Queries the instrument's USB information. Parameter None. Remarks None. Return Format The query returns a string, for example, USB0::0x1AB1::0x052::DG80000000001::INSTR. Examples :SYSTem:COMMunicate:USB:INFormation? /*Queries the instrument's USB information. The query returns USB0::0x1AB1::0x052::DG80000000001::INSTR.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 187: System:error

    Default <bool> Bool {1|ON|0|OFF} 0|OFF Remarks • This instrument allows you to lock all knobs and keys on the front panel to avoid danger due to misoperation. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 188: System:language

    :SYSTem:LANGuage ENGLish /*Sets the system language to English.*/ :SYSTem:LANGuage? /*Queries the system language. The query returns ENGL.*/ 3.12.8 :SYSTem:LICense:CATalog? Syntax :SYSTem:LICense:CATalog? Description Queries the options currently activated. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 189: System:license:delete

    CHD: two-channel upgrade option (only for DG821 Pro). • MEM: memory depth upgrade option. For DG800 Pro series, the default memory depth is 2 Mpts/CH which can be upgraded to 8 Mpts/CH with the MEM option installed. For DG900 Pro series, the default memory depth is 16 Mpts/CH which can be upgraded to 32 Mpts/CH with the MEM option installed.
  • Page 190: System:license:delete:all

    To install the option, first purchase the required option to obtain the key, and then use the key to obtain the option license according to the following steps. http://www.rigol.com Log in to the RIGOL official website ( ), click SERVICE CENTRE > License Activation to enter the software license registration interface.
  • Page 191: System:license:install:udisk

    To install the option, first purchase the required option to obtain the key, and then use the key to obtain the option license according to the following steps. http://www.rigol.com Log in to the RIGOL official website ( ), click SERVICE CENTRE > License Activation to enter the software license registration interface.
  • Page 192: System:pstatus

    Command System Examples :SYSTem:LICense:INSTall:UDISk "USB:/rigol/license.lic" /*Installs the option using the "license.lic" file in the "rigol" folder of the USB storage device.*/ 3.12.13 :SYSTem:PSTatus Syntax power > :SYSTem:PSTatus < :SYSTem:PSTatus? Description Sets or queries the power status of the instrument. Parameter...
  • Page 193: System:touch

    Range Default <bool> Bool {0|1|OFF|ON} 0|OFF Remarks • 1/ON: enables the touch screen. • 0/OFF: disables the touch screen. Return Format The query returns 0 or 1. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 194: System:version

    It might return 1994.0.*/ 3.12.17 :SYSTem:ROSCillator:SOURce Syntax source > :SYSTem:ROSCillator:SOURce < :SYSTem:ROSCillator:SOURce? Description Sets or queries the system clock source. Parameter Name Type Range Default <source> Discrete {INTernal|EXTernal} INTernal DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 195: Trigger Commands

    Sets or queries the trigger count for the specified channel. Parameter Name Type Range Default <n> Discrete {1|2} <count> Integer 1 to 1000000 <lim_set> Discrete {MINimum|MAXimum|DEFault} <lim_query> Discrete {MINimum|MAXimum} Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 196: Trigger:Delay

    Internal trigger: 0 s to ( -⌈ ×N ÷6.4 ns⌉×6.4 ns -4 μs) , and no burst wave cycle greater than 20 s. : burst period burst DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 197: Trigger[:Immediate]

    • If the output of the corresponding channel is not enabled, the trigger will be ignored. Return Format None. Examples :TRIGger1:IMMediate /*Generates a trigger event in CH1.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 198: Trigger:Slope

    CH1. The query returns NEG.*/ 3.13.5 :TRIGger<n>:SOURce Syntax n >:SOURce < source > :TRIGger< n >:SOURce? :TRIGger< Description Sets or queries the trigger type for the specified channel. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 199: Trigger:Timer

    :TRIGger<n>:TIMer Syntax n >:TIMer {< timer >|< lim >} :TRIGger< n >:TIMer? [< lim >] :TRIGger< Description Sets or queries the trigger timer for the specified channel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 200 1.000000E+00, indicating that the trigger timer is 1 s. Examples :TRIGger1:TIMer 1 /*Sets the trigger timer to 1 s for CH1.*/ :TRIGger1:TIMer? /*Queries the trigger timer for CH1. The query returns 1.000000E+00.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 201: Application Examples

    Use the SCPI commands to realize the following functions: Output an arbitrary waveform (100 Hz frequency, 1 Vpp amplitude, 2 Vdc offset, and 3° start phase) from the CH1 output connector on the front panel. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 202: To Output Harmonic

    0° start phase); select internal modulation source; set the modulating waveform to Sine, the modulation depth to 80%, and the modulation frequency to 200 Hz; enable the DSSC function. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 203: To Output Fsk Modulated Waveform

    3 s, the return time to 0.1 s, the start frequency to 100 Hz, and the stop frequency to 1 kHz; enable the frequency mark function and set the mark frequency Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming...
  • Page 204: To Output A Burst Waveform

    :SOURce1:BURSt:STATe ON /*Enables the burst function for CH1.*/ :SOURce1:BURSt:MODE TRIGgered /*Sets the burst type to N-Cycle for CH1.*/ :TRIGger1:SOURce IMMediate /*Sets the trigger source to internal for CH1.*/ DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 205: To Use The Frequency Counter

    :COUNter:COUPling AC /*Sets the coupling mode of the input signal to AC coupling.*/ :COUNter:HF ON /*Enables the HF suppression function of the frequency counter.*/ :COUNter:RUN:STATe RUN /*Sets the operating status of the frequency counter to Run.*/ Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 206: Programming Examples

    1. Run LabVIEW, and then create a VI file named Demo_LABVIEW. 2. Add controls in the front panel interface, including the Address, Command, and Return field as well as the Connect, Write, Read, and Exit buttons. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 207 Programming Examples 3. Click Show Block Diagram in the Window menu to create event structure. 4. Add events, including connecting instrument, write operation, read operation, and exit. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 208 Programming Examples a. Connect the instrument (including error processing): DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 209 Programming Examples b. Write operation (including error judgment): Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 210 Programming Examples c. Read operation (including error processing): DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 211 Programming Examples d. Exit: Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 212 Write to write the command into the instrument. If the command is a query command, click Read and the returned value is displayed in the Return field. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 213: Visual Basic Programming Example

    4. Click Project > Project1 Properties to open the Project1 – Project Properties dialog box. In the dialog box, click on the General tab and select Form1 from the drop-down list under Startup Object. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 214: Visual C++ Programming Example

    C/C++ tab, select Code Generation from the drop-down list under Category. Choose Debug Multithreaded DLL from the drop-down list under Use run-time library. Click OK to close the dialog box. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 215 Select Library files from the drop-down list under Show directories for. Double click the empty space under Directories to enter the specified path of Library files: C:\Program Files\IVI Foundation\VISA\WinNT\lib\msc. Click OK to close the dialog box. Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 216 Open the Data item in the Combo Box attribute and input the following command *IDN? manually. c. Open the General item in the Edit Box attribute and select Disabled. d. Name Button as Send and Read. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...
  • Page 217 #include <visa.h> of the VISA library in the header file and then add the following codes: ViSession defaultRM, vi; char buf [256] = {0}; CString s,strTemp; char* stringTemp; ViChar buffer [VI_FIND_BUFLEN]; Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. DG800 Pro/DG900 Pro Programming Guide...
  • Page 218 PC, enter a command (for example, *IDN?) and click Send and Read to execute the command. Then, the reading results will be returned. DG800 Pro/DG900 Pro Programming Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved. Guide...

Table of Contents