The instrument will select a proper gate time automatically according to the characteristics of the signal under test after sending this command.
SCPI COMMAND REFERENCE
The Rigol DG2102 is Rigol's function/arbitrary waveform generator in the DG2000 Series family. Its SCPI remote-control interface exposes 136 commands across 13 subsystems - 117 settable and 19 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.
136
Commands
117
Settable
19
Queries
13
Subsystems
SCPI
Verified
2026-07-16
All commands
Sets the coupling mode of the input signal to AC or DC. Queries the coupling mode of the input signal.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | AC | DC | Coupling mode for the input signal. |
Selects the gate time of the measurement system. The query returns the current gate time setting.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | USER1 | USER2 | USER3 | USER4 | USER5 | USER6 | Gate time selection for the measurement system. |
Enables or disables the high frequency rejection function of the frequency counter. Queries the on/off status of the high frequency rejection function of the frequency counter.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables high frequency rejection. |
:COUN:HF ON /*Enables the high frequency rejection function of the frequency counter.*/ :COUN:HF? /*Queries the on/off status of the high frequency rejection function of the frequency counter and the query returns ON.*/
Sets the trigger level of the frequency counter. Queries the trigger level of the frequency counter.
| Name | Type | Values | Description |
|---|---|---|---|
| value | real | - | Trigger level value to set. |
| qualifieropt | enum | MINimum | MAXimum | Selects the minimum or maximum trigger level. |
Queries the measurement results of the frequency counter. When the counter is RUN or SINGLE, it returns the current measurement values; when STOP, it returns the last measurement.
1:COUN:MEAS? /*Queries the measurement results of the frequency counter and the query returns 2.000000000E+03,5.000000000E-04, 4.760800000E+01,2.380415000E-04,2.619585000E-04.*/
Sets the trigger sensitivity of the frequency counter. The query form returns the current trigger sensitivity.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | LOW | HIGh | Trigger sensitivity setting for the frequency counter. |
Sets or queries the status of the frequency counter. The setter accepts ON/OFF to enable or disable the function, or RUN/STOP/SINGLE to set the operating status when enabled.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | RUN | STOP | SINGLE | Frequency counter enable state or operating status. |
:COUN OFF /*Disables the frequency counter function.*/
Clears the statistics results for the frequency counter. It is only valid when the statistical function of the frequency counter is enabled; the results are cleared automatically when that function is disabled.
Enables or disables the statistical function of the measurement results of the frequency counter. Queries the on/off status of the statistical function of the measurement results of the frequency counter.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables the statistical function of the measurement results of the frequency counter. |
:COUN:STATI ON /*Enables the statistical function of the measurement results of the frequency counter.*/ :COUN:STATI? /*Queries the on/off status of the statistical function of the measurement results of the frequency counter and the query returns ON.*/
Sets the amplitude deviation in the amplitude coupling of the specified channel. Queries the amplitude deviation in the amplitude coupling of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; if omitted, CH1 is used by default. |
| deviation | real | -19.998 - 19.998 | Sets the amplitude deviation. |
:COUP1:AMPL:DEV 1 /*Sets the amplitude deviation in the amplitude coupling of CH1 to 1 Vpp.*/ :COUP1:AMPL:DEV? /*Queries the amplitude deviation in the amplitude coupling of CH1 and the query returns 1.000000E+00.*/
Sets the amplitude coupling mode of the specified channel to OFFSet (amplitude deviation) or RATio (amplitude ratio). Queries the selected amplitude coupling mode of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; when omitted, CH1 is used by default. |
| mode | enum | OFFSet | RATio | Selects amplitude coupling mode as offset (deviation) or ratio. |
:COUP1:AMPL:MODE OFFSet :COUP1:AMPL:MODE?
Sets or queries the amplitude ratio in the amplitude coupling of the specified channel. When amplitude coupling is disabled, sending the command can also switch the coupling mode to amplitude ratio.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Selects the channel; when omitted, CH1 is used by default. |
| <value> | real | 0.001 - 1000 | Amplitude ratio value to set. |
:COUP1:AMPL:RAT 1.123 :COUP1:AMPL:RAT?
Enables or disables the amplitude coupling function of the specified channel. The query returns the on/off status of the amplitude coupling function.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| state | enum | ON | 1 | OFF | 0 | Turns amplitude coupling on or off. |
:COUP1:AMPL ON /*Enables the amplitude coupling function of CH1.*/ :COUP1:AMPL? /*Queries the on/off status of the amplitude coupling function and the query returns ON.*/
Sets the frequency deviation in the frequency coupling of the specified channel. Queries the frequency deviation in the frequency coupling of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | |
| deviation | real | -99.999 999 999 9 MHz - 99.999 999 999 9 MHz |
Sets or queries the frequency coupling mode for the specified channel. The mode can be frequency deviation (OFFSet) or frequency ratio (RATio).
| Name | Type | Values | Description |
|---|---|---|---|
| <n>opt | discrete | 1 - 2 | Specifies the channel number. |
| mode | enum | OFFSet | RATio | Selects frequency deviation or frequency ratio mode. |
:COUP1:FREQ:DEV 100 /*Set the frequency deviation in the frequency coupling of CH1 to 100 Hz.*/ :COUP1:FREQ:DEV? /*Queries the frequency deviation in the frequency coupling of CH1 and the query returns 1.000000E+02.*/
Sets or queries the frequency ratio in the frequency coupling of the specified channel. The query returns the frequency ratio in scientific notation with 7 effective digits.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Selects the channel number; when omitted, CH1 is used by default. |
| <value> | real | 0.000 001 - 1 000 000 | Sets the frequency ratio. |
:COUP1:FREQ:RAT 100.123 /*Sets the frequency ratio in the frequency coupling of CH1 to 100.123.*/ :COUP1:FREQ:RAT? /*Queries the frequency ratio in the frequency coupling of CH1 and the query returns 1.001230E+02.*/
Enables or disables the frequency coupling function of the specified channel. Queries the on/off status of the frequency coupling function of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Channel number for the coupling settings. |
| state | enum | ON | 1 | OFF | 0 | Turns the frequency coupling function on or off. |
Sets the phase deviation in the phase coupling of the specified channel. Queries the phase deviation in the phase coupling of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 2 | Specifies the channel number; if omitted, CH1 is used by default. |
| deviation | real | -360° - 360° | Sets the phase deviation. |
Sets or queries the phase coupling mode of the specified channel. The mode selects phase deviation (OFFSet) or phase ratio (RATio); if <n> is omitted, CH1 is used by default.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Channel number. |
| mode | enum | OFFSet | RATio | Phase coupling mode. |
:COUP1:PHAS:MODE OFFS :COUP1:PHAS:MODE?
Sets the phase ratio in the phase coupling of the specified channel, and queries the phase ratio for that channel. When phase coupling is disabled, sending the command can also switch the mode to phase ratio if needed.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Channel number; if omitted, CH1 is used by default. |
| value | real | 0.01 - 100 | Phase ratio value to set. |
| qualifieropt | enum | MINimum | MAXimum | Use MINimum or MAXimum in place of a numeric value. |
:COUP1:PHAS:RAT 1.12 :COUP1:PHAS:RAT?
Enables or disables the phase coupling function of the specified channel. Queries the on/off status of the phase coupling function of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; when omitted, CH1 is used by default. |
| state | boolean | ON | 1 | OFF | 0 | Turns the phase coupling function on or off. |
:COUP1:PHAS:RAT 1.12 /*Sets the phase ratio in the phase coupling of CH1 to 1.12.*/ :COUP1:PHAS:RAT? /*Queries the phase ratio in the phase coupling of CH1 and the query returns 1.120000E+00.*/
Enables or disables the frequency coupling, phase coupling, and amplitude coupling of the specified channel at the same time. The query returns the on/off status of these coupling functions for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| <n>opt | discrete | 1 - 2 | Specifies the channel number; when omitted, CH1 is used by default. |
| state | enum | ON | 1 | OFF | 0 | Enables or disables coupling. |
:COUP1 ON :COUP1?
Enables or disables the trigger coupling function of the specified channel. Queries the on/off status of the trigger coupling function of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Specifies the channel number; when omitted, CH1 is used by default. |
| state | boolean | ON | 1 | OFF | 0 | Turns trigger coupling on or off. |
Sets the screen brightness. Queries the screen brightness.
| Name | Type | Values | Description |
|---|---|---|---|
| brightness | integer | 1% - 100% | Screen brightness level. |
:DISP:BRIG 51 :DISP:BRIG?
Enables the screen saver immediately without waiting.
Enables or disables the screen saver function. The query returns the current on/off status.
| Name | Type | Values | Description |
|---|---|---|---|
| state | boolean | ON | 1 | OFF | 0 | Turns the screen saver function on or off. |
:DISP:SAV OFF /*Disables the screen saver function.*/ :DISP:SAV? /*Queries the on/off status of the screen saver function and the query returns OFF.*/ :DISP:SAV 1 /*Enables the screen saver function.*/ :DISP:SAV? /*Queries the on/off status of the screen saver function and the query returns ON.*/
Queries the image of the front panel screen (screenshot).
Sets or queries the format of the returned screenshot image. The format can be BMP or PNG.
| Name | Type | Values | Description |
|---|---|---|---|
| format | enum | BMP | PNG | Sets the screenshot image format. |
:HCOP:SDUM:DATA:FORM BMP /*Sets the format of the returned image of the screenshot to BMP.*/ :HCOP:SDUM:DATA:FORM? /*Queries the format of the returned image of the screenshot and the query returns BMP.*/
Clears the event registers in all the register sets and clears the error queue.
Enables the bits in the standard event register to be reported to the status byte register. When set to 0, the command clears the enable register part of the standard event register.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | - | Decimal value corresponding to the binary-weighted sum of the bits to be reported to the status byte register in the standard event register. |
Queries the event register of the standard event register. The register is read-only and is cleared when you query it.
Queries the ID string of the instrument.
Sets the OPC (operation complete) bit in the standard event register to 1 after all previous commands are executed.
Enables or disables clearing of the status byte enable register and standard event enable register at power-on. Queries whether the affected registers are cleared at power-on.
| Name | Type | Values | Description |
|---|---|---|---|
| {0|1} | enum | 0 | 1 | Selects whether the status byte enable register and standard event enable register are cleared at power-on. |
*PSC 1 *PSC?
Recalls the state file stored in the specified internal non-volatile memory location. Valid storage locations are 0 to 5.
| Name | Type | Values | Description |
|---|---|---|---|
| location | discrete | 0 | 1 | 2 | 3 | 4 | 5 | Storage location number of the state file to recall. |
Restores the instrument to its factory default state. It is not affected by the :MEMory:STATe:RECall:AUTO command.
Stores the current instrument state in the specified storage location of the internal non-volatile memory with the default name.
| Name | Type | Values | Description |
|---|---|---|---|
| {0|1|2|3|4|5} | integer | 0 - 5 | Storage location number in internal memory. |
Enables bits in the status byte register to generate a service request, and the query reports the enabled bits as a decimal sum. A value of 0 clears the enable register.
| Name | Type | Values | Description |
|---|---|---|---|
| value | integer | - | Decimal value corresponding to the binary-weighted sum of the bits enabled in the status byte register. |
Queries the status register of the status byte register. It cannot clear the service request; bit6 (master summary bit) remains set while the service-request condition persists.
Triggers a sweep or a burst.
Executes any other command via the interface after all pending operations are completed. It is only applicable to triggered sweep mode or triggered burst mode and is used to ensure synchronization.
Enable or disable the multiple DNS system (mDNS). The query returns the current mDNS status.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables mDNS. |
:LXI:MDNS:ENAB ON /*Enable the multiple DNS system*/ :LXI:MDNS:ENAB? /*Query the status of the multiple DNS system and the query returns ON*/
Reset the LAN setting to the known operation state, beginning from DHCP. If DHCP fails, AutoIP is used.
Restart the LAN according to the current setting.
Queries the number of storage locations for state files in the instrument's internal non-volatile memory.
Queries the state files stored in the internal non-volatile memory of the instrument.
Deletes the state file stored in the specified location of the internal non-volatile memory of the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| location | discrete | 0 - 5 | Specifies the internal non-volatile memory location of the state file to delete. |
:MEM:STAT:DEL 1 /*Deletes the state file stored in location 1 of the internal non-volatile memory of the instrument.*/
Modifies the filename of the state file stored in the specified storage location of the instrument’s internal non-volatile memory. The query returns the filename of the state file in that storage location as a quoted string.
| Name | Type | Values | Description |
|---|---|---|---|
| location | enum | 0 | 1 | 2 | 3 | 4 | 5 | Specifies the storage location of the state file. |
| nameopt | string | - | Specifies the filename; if omitted, the filename is empty. |
:MEM:STAT:NAME 2,123 /*Modifies the filename of the state file stored in storage location 2 of the internal non-volatile memory of the instrument to 123.RSF.*/
Sets whether the instrument recalls the last system configuration or the factory default configuration at the next power-on. The query returns whether auto recall is ON or OFF.
| Name | Type | Values | Description |
|---|---|---|---|
| state | boolean | ON | 1 | OFF | 0 | Selects last configuration recall (ON or 1) or factory default recall (OFF or 0) at power-on. |
:MEM:STAT:RECall:AUTO ON :MEM:STAT:RECall:AUTO?
Queries whether a state file is found in the specified storage location of internal non-volatile memory.
| Name | Type | Values | Description |
|---|---|---|---|
| location | integer | 0 - 5 | Storage location index for the state file. |
Queries all the files and folders in the current directory. An optional <folder> may be provided as a valid directory in internal or external memory.
| Name | Type | Values | Description |
|---|---|---|---|
| folderopt | string | - | Valid directory in the internal or external memory, enclosed in double quotation marks. |
Queries the arbitrary waveform file and sequence file (*.RAF) under the current operation directory.
| Name | Type | Values | Description |
|---|---|---|---|
| folderopt | string | - | Valid directory in the internal or external memory, entered as a string in double quotation marks. |
:MMEM:CAT:DATA:ARB? /*Queries the arbitrary waveform file and sequence file in the external memory directory and the query returns 28672,4102361088,"80,,Rigol1.RAF".*/
Queries the state file under the current operation directory.
| Name | Type | Values | Description |
|---|---|---|---|
| folderopt | string | - | A valid directory in the internal or external memory, enclosed by double quotation marks. |
Sets the current directory. Queries the current directory.
| Name | Type | Values | Description |
|---|---|---|---|
| directory_name | string | - | A valid directory in the internal or external memory, enclosed by double quotation marks. |
Copies a file from the current directory to a specified directory. The destination directory must not be the current directory.
| Name | Type | Values | Description |
|---|---|---|---|
| directory_name | string | - | Destination directory. |
| file_name | string | - | Filename of the file under the current directory. |
Deletes the specified file or empty folder from the current directory.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename of the file or the folder name of the empty folder under the current directory. |
:MMEM:DEL " D:\Rigol1.RAF" /*Deletes the file Rigol1.RAF from the external memory (D:\).*/
Creates a file under the current directory.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename to create under the current directory. |
:MMEMory:DOWNload:FNAMe <file_name>
Loads binary data into the currently created file.
| Name | Type | Values | Description |
|---|---|---|---|
| binary_block | block | - | Binary data to load into the file. |
:MMEMory:DOWNload:DATA <binary_block>
Loads the specified state file or arbitrary waveform file under the current path.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | The filename of the state file or the arbitrary waveform file in the current directory. |
:MMEM:LOAD "Rigol0.RSF" /*Loads the file Rigol0.RSF from the external memory (D:\).*/
Loads the specified arbitrary waveform file and sequence file from the current directory into the specified channel. If the channel index is omitted, the file is loaded into CH1 by default.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Specifies CH1 or CH2 as the destination channel. |
| file_name | string | - | Filename of the arbitrary waveform file and sequence file in the current directory. |
*No examples provided in the slice for the exact mnemonic :MMEMory:LOAD:DATA*
Loads the specified state file from the current directory.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | The filename of the state file in the current directory. |
:MMEM:LOAD:STAT "D:\Rigol0.RSF" /*Loads the state file Rigol0.RSF from the external memory (D:\).*/
Creates a folder in the current directory with a specified name. This command is only applicable to the external memory.
| Name | Type | Values | Description |
|---|---|---|---|
| dir_name | string | - | Name of the folder to be created; must be a double-quoted string and no longer than 7 characters. |
:MMEM:MDIR "RIGOL1" /*Creates a folder named "RIGOL1" under the directory of Disk D.*/
Moves file 1 from the current directory to path 2.
| Name | Type | Values | Description |
|---|---|---|---|
| file1 | string | - | The file in the current directory; entered as a quoted ASCII string. |
| file2 | string | - | A valid directory in internal or external memory; entered as a quoted ASCII string. |
:MMEM:MOVE "D:\Rigol.RSF","D:\Rigol" /*Moves the file Rigol.RSF from the external memory directory to "D:\Rigol" (i.g. the Rigol folder in Disk D).*/
Queries the available disk drive.
Deletes the specified empty directory in the current path.
| Name | Type | Values | Description |
|---|---|---|---|
| folder | string | - | Folder name of the empty folder. |
:MMEM:RDIR "111"
Stores the current instrument state or the arbitrary waveform data of the current channel into the current directory in a state file or arbitrary waveform file with the specified name.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename of the specified state file or arbitrary waveform file. |
MMEM:STOR "R00.RSF"
Stores arbitrary waveform or sequence data of the specified channel into the current directory as an arbitrary waveform file or sequence file (*.RAF) with the specified name.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 | 2 | Specifies the channel whose arbitrary waveform or sequence data is stored. |
| file_name | string | - | Filename of the specified arbitrary waveform or sequence file. |
:MMEM:STOR:DATA "R11.RAF" /*Stores the arbitrary waveform data of the current channel into Disk D in arbitrary waveform file form with the filename R11.RAF.*/
Stores the current instrument state into the current directory in state file form with the specified filename.
| Name | Type | Values | Description |
|---|---|---|---|
| file_name | string | - | Filename of the specified state file, enclosed in double quotation marks, including the .RSF suffix. |
:MMEM:STOR:STAT "R22.RSF" /*Stores the current instrument state into Disk D in state file form with the filename R22.RSF.*/
Sets or queries the output impedance of the output connector of the specified channel. When set to INFinity, the output impedance is HighZ.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Channel number; when omitted, CH1 is used by default. |
| <ohms> | integer | 1 Ω - 10 kΩ | Specified output impedance value. |
| qualifieropt | enum | MINimum | MAXimum | Optional query qualifier to return the minimum or maximum output impedance. |
Sets or queries the output load of the specified channel. When set to INFinity, the output load is set to HighZ.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; if omitted, CH1 is used by default. |
| <ohms> | integer | 1 Ω - 10 kΩ | Sets the output load to a value within the available range. |
| qualifieropt | enum | MINimum | MAXimum | Requests the minimum or maximum load value. |
Sets the output polarity of the specified channel to normal or inverted. Queries the output polarity of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| <n>opt | discrete | 1 - 2 | Specifies the output channel number; omitted defaults to CH1. |
| mode | enum | NORMal | INVerted | Sets the output polarity to normal or inverted. |
no example explicitly shown for the exact long-form mnemonic
Enables or disables the output of the specified channel. Queries the output status of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | integer | 1 - 2 | Channel number; when omitted, CH1 is used by default. |
| state | enum | ON | 1 | OFF | 0 | Turns the output on or off. |
Sets the output polarity of the sync signal on the rear-panel [Sync/Ext Mod/Trig/FSK] connector of the specified channel to normal or inverted. Queries the output polarity of the sync signal for the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; if omitted, CH1 is used by default. |
| mode | enum | POSitive | NEGative | Sets the sync signal polarity to positive or negative. |
:OUTP1:SYNC:POL POS /*Sets the output polarity of the sync signal on the rear-panel [CH1/Sync/Ext Mod/Trig/FSK] connector to POSitive.*/ :OUTP1:SYNC:POL? /*Queries the output polarity of the sync signal on the rear-panel [CH1/Sync/Ext Mod/Trig/FSK] connector, and the query returns POS.*/
Enables or disables the sync signal output from the rear-panel [Sync/Ext Mod/Trig/FSK] connector of the specified channel. Queries the output status of the sync signal output from the rear-panel [Sync/Ext Mod/Trig/FSK] connector of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; when omitted, CH1 is used by default. |
| state | enum | ON | 1 | OFF | 0 | Enables or disables sync signal output. |
Sets the high level amplitude of the voltage limit. Queries the high level amplitude of the voltage limit.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Channel number; when omitted, CH1 is used by default. |
| amp | real | V | High level amplitude of the voltage limit. |
Sets the low level amplitude of the voltage limit, and queries the current low level limit value. When <n> is omitted, CH1 is used by default.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Channel number for the related output parameter set. |
| <amp> | real | V | Low level amplitude of the voltage limit. |
:OUTP1:VOLLimit:LOW /*Sets the low level amplitude of voltage limit of CH1 to -1 V.*/ :OUTP1:VOLLimit:LOW? /*Queries the low level amplitude of voltage limit of CH1 and returns -1.000000E+00.*/
Enables or disables the voltage limit. Queries the on/off status of the voltage limit.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Selects the output channel; when omitted, CH1 is used by default. |
| state | boolean | ON | 1 | OFF | 0 | Turns the voltage limit on or off. |
:OUTP1:VOLLimit? /*Queries the on/off status of the voltage limit of CH1 and the query returns OFF.*/ :OUTP1:VOLLimit ON /*Enables the voltage limit of CH1.*/ :OUTP1:VOLLimit? /*Queries the on/off status of the voltage limit of CH1 and the query returns ON.*/
Sets the system clock source to internal or external. If External is selected and no valid external clock is detected, the instrument switches back to Internal.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | Selects the system clock source. |
:ROSC:SOUR INT /*Sets the system clock source to Internal.*/
Queries the currently selected system clock source.
:ROSC:SOUR:CURR? /*Queries the currently selected system clock source and the query returns INT.*/
Sets or queries the specified source channel waveform application parameters. The query returns the waveform type plus the frequency, amplitude, offset, and phase of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the source channel number; if omitted, CH1 is used. |
:SOUR1:APPL? /*Queries the waveform type as well as the frequency, amplitude, offset, and phase of CH1; the query returns SQU,1.000000E+03,2.000000E+00,3.000000E+00,4.000000E+00".*/
Sets the burst type of the specified channel to N cycle, Infinite, or Gated. Queries the burst type of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Selects the channel; if omitted, CH1 is used by default. |
| mode | enum | TRIGgered | INFinity | GATed | Sets the burst type to N cycle, Infinite, or Gated. |
Sets the frequency of the specified channel; for this slice, the command is documented as the sweep function frequency center. When the channel selector is omitted, CH1 is used by default.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Selects the channel number. |
| <frequency> | real | - | Sets the sweep center frequency. |
| qualifieropt | enum | MINimum | MAXimum | Allows querying the minimum or maximum center frequency. |
[:SOURce[<n>]]:FREQuency:CENTer {<frequency>|MINimum|MAXimum}
[:SOURce[<n>]]:FREQuency:CENTer? [MINimum|MAXimum]Sets or queries the function of the specified source channel. The slice only provides this heading and a command list of related function subcommands; it does not document the parameters or return format for this command itself.
Sets or queries the harmonic function state for the specified channel. When queried, it returns the on/off status of the harmonic function.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>] | discrete | - | Channel number. |
| state | enum | ON | 1 | OFF | 0 | Enables or disables the harmonic function. |
:SOUR1:HARM ON :SOUR1:HARM?
Controls the marker function for the specified source channel. This slice lists the related marker frequency and marker state commands; the marker function can be enabled or disabled.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the source channel number. |
Sets or queries the AM modulation depth of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| depth | real | 0% - 120% | Sets the AM modulation depth. |
| qualifieropt | enum | MINimum | MAXimum | Query qualifier that returns the minimum or maximum AM modulation depth. |
:SOUR1:AM 50 /*Sets the AM modulation depth of CH1 to 50%.*/ :SOUR1:AM? /*Queries the AM modulation depth of CH1 and the query returns 5.000000E+01.*/
Sets the ASK modulation settings for the specified channel. This family includes amplitude, internal rate, polarity, source, and state commands.
Sets or queries the FM frequency deviation of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| deviation | real | Hz | FM frequency deviation to set. |
| qualifieropt | enum | MINimum | MAXimum | Optional query qualifier to return the minimum or maximum deviation. |
:SOUR1:FM 100 /*Sets the FM frequency deviation of CH1 to 100 Hz.*/ :SOUR1:FM? /*Queries the FM frequency deviation of CH1 and the query returns 1.000000E+02.*/
Enables or disables the FSK modulation function of the specified channel. Queries the on/off status of the FSK modulation function of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>] | discrete | 1 - 2 | Channel number. |
| state | boolean | ON | 1 | OFF | 0 | Turns FSK modulation on or off. |
:SOUR1:FSK:STAT ON :SOUR1:FSK:STAT?
Sets or queries the PM phase deviation of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| deviation | real | 0° - 360° | Sets the PM phase deviation. |
| qualifieropt | enum | MINimum | MAXimum | Selects the minimum or maximum phase deviation value. |
:SOUR1:PM 50 /*Sets the PM phase deviation of CH1 to 50°.*/ :SOUR1:PM? /*Queries the PM phase deviation of CH1 and the query returns 5.000000E+01.*/
Sets or queries the PSK modulation state of the specified channel. If omitted, CH1 is used by default.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>] | discrete | 1 - 2 | Channel number. |
Sets or queries the PWM modulation function of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
Sets or queries the modulation type of the specified channel. The query returns the current modulation type.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number; defaults to CH1 when omitted. |
| mode | enum | AM | FM | PM | ASK | FSK | PSK | PWM | Sets the modulation type. |
:SOUR1:MOD ON :SOUR1:MOD?
Sets or queries the waveform period of the specified channel. The period and frequency are reciprocal; if the requested period is below the valid limit, the instrument sets it to the lower limit.
| Name | Type | Values | Description |
|---|---|---|---|
| nopt | discrete | 1 - 2 | Specifies the source channel number. |
| period | real | - | Sets the waveform period. |
:SOUR1:PER 0.1 :SOUR1:PER?
Sets or queries the waveform start phase of the specified channel. The query returns the waveform start phase in scientific notation with 7 effective digits.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>] | discrete | 1 - 2 | Channel number to use; if omitted, CH1 is selected by default. |
| phase | real | 0° - 360° | Start phase of the waveform. |
| qualifieropt | enum | MINimum | MAXimum | Returns the minimum or maximum phase value when used with the query. |
[:SOURce[<n>]]:PHASe[:ADJust] {<phase>|MINimum|MAXimum}
[:SOURce[<n>]]:PHASe[:ADJust]? [MINimum|MAXimum]
:SOUR1:PHAS 10 /*Sets the start phase of CH1 to 10°.*/
:SOUR1:PHAS? /*Queries the start phase of CH1 and the query returns 1.000000E+01.*/Sets or queries the pulse duty cycle of the specified channel. The query returns the pulse duty cycle in scientific notation with 7 effective digits.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| <percent> | real | 0.001% - 99.999% | Pulse duty cycle as a percentage. |
| qualifieropt | enum | MINimum | MAXimum | Selects the minimum or maximum duty cycle value. |
:SOUR1:PULS:DCYC 45 /*Sets the pulse duty cycle of CH1 to 45%.*/ :SOUR1:PULS:DCYC? /*Queries the pulse duty cycle of CH1 and the query returns 4.500000E+01.*/
Enables or disables the waveform combine function of the specified channel. Queries the on/off status of the waveform combine function of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the source channel. |
| state | enum | ON | 1 | OFF | 0 | Turns waveform combine on or off. |
[:SOURce[<n>]]:SUM[:STATe] {ON|1|OFF|0}
[:SOURce[<n>]]:SUM[:STATe]?Sets or queries sweep settings for the specified channel, including sweep type, on/off state, timing, and step count. The source channel defaults to CH1 when <n> is omitted.
Downloads a waveform table to the DDRIII internal memory. The command consists of a command string and a binary data block; the <flag> indicates whether more data follows (CON) or this is the last package (END).
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Selects the source channel; when omitted, CH1 is used by default. |
| <flag> | enum | CON | END | Indicates whether additional data packages follow or the transmission ends. |
| <data> | block | 16Bytes (8pts) - 32kBytes (16kpts) | Binary waveform data to be downloaded. |
Sets the state of the track function of the specified channel to ON, OFF, or INVerted. The query returns the current track state.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| state | enum | ON | OFF | INVerted | Sets the track function state. |
:SOUR1:TRACK ON :SOUR1:TRACK?
Sets or queries the waveform voltage level of the specified channel. The slice shows this command as the parent node for amplitude, high, low, offset, and coupling-related voltage commands.
The beeper sounds immediately, ignoring the current on/off status.
:SYSTem:BEEPer[:IMMediate]
Turns on or off the beeper. Queries the on/off status of the beeper.
| Name | Type | Values | Description |
|---|---|---|---|
| {ON|1|OFF|0} | boolean | - | Beeper on/off state. |
SYST:BEEP:STAT 1 SYST:BEEP:STAT?
Selects the current channel. Queries the current channel.
| Name | Type | Values | Description |
|---|---|---|---|
| channel | enum | CH1 | CH2 | Selects the current channel. |
Queries the number of output channels of the instrument.
:SYST:CHAN:NUM? /*Queries the number of the output channels of the instrument and the query returns 2.*/
Sets or queries the GPIB address of the instrument. The address is an integer in the range 0 to 30, with default 2.
| Name | Type | Values | Description |
|---|---|---|---|
| integer | integer | 0 - 30 | GPIB address to set. |
:SYST:COMM:GPIB:ADDR 7 :SYST:COMM:GPIB:ADDR?
Applies the currently set network parameters. The new settings take effect only after this command is executed.
Enables or disables the AutoIP configuration mode. The new setting takes effect only after :SYSTem:COMMunicate:LAN:APPLy is executed.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables AutoIP configuration mode. |
:SYST:COMM:LAN:AUTO OFF /*Disables the AutoIP configuration mode.*/ :SYST:COMM:LAN:AUTO? /*Queries the status of the AutoIP configuration mode and the query returns OFF.*/
Reads the port number of the initial control connecting port for socket communication.
Enables or disables DHCP configuration mode. The query returns the current DHCP status.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables the DHCP configuration mode. |
:SYST:COMM:LAN:DHCP OFF /*Disables the DHCP configuration mode.*/ :SYST:COMM:LAN:DHCP? /*Queries the status of the DHCP configuration mode and the query returns OFF.*/
Sets the DNS address. Queries the DNS address.
| Name | Type | Values | Description |
|---|---|---|---|
| address | string | - | DNS address to set. |
Sets or queries the LAN domain name.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The specified domain name, up to 99 characters. |
:SYST:COMM:LAN:DOM RIGOL /*Set the domain name to RIGOL*/ :SYST:COMM:LAN:DOM? /*Query the domain name and the query returns RIGOL*/
Sets the default gateway. Queries the default gateway.
| Name | Type | Values | Description |
|---|---|---|---|
| address | string | - | Default gateway address in the form nnn.nnn.nnn.nnn. |
:SYST:COMM:LAN:GATE 192.168.1.1 /*Sets the default gateway to 192.168.1.1.*/ :SYST:COMM:LAN:GATE? /*Queries the default gateway and the query returns 192.168.1.1.*/
Sets the host name. Queries the host name.
| Name | Type | Values | Description |
|---|---|---|---|
| name | string | - | The specified host name, up to 99 characters, using English characters and numbers. |
:SYST:COMM:LAN:HOST RIGOL123 /*Set the host name to RIGOL123*/ :SYST:COMM:LAN:HOST? /*Query the host name and the query returns RIGOL123*/
Sets or queries the LAN IP address. The new setting only takes effect after :SYSTem:COMMunicate:LAN:APPLy is executed.
| Name | Type | Values | Description |
|---|---|---|---|
| ip_address | string | - | IP address in the format nnn.nnn.nnn.nnn. |
:SYST:COMM:LAN:IPAD 192.168.1.88 :SYST:COMM:LAN:IPAD?
Queries the MAC address of the instrument.
Sets the subnet mask for the LAN interface and queries the current subnet mask. The command is documented without additional parameter details on this page slice.
| Name | Type | Values | Description |
|---|---|---|---|
| mask | - | - |
Enables or disables the manual IP configuration mode. Queries the status of the manual IP configuration mode.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | ON | 1 | OFF | 0 | Enables or disables the manual IP configuration mode. |
:SYST:COMM:LAN:STAT ON /*Enables the ManualIP configuration mode.*/ :SYST:COMM:LAN:STAT? /*Queries the status of the ManualIP configuration mode and the query returns ON.*/
Store all modifications of the LAN setting to non-volatile memory and restart the LAN drive program using the updated setting.
Queries the USB information of the instrument.
Copies all parameters and states except the channel output state, and arbitrary waveform data, from one channel to the other. The two channel names must be different.
| Name | Type | Values | Description |
|---|---|---|---|
| name | enum | CH1 | CH2 | Channel name to copy from or to. |
| name | enum | CH1 | CH2 | Channel name to copy from or to. |
:SYST:CSC CH1,CH2 /*Copies all parameters and states (except the channel output state) and arbitrary waveform data of CH1 to CH2.*/
Queries and clears an error message from the error queue. The error is cleared when you read the queue; it can also be cleared by *CLS, *RST, or power cycling the instrument.
Locks or unlocks the specified key or the knob, and the query checks whether it is locked. The setting applies to front-panel keys and the knob.
| Name | Type | Values | Description |
|---|---|---|---|
| key | enum | HOME | SHIFT | SINE | SQUARE | RAMP | PULSE | NOISE | ARB | ALIGN | LEFT | RIGHT | KNOB | OUTPUt1 | OUTPUt2 | COUNTER | ALL | Specifies the key or knob to lock or unlock. |
| state | enum | ON | 1 | OFF | 0 | Locks or unlocks the specified key or knob. |
?
Sets the system language to English or Simplified Chinese. Queries the system language.
| Name | Type | Values | Description |
|---|---|---|---|
| language | enum | ENGLish | SCHinese | Selects the system language. |
:SYST:LANG SCH /*Sets the system language to Simplified Chinese.*/ :SYST:LANG? /*Queries the system language and the query returns SCH.*/
Enables or disables the system log. Queries the on/off status of the system log.
| Name | Type | Values | Description |
|---|---|---|---|
| stateopt | enum | ON | 1 | OFF | 0 | Enables or disables the system log. |
:SYST:LOG 1 /*Enables the system log.*/ :SYST:LOG? /*Queries the on/off status of the system log and the query returns ON*/
Sets the power-on state to Default (DEFault) or Last (LAST). Queries the power-on state.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | DEFault | LAST | Power-on state to use after startup. |
:SYST:POWeron DEF :SYST:POWeron?
Deletes the specified user-stored state file from the instrument's internal memory.
| Name | Type | Values | Description |
|---|---|---|---|
| state file | enum | USER1 | USER2 | USER3 | USER4 | USER5 | USER6 | USER7 | USER8 | USER9 | USER10 | Specifies which user-stored state file to delete. |
SYSTem:PRESet:DELete USER1
Restores the instrument to the default state or recalls a specified user-stored state file from internal memory.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | DEFault | USER1 | USER2 | USER3 | USER4 | USER5 | USER6 | USER7 | USER8 | USER9 | USER10 | Selects the default state or one of the stored user state files to recall. |
:SYSTem:PRESet:RECall DEFault :SYSTem:PRESet:RECall USER1
Saves the current system status to the specified user storage location in the internal memory of the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | USER1 | USER2 | USER3 | USER4 | USER5 | USER6 | USER7 | USER8 | USER9 | USER10 | Specifies the user storage location used to save the system status. |
:SYSTem:PRESet:SAVe USER1 /*Saves the system status to the user storage location 1 in the internal
notes":null}]}**}】</final>compat to=CommandEnrichment পৌঁছেছিল to=CommandEnrichment  ̄奇米影视assistant to=final 大发游戏官网{Queries user-defined 10 system status names.
Sets or queries the system clock source. Internal and external clock sources are supported.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | Clock source to use. |
Sets the burst delay of the specified channel and queries the burst delay of the specified channel. When <n> is omitted, CH1 is used by default.
| Name | Type | Values | Description |
|---|---|---|---|
| <n>opt | integer | 1 - 2 | Specifies the channel number. |
| seconds | real | 0 s - 100 s | Sets the burst delay. |
:TRIG:DEL 1 /*Sets the burst delay of CH1 to 1 s.*/ :TRIG:DEL? /*Queries the burst delay of CH1 and the query returns 1.000000E+00.*/
Generates a trigger on the specified channel. When <n> is omitted, CH1 is used by default.
| Name | Type | Values | Description |
|---|---|---|---|
| <n>opt | discrete | 1 | 2 | Channel number on which to generate the trigger. |
:TRIG1 /*Generates a trigger on CH1.*/
Sets the edge type of the trigger input signal of the specified channel to rising or falling. Queries the edge type of the trigger input signal of the specified channel.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | integer | 1 - 2 | Specifies the channel number. |
| polarity | enum | POSitive | NEGative | Selects rising or falling edge trigger polarity. |
:TRIG1:SLOP NEG /*Sets the edge type of the trigger input signal of CH1 to Falling edge.*/ :TRIG1:SLOP? /*Queries the edge type of the trigger input signal of CH1 and the query returns NEG.*/
Sets the trigger source of the specified channel to Internal, External, or Manual. The query returns the current trigger source as INT, EXT, or BUS.
| Name | Type | Values | Description |
|---|---|---|---|
| [<n>]opt | discrete | 1 - 2 | Specifies the channel number. |
| source | enum | INTernal | EXTernal | BUS | Selects the trigger source. |
:TRIG1:SOUR INT /*Sets the trigger source of CH1 to Internal.*/ :TRIG1:SOUR? /*Queries the trigger source of CH1 and the query returns INT.*/