/

Rigol

/

Rigol DG70004

SCPI COMMAND REFERENCE

Rigol DG70004

Rigol DG70004

The Rigol DG70004 is Rigol's function generator in the DG70000 Series family. Its SCPI remote-control interface exposes 283 commands across 14 subsystems - 218 settable and 65 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.

283

Commands

218

Settable

65

Queries

14

Subsystems

SCPI

3.0

Verified

2026-07-16

All commands

Queries the run state for the specified channel. If [:CHANnel[<n>]] or [<n>] is omitted, the command queries CH1 by default.

NameTypeValuesDescription
<n>optdiscrete1 | 2 | 3 | 4Channel number to query.
enum - The query returns the channel run state.
:AWGControl:CHANnel1:RSTate? /*Queries the run state of CH1. The
query returns RUN, indicating that CH1 is playing waveform.*/

Puts the specified channel in Run state. This is equivalent to pressing the RUN/STOP key on the front panel.

NameTypeValuesDescription
noptdiscrete1 - 4Channel number to put in Run state.
:AWGControl:CHANnel1:RUN /*Puts the CH1 in run state.*/

Stops the playout of a waveform or sequence in the specified channel.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4Channel number to use; if omitted, CH1 is selected by default.
:AWGControl:CHANnel1:RUN /*Puts the CH1 in run state.*/

Sets or queries whether the Sin filtering mode of the specified channel is enabled.

NameTypeValuesDescription
noptinteger1 - 4Channel number.
statusenum0 | 1 | OFF | ONEnables or disables the Sin filtering mode.
integer - The query returns 0 or 1.
:AWGControl:CHANnel1:SIN 1 /*Enables the filtering mode for CH1.*/
:AWGControl:CHANnel1:SIN? /*Queries whether the filtering mode of CH1 is enabled. The query returns 1.*/

Queries the number of channels available on the instrument.

integer - The number of channels available on the instrument.

Sets or queries the active strobe edge used for Pattern Jump. Rising edge and falling edge are the available choices.

NameTypeValuesDescription
edgeenumFALLing | RISingSelects the active Strobe Edge for Pattern Jump.
enum - Returns the current active strobe edge for Pattern Jump.
:AWGControl:PJUMp:SEDGe FALL /*Sets the pattern jump to occur on
the falling edge of the strobe signal.*/
:AWGControl:PJUMp:SEDGe? /*Queries the active Strobe Edge to use
for Pattern Jump. The query returns FALL.*/

:BWAVeform:AMPset / query

Sets or queries the Amplitude for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
ampreal20 mVpp - 2 VppAmplitude for the waveform created by the Basic Waveform editor.
string - The query returns the amplitude value in scientific notation.
:BWAVeform:AMP 1 /*Sets the Amplitude to 1 Vpp for the waveform created by the Basic Waveform editor.*/
:BWAVeform:AMP? /*Queries the Amplitude for the waveform created by the Basic Waveform editor. The query returns 1.0000000000E+00.*/
:BWAVeform:AUTOset / query

Sets or queries the Calculate setting in Basic Waveform editor, determining which waveform property is automatically calculated.

NameTypeValuesDescription
paramenumLEN | CYCLe | DUR | FREQ | SRATeSelects which waveform property is automatically calculated.

Initiates the compile operation in the Basic Waveform editor. The created waveform is added to the waveform list.

:BWAVeform:COMPile /*Compiles the basic waveform.*/

Sets whether the compiled basic waveform is assigned to the current waveform list entry. The query form is listed, but this slice does not document what it returns.

NameTypeValuesDescription
stateenum-Assignment state.

Sets or queries the playout channel intended for the compiled waveform of the Basic Waveform editor.

NameTypeValuesDescription
chanenumCH1 | CH2 | CH3 | CH4 | NONEPlayout channel intended for the compiled waveform.

Sets or queries the name of the waveform to be compiled in the Basic Waveform editor.

NameTypeValuesDescription
<name>string-Name of the waveform to compile and add to the waveform list.
string - The query returns the name of the compiled waveform.
:BWAVeform:COMPile:NAME Wave /*Sets the name of the compiled waveform to "Wave".*/
:BWAVeform:COMPile:NAME? /*Queries the name of the compiled waveform. The query returns "Wave".*/

Sets or queries whether to immediately play the waveform after compile or just compile.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONControls whether play after compile is enabled.
integer - The query returns 0 or 1.
:BWAVeform:COMPile:PLAY 1 /*Enables the play after compile function.*/
:BWAVeform:COMPile:PLAY? /*Queries whether the play after compile function is enabled. The query returns 1.*/
:BWAVeform:CYCLeset / query

Sets or queries the Cycles value, which is the number of times the waveform repeats for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
cyclereal0.007813 - 644245094.4Cycles value to use for waveform repetition.

Sets or queries the duration for the waveform created by the Basic Waveform editor. The command is available only when the wave type is set to DC or Noise (NOISe).

NameTypeValuesDescription
durationreal480 ns - 16,106,127.36 sDuration of the waveform created by the Basic Waveform editor.
real - Returns the duration in scientific notation.
:BWAVeform:DURation 0.000004 /*Sets the Duration to 4 μs. The default unit is s.*/
:BWAVeform:DURation? /*Queries the Duration. The query returns 4.00000000000000E-06.*/
:BWAVeform:DUTYset / query

Sets the duty value for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
dutyreal-

Sets or queries the frequency for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
frequencyreal1 μHz - 2 GHzFrequency of the waveform created by the Basic Waveform editor.

Sets or queries the type of the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
funcenumSINE | DC | SQUare | TRIangle | NOISe | SINC | SINIQWaveform type to set.
enum - Returns the waveform type as an abbreviated keyword.
:BWAVeform:FUNCtion DC /*Sets the waveform type to DC.*/
:BWAVeform:FUNCtion? /*Queries the waveform type. The query returns DC.*/
:BWAVeform:HIGHset / query

Sets or queries the High voltage value for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
highreal-1 V - 1 VHigh voltage value for the waveform.
real - Returns the High voltage value in scientific notation.
:BWAVeform:HIGH 0.3 /*Sets the High voltage value to 300 mV.*/
:BWAVeform:HIGH? /*Queries the High voltage value for the waveform created by the Basic Waveform editor. The query returns 3.0000000000E-01.*/

Sets or queries the high speed serial signal parameters. The commands require that the High Speed Serial editor is installed.

Sets or queries the high speed serial bit rate parameter for the Basic Waveform editor's High Speed Serial mode. The editor must have the High Speed Serial editor installed.

NameTypeValuesDescription
brate--

Compiles the high speed serial signal and adds it to the waveform list.

:BWAVeform:HSSerial:COMPile /*Compiles the high speed serial signal.*/

Sets the on/off status of the duty cycle distortion (DCD) function of the high speed serial signal, or queries whether DCD is enabled.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONEnables or disables the DCD function.

Sets or queries the duty cycle distortion (DCD) mode of the high speed serial signal.

NameTypeValuesDescription
modeenumCLASsical | F2DCD mode to use.
enum - Returns the current DCD mode.

Sets or queries the roll-off factor of the step response.

NameTypeValuesDescription
alphareal0 - 1Roll-off factor of the step response.
real - The query returns a real number indicating the roll-off factor.

Sets or queries the edge rise time of the high speed serial signal.

NameTypeValuesDescription
rtimereal0 - 1Edge rise time, expressed in unit intervals.
real (UI) - Returns the edge rise time as a real number in UI.
:BWAVeform:HSSerial:EDGE:RTIMe 0.5
:BWAVeform:HSSerial:EDGE:RTIMe?

Sets the edge shape of the high speed serial signal. The query version is listed but its return format is not documented in the provided slice.

NameTypeValuesDescription
typeenum-Edge shape type.

Sets or queries the edge time type of the high speed serial signal.

NameTypeValuesDescription
typeenum10T90 | 20T80Edge time type selection.

Sets or queries the on/off status of the Pre/De-Emphasis function. The query returns whether the function is enabled.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONEnables or disables the Pre/De-Emphasis function.
enum - Returns 0 or 1.
:BWAVeform:HSSerial:EMPHasis:ENABle ON /*Enables the Pre/De-Emphasis function.*/
:BWAVeform:HSSerial:EMPHasis:ENABle? /*Queries whether the Pre/De-Emphasis function is enabled. The query returns 1.*/

Sets or queries the post-cursor value of the high speed serial signal.

NameTypeValuesDescription
tapdiscrete1 | 2 | 3 | 4 | 5Selects the post-cursor tap from tap#+1 to tap#+5.
postcursorreal-20 - 20Sets the post-cursor value.
real (dB) - Returns the post-cursor value in dB.
:BWAVeform:HSSerial:EMPHasis:POSTcursor1:DB 10
:BWAVeform:HSSerial:EMPHasis:POSTcursor1:DB?

Sets or queries the pre-cursor value of a high speed serial signal.

NameTypeValuesDescription
tapenum1 | 2 | 3 | 4 | 5
real (dB) - The query returns the pre-cursor value as a real number.

Sets or queries the disparity of the 8B/10B encoding function.

NameTypeValuesDescription
disparityenumPOSitive | NEGativeDisparity setting for the 8B/10B encoding function.
enum - Returns POS or NEG.

Sets the on/off status of the 8B/10B encoding function, or queries whether it is enabled.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONTurns 8B/10B encoding on or off.
boolean - Returns whether the 8B/10B encoding function is enabled.
:BWAVeform:HSSerial:ENCode:B8B10:ENABle ON
:BWAVeform:HSSerial:ENCode:B8B10:ENABle?

Sets or queries the PAM type of the high speed serial signal.

NameTypeValuesDescription
typeenum-PAM type to set.

Sets or queries the PAM levels of the high speed serial signal. The number of levels depends on the selected PAM type.

NameTypeValuesDescription
level1real-1 - 1First PAM level value.
level2optreal-1 - 1Second PAM level value.
level3optreal-1 - 1Third PAM level value.
level4optreal-1 - 1Fourth PAM level value.
level5optreal-1 - 1Fifth PAM level value.
level6optreal-1 - 1Sixth PAM level value.
level7optreal-1 - 1Seventh PAM level value.
level8optreal-1 - 1Eighth PAM level value.
level9optreal-1 - 1Ninth PAM level value.
level10optreal-1 - 1Tenth PAM level value.
level11optreal-1 - 1Eleventh PAM level value.
level12optreal-1 - 1Twelfth PAM level value.
level13optreal-1 - 1Thirteenth PAM level value.
level14optreal-1 - 1Fourteenth PAM level value.
level15optreal-1 - 1Fifteenth PAM level value.
level16optreal-1 - 1Sixteenth PAM level value.

Sets the on/off status of the PWM modulation function, or queries whether the PWM function is enabled.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONOn/off state of the PWM modulation function.
:BWAVeform:HSSerial:ENCode:PWM:ENABle ON /*Enables the PWM function.*/
:BWAVeform:HSSerial:ENCode:PWM:ENABle? /*Queries whether the PWM function is enabled. The query returns 1.*/

Sets or queries the encoding type of the high speed serial signal.

NameTypeValuesDescription
typeenumNRZ | NRZI | RZ | RZPolar | PAMEncoding type.

Sets the file path and file type of the imported symbol file for high speed serial signal, or queries the file path.

NameTypeValuesDescription
pathstring-File path to the imported symbol file.
typeoptenumBIN | HEX | SYMBolFile type of the imported symbol file.
string - The query returns the file path as an ASCII string, for example, D:/Wave.txt.

Queries the type of the imported symbol file.

enum - Returns the imported symbol file type.
:BWAVeform:HSSerial:FILE:TYPE? /*Queries the type of the imported symbol file. The query returns BIN.*/

Sets or queries the high level of the high speed serial signal.

NameTypeValuesDescription
highreal-0.98 V - 1 VHigh level of the high speed serial signal.
real (V) - Returns the high level of the high speed serial signal.

Inverts the symbol level of the high speed serial signal, or queries whether it is inverted.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONSets whether the high speed serial signal symbol level is inverted.
integer - Returns 0 if the symbol level is not inverted and 1 if it is inverted.
:BWAVeform:HSSerial:INVert 1 /*Inverts the symbol level of high speed serial signal.*/
:BWAVeform:HSSerial:INVert? /*Queries whether the symbol level is inverted. The query returns 1.*/

Enables or queries inter-symbol interference (ISI) for the high speed serial waveform.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONSpecifies whether ISI is enabled or disabled.

Sets or queries the attenuation slope of intersymbol interference (ISI) for the high speed serial signal.

NameTypeValuesDescription
slopereal0 dB/100 MHz - 100 dB/100 MHz
real - The query returns a real number indicating the attenuation slope of ISI.

Sets whether the high speed serial signal keeps the maximum sample rate, or queries whether the maximum sample rate is kept. When Keep SR is selected, the sample rate is fixed to 5 GHz.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONEnables or disables keeping the maximum sample rate.
boolean - Returns whether the maximum sample rate is kept.
:BWAVeform:HSSerial:KMSRate 1
:BWAVeform:HSSerial:KMSRate?

Sets the waveform length to the maximum waveform length; or queries whether the waveform length is set to the maximum waveform length.

NameTypeValuesDescription
kmwlengthenum-Selects whether the waveform length is set to the maximum waveform length.
boolean - Returns whether the waveform length is set to the maximum waveform length.

Sets or queries the low level of the high speed serial signal.

NameTypeValuesDescription
lowreal-1 V - 0.98 VLow level of the high speed serial signal.
real (V) - Returns the low level as a real number.
:BWAVeform:HSSerial:LOW <low>
:BWAVeform:HSSerial:LOW?

Sets or queries the cutoff frequency of the low pass filter.

NameTypeValuesDescription
frequencyreal1/1000 of the current sample rate - 1.25 GHzCutoff frequency of the low pass filter.
real - The query returns the cutoff frequency in scientific notation.
:BWAVeform:HSSerial:LPASs:CUToff 1000000000 /*Sets the cutoff frequency of the low pass filter to 1 GHz.*/
:BWAVeform:HSSerial:LPASs:CUToff? /*Queries the cutoff frequency of the low pass filter. The query returns 1.00000000000000E+09.*/

Sets or queries the Q factor of the second order filter.

NameTypeValuesDescription
qreal0.01 - 1000Q factor of the second order filter.
real - Returns the Q factor value.

Sets or queries the low pass filter type of the high speed serial signal.

NameTypeValuesDescription
typeenumBRICkwall | FIRStorder | SECondorderLow pass filter type to use.
enum - The query returns BRIC, FIRS, or SEC.
:BWAVeform:HSSerial:LPASs:TYPE FIRStorder /*Sets the low pass
:BWAVeform:HSSerial:LPASs:TYPE? /*Queries the low pass

Sets the high speed serial waveform mode. The slice shows only the setter syntax for this command.

NameTypeValuesDescription
mode--

Sets or queries the Gaussian noise crest factor of the high speed serial signal.

NameTypeValuesDescription
crestfactorreal-60 dB - 20 dBGaussian noise crest factor to set.
real - Returns the Gaussian noise crest factor as a real number.
:BWAVeform:HSSerial:NOISe:CREStfactor 6 /*Sets the Gaussian noise crest factor to 6 dB.*/

Sets the on/off status of the Gaussian noise of high speed serial signal, or queries whether it is enabled.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONOn/off status of the Gaussian noise.
boolean - The query returns 0 or 1, indicating whether the Gaussian noise is enabled.
:BWAVeform:HSSerial:NOISe:ENABle 1 /*Enables the Gaussian noise.*/
:BWAVeform:HSSerial:NOISe:ENABle? /*Queries whether the Gaussian noise is enabled. The query returns 1.*/

Sets or queries the user-defined pattern and the input type for the high speed serial signal.

NameTypeValuesDescription
patternstring-User-defined pattern string.
typeoptenumBIN | HEX | SYMBolInput type for the pattern: binary, hexadecimal, or symbol.

Queries the input type of the user-defined pattern of high speed serial signal.

enum - Returns the input type of the user-defined pattern.
:BWAVeform:HSSerial:PATTern:TYPE? /*Queries the input type of the user-defined pattern. The query might return BIN.*/

Sets or queries the magnitude of the specified periodic jitter.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Specifies which periodic jitter instance is addressed.
magnitudereal0 - 10Sets the periodic jitter magnitude in unit intervals peak-to-peak.
real (UIpp) - Returns the specified periodic jitter magnitude.

Injects the specified periodic jitter into the high speed serial signal, or queries whether the specified periodic jitter is injected.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
stateboolean0 | 1 | OFF | ON
boolean - The query returns 0 or 1.
:BWAVeform:HSSerial:PJITter1:ENABle ON /*Injects periodic jitter 1.*/
:BWAVeform:HSSerial:PJITter1:ENABle /*Queries whether periodic jitter 1 is injected. The query returns 1.*/

Sets or queries the frequency of the specified periodic jitter.

NameTypeValuesDescription
ndiscrete1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Specifies which periodic jitter instance to access.
frequencyreal1 Hz - 1 GHzSets the frequency of the specified periodic jitter.
real - The query returns the frequency of the specified periodic jitter in scientific notation.
:BWAVeform:HSSerial:PJITter1:FREQuency 50000 /*Sets the frequency of periodic jitter 1 to 50 kHz.*/
:BWAVeform:HSSerial:PJITter1:FREQuency? /*Queries the frequency of periodic jitter 1. The query returns 5.00000000000000E+04.*/

Sets or queries the phase of the specified periodic jitter.

NameTypeValuesDescription
nenum1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10Specifies which periodic jitter instance to access.
phasereal-Phase of the specified periodic jitter.

Sets or queries the PRBS mode of the high speed serial signal. Only when :BWAVeform:HSSerial:MODE is set to PRBS can this command be used to select a specified PRBS mode or USER.

NameTypeValuesDescription
prbsenumPRBS7 | PRBS9 | PRBS10 | PRBS11 | PRBS13 | PRBS15 | PRBS16 | PRBS20 | PRBS23 | PRBS29 | PRBS31 | USERPRBS mode to set.
enum - Returns the current PRBS mode.
:BWAVeform:HSSerial:PRBS PRBS11
:BWAVeform:HSSerial:PRBS?

Sets or queries the polynomial expression of the user-defined PRBS of the high speed serial signal.

NameTypeValuesDescription
polynomialstring-Polynomial expression for the user-defined PRBS.
string - The query returns the PRBS polynomial expression, for example X9+X4+1.
:BWAVeform:HSSerial:PRBS:POLYnomial X9+X4+1 /*Sets the PRBS polynomial expression to X9+X4+1.*/
:BWAVeform:HSSerial:PRBS:POLYnomial? /*Queries the PRBS polynomial expression. The query returns X9+X4+1.*/

Sets the PRBS shift register initial value and type, or queries the PRBS shift register initial value.

NameTypeValuesDescription
valuestring-PRBS shift register initial value.
typeoptstring-PRBS shift register type.
string - Returns the PRBS shift register initial value.
:BWAVeform:HSSerial:PRBS:RINitial <value>[,<type>]
:BWAVeform:HSSerial:PRBS:RINitial?

Queries the PRBS shift register initial value type of the high speed serial signal.

enum - Returns the PRBS shift register initial value type.
:BWAVeform:HSSerial:PRBS:RINitial:TYPE? /*Queries the PRBS shift register initial value type. The query might return BIN.*/

Resets the high speed serial waveform settings. The manual slice provides no further detail.

Sets the on/off status of the random jitter of high speed serial signal; or queries whether the random jitter is enabled.

NameTypeValuesDescription
stateboolean0 | 1 | OFF | ONOn/off state of random jitter.
boolean - Returns whether the random jitter is enabled as 0 or 1.
:BWAVeform:HSSerial:RJITter:ENABle 1 /*Enables the random jitter.*/
:BWAVeform:HSSerial:RJITter:ENABle? /*Queries whether the random jitter is enabled. The query returns 1.*/

Sets or queries the bandwidth of the specified random jitter.

NameTypeValuesDescription
ndiscrete1 | 2 | 3Specifies which random jitter source is addressed.
bandwidthreal1 Hz - 1 GHzSets the bandwidth.
real - Returns the bandwidth of the specified random jitter in scientific notation.
BWAVeform:HSSerial:RJITter1:BANDwidth 500000000 /*Sets the bandwidth of random jitter 1 to 500 MHz.*/
BWAVeform:HSSerial:RJITter1:BANDwidth? /*Queries the bandwidth of random jitter 1. The query returns 5.00000000000000E+08.*/

Sets or queries the magnitude of the specified random jitter.

NameTypeValuesDescription
ndiscrete1 | 2 | 3
magnitudereal0 - 100Random jitter magnitude.
real (UIrms) - The query returns the jitter magnitude in UIrms.
:BWAVeform:HSSerial:RJITter1:MAGNitude 6
:BWAVeform:HSSerial:RJITter1:MAGNitude?

Injects the specified random jitter into the high speed serial signal, or queries whether the specified random jitter is injected.

NameTypeValuesDescription
ndiscrete1 | 2 | 3Specifies which random jitter instance to use.
stateboolean0 | 1 | OFF | ONEnables or disables random jitter injection.
:BWAVeform:HSSerial:RJITter1:ENABle ON /*Enables random jitter 1.*/
:BWAVeform:HSSerial:RJITter1:ENABle? /*Queries whether random jitter 1 is enabled. The query returns 1.*/

Sets or queries the scrambling polynomial expression of the high speed serial signal.

NameTypeValuesDescription
polynomialstring-Scrambling polynomial expression.

Sets the scrambling register initial value and initial value type, or queries the register initial value.

NameTypeValuesDescription
valuestring-Initial register value as an ASCII string.
typeoptenumBIN | HEXInitial value type: binary or hexadecimal.
string - The query returns the scrambling register initial value.
:BWAVeform:HSSerial:SCRamble:RINitial 7D,HEX /*Sets the scrambling register initial value to 7D and the type to hexadecimal.*/
:BWAVeform:HSSerial:SCRamble:RINitial? /*Queries the scrambling register initial value. The query returns 7D.*/

Sets or queries the scrambling type of the high speed serial signal.

NameTypeValuesDescription
typeenumADDitive | MULTiplicativeScrambling type to set.
enum - The query returns ADD or MULT.
:BWAVeform:HSSerial:SCRamble:TYPE ADDitive /*Sets the scrambling type to additive.*/
:BWAVeform:HSSerial:SCRamble:TYPE? /*Queries the scrambling type. The query returns ADD.*/

Sets or queries the sequence length of high speed serial signal.

NameTypeValuesDescription
lengthinteger100 Bits - 1,500,000,000 Bits
string - The query returns the sequence length in scientific notation.
:BWAVeform:HSSerial:SEQuence:LENGth 1000 /*Sets the sequence length to 1000 Bits.*/
:BWAVeform:HSSerial:SEQuence:LENGth? /*Queries the sequence length. The query returns 1.0000000000E+03.*/

Sets or queries the PRBS sequence shift of the high speed serial signal.

NameTypeValuesDescription
shiftreal-1,500,000,000 Bits - 1,500,000,000 Bits

Sets the on/off status of the single tone noise of high speed serial signal, or queries whether the single tone noise is enabled.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONEnables or disables the single tone noise.
enum - Returns 0 or 1 indicating whether the single tone noise is enabled.
:BWAVeform:HSSerial:SNOise:ENABle ON
:BWAVeform:HSSerial:SNOise:ENABle?

Sets or queries the single tone noise frequency of high speed serial signal.

NameTypeValuesDescription
frequencyreal10 Hz - 1.25 GHzSingle tone noise frequency to set.
real - The query returns the single tone noise frequency in scientific notation.
:BWAVeform:HSSerial:SNOise:FREQuency 100000 /*Sets the single tone
noise frequency to 100 kHz.*/
:BWAVeform:HSSerial:SNOise:FREQuency? /*Queries the single tone
noise frequency. The query returns 1.00000000000000E+05.*/

Queries the sample rate of the high speed serial signal.

real - The sample rate in scientific notation, for example 5.0000000000E+09 indicating 5 GSa/s.
:BWAVeform:HSSerial:SRATe? /*Queries the sample rate of high speed serial signal. The query might return 5.0000000000E+09.*/

Sets the SSC deviation for high speed serial waveform generation, or queries the current deviation. The value is expressed as a percentage of the deviation from low level to high level.

NameTypeValuesDescription
deviationreal0 - 100SSC deviation as a percentage.
real - Returns the SSC deviation as a real number.

Sets the on/off status of the spread spectrum clock (SSC) function, or queries whether SSC is enabled.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONEnables or disables the SSC function.
enum - Returns whether the SSC function is enabled.

Sets or queries the SSC shape of the high speed serial signal.

NameTypeValuesDescription
shapeenumSINE | SQUare | TRIangleSelects the SSC waveform shape.
enum - Returns the current SSC shape.
:BWAVeform:HSSerial:SSC:SHAPe SINE /*Sets the SSC shape to Sine.*/
:BWAVeform:HSSerial:SSC:SHAPe? /*Queries the SSC shape. The query returns SINE.*/

Sets or queries the symmetry of the SSC triangle wave for the high speed serial signal.

NameTypeValuesDescription
symmetryreal0% - 100%Symmetry of the SSC triangle wave.
real - Returns the SSC symmetry as a real number.

Queries the waveform length of the high speed serial signal. The query returns the waveform length in scientific notation.

real - Returns the waveform length in scientific notation; for example, 2.4200000000E+03 indicates a waveform length of 2.42k bits.
:BWAVeform:HSSerial:WLENgth? /*Queries the waveform length of high speed serial signal. The query might return 2.4200000000E+03.*/

Sets or queries the maximum length of the high speed serial signal. The setter accepts a real length value from 1 MSamples to 1.5 GSamples, defaulting to 1 GSamples.

NameTypeValuesDescription
lengthreal1 MSamples - 1.5 GSamplesMaximum waveform length to set.

Sets or queries the Length for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
<length>integer2400 - 1610612736Length of the waveform created by the Basic Waveform editor.
numeric - The query returns the Length value in scientific notation.
:BWAVeform:LENGth 15000 /*Sets the Length to 15000.*/
:BWAVeform:LENGth? /*Queries the Length for the waveform created by
the Basic Waveform editor. The query returns 1.5000000000E+04.*/

Sets the loop width for the waveform created by the Basic Waveform editor. The value limits the waveform length of high speed serial signal, which must be less than or equal to this maximum value.

NameTypeValuesDescription
loopwidth--
:BWAVeform:LOWset / query

Sets or queries the Low voltage value for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
lowreal-1 - 1Low voltage value for the waveform.
:BWAVeform:MTONeset / query

Sets or queries multitone waveform parameters. The command requires the Multitone & Chirp mode option to be installed.

Compiles the multitone waveform and adds it to the waveform list.

:BWAVeform:MTONe:COMPile /*Compiles the multitone waveform.*/

Sets or queries the multitone waveform count parameter for the Basic Waveform editor's multitone waveform. The command is available only when the Multitone & Chirp mode option is installed.

NameTypeValuesDescription
cntinteger-Count value to set for the multitone waveform.

Sets or queries the End Frequency in Tones mode.

NameTypeValuesDescription
freqreal2 kHz - 2 GHzEnd frequency value in Tones mode.
real - The query returns the End Frequency value.

Sets or queries the frequency sweep in Chirp mode.

NameTypeValuesDescription
fstypeenumLTHigh | HTLowSelects the frequency sweep direction within the sweep time.
enum - Returns the current frequency sweep setting as LTH or HTL.
:BWAVeform:MTONe:FSTYpe HTLow /*Sets the frequency sweep to High
to Low.*/
:BWAVeform:MTONe:FSTYpe? /*Queries the frequency sweep. The query
returns HTL.*/

Sets or queries the high frequency in Chirp mode.

NameTypeValuesDescription
freqreal-High frequency value.

Sets or queries the Low Frequency in Chirp mode.

NameTypeValuesDescription
freqreal1 Hz - 1.999999999 GHzLow frequency setting for Chirp mode.
real - The query returns the low frequency value in scientific notation.
:BWAVeform:MTONe:LFReq <freq>
:BWAVeform:MTONe:LFReq?

Sets or queries the Phase in Tones mode.

NameTypeValuesDescription
phasereal0° - 360°Phase value in Tones mode.
real - Returns the phase as a real number, for example 90.000000.
:BWAVeform:MTONe:PHASe 90
:BWAVeform:MTONe:PHASe?

Sets or queries the Start Frequency in Tones mode.

NameTypeValuesDescription
freqreal-Start frequency in Tones mode.

Sets or queries the spacing between tones in Tones mode.

NameTypeValuesDescription
spacingreal1 kHz - 1.999999 GHzSpacing between tones.
real - The query returns a real number indicating the spacing.
::BWAVeform:MTONe:SPACing <spacing>
::BWAVeform:MTONe:SPACing?

Sets or queries the Sample Rate of the Multitone signal. The query returns the value in scientific notation.

NameTypeValuesDescription
sample_ratereal5 kSa/s - 5 GSa/sSample rate to set for the Multitone signal.
real (Sa/s) - Returns the sample rate in scientific notation.
:BWAVeform:MTONe:SRATe:RATE 3000000000 /*Sets the Sample Rate to 3 GSa/s. The default unit is Sa/s.*/
:BWAVeform:MTONe:SRATe:RATE? /*Queries the Sample Rate. The query returns 3.0000000000E+09.*/

Sets the Sweep Rate in Chirp mode. The sweep time and sweep rate are mutually constrained, and their values cannot exceed the specified range.

NameTypeValuesDescription
sweep_ratereal0 - 4Sweep rate value.

Sets or queries the Sweep Time in Chirp mode.

NameTypeValuesDescription
sweep_timereal500 ns - 322122.5472 sSweep time value.
real - The query returns the sweep time value in scientific notation.
:BWAVeform:MTONe:SWETime 1 / *Sets the Sweep Time to 1 s.*/
:BWAVeform:MTONe:SWETime? /*Queries the Sweep Time. The query returns 1.0000000000E+00.*/

Sets the MTONe waveform type in Chirp mode.

NameTypeValuesDescription
typeenum-Waveform type to select.

Sets or queries the Offset for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
offsetreal-1 - 1Offset voltage to set for the waveform.

Sets or queries whether the "Overwrite existing waveform" function is enabled.

NameTypeValuesDescription
stateenum0 | 1 | ON | OFFEnables or disables overwriting an existing waveform of the same name.
enum - Returns 0 or 1 indicating whether overwrite mode is enabled.
:BWAVeform:OVERwrite 1 /*Enables the created waveform to overwrite an existing waveform.*/
:BWAVeform:OVERwrite? /*Queries whether or not the created waveform overwrites an existing waveform. The query returns 1.*/

Sets the peak position for the waveform. The query form is listed, but this slice does not document its return value.

NameTypeValuesDescription
peakpos--
:BWAVeform:PHASeset / query

Sets or queries the phase for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
phasereal0o - 360oPhase of the waveform.
real - The query returns the phase as a real number, such as 94.200000.
:BWAVeform:RESetset / query

Resets all parameters in the Basic Waveform editor to their default values.

:BWAVeform:RESet /*Sets all parameters in Basic Waveform editor to default values.*/
:BWAVeform:SRATeset / query

Sets or queries the sample rate for the waveform created by the Basic Waveform editor.

NameTypeValuesDescription
sample_ratereal100 Sa/s - 5 GSa/sSample rate for the waveform created by the Basic Waveform editor.
:BWAVeform:SYMMset / query

Sets or queries the symmetry for the waveform (Triangle) created by the Basic Waveform editor.

NameTypeValuesDescription
symmreal0% - 100%Symmetry value for the waveform.
real - Returns the symmetry as a real number.
:BWAVeform:SYMM 42.3 /*Sets the Symmetry to 42.3%.*/
:BWAVeform:SYMM? /*Queries the Symmetry. The query returns
42.300000.*/

Converts the editing mode to Table Editor mode for the specified waveform.

NameTypeValuesDescription
edit--The waveform editing mode to convert to Table Editor mode.

Sets or queries the divider rate for the external clock.

NameTypeValuesDescription
divinteger-Divider value for the external clock; it is 2n, where n depends on the external sample clock frequency.
integer - Returns the divider rate as an integer.

Sets or queries the expected frequency of the external clock.

NameTypeValuesDescription
<freq>real2.5 GHz - 6 GHzExpected frequency of the external clock.
real - The query returns the frequency in scientific notation.
:CLOCk:ECLock:FREQuency 3500000000
:CLOCk:ECLock:FREQuency?

Sets or queries the expected frequency of the external reference clock. It is valid only when the clock source is set to external variable reference clock (EVARiable).

NameTypeValuesDescription
freqreal35 MHz - 150 MHzExpected external reference clock frequency.
real - The query returns the expected frequency in scientific notation.
:CLOCk:EREFerence:FREQuency 100000000 /*Sets the expected frequency
:CLOCk:EREFerence:FREQuency? /*Queries the expected frequency of

Detects the frequency of the external reference clock. The frequency is detected once each time the command executes; an error is generated if no frequency is detected or if it is out of range.

real - The frequency of the external reference clock in scientific notation.
:CLOCk:EREFerence:FREQuency:DETect? /*Queries the frequency of the external reference clock. The query might return 1.0000000000E+08.*/

Sets or queries whether the internal clock frequency is within the frequency band in IQ mode.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONWhether the internal clock frequency is within the frequency band in IQ mode.

Queries the frequency of the Sample Clock Output.

real (Hz) - Returns the Sample Clock Output frequency in scientific notation.
:CLOCk:OUTPut:FREQuency? /*Queries the frequency of the Sample Clock Output. The query returns 3.5000000000E+09.*/

Sets the Sample Clock Output state.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONTurns the Sample Clock Output off or on.
:CLOCk:SOURceset / query

Sets or queries the current source of the clock.

NameTypeValuesDescription
sourceenumINTernal | EXTernal | EFIXed | EVARiableCurrent source of the clock.

Sets or queries the on/off state of the Sync Clock Out output.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONOn/off state of the Sync Clock Out output.
integer - The query returns 0 or 1.
:CLOCk:SOUT:STATe 1 /*Enables the Sync Clock Out output.*/
:CLOCk:SOUT:STATe? /*Queries the on/off state of the Sync Clock Out
output. The query returns 1.*/
:CLOCk:SRATeset / query

Sets or queries the sample rate for the clock.

NameTypeValuesDescription
rateinteger100 Sa/s - 5 GSa/sSample rate for the clock.
numeric (Sa/s) - The query returns the sample rate in scientific notation.
:CLOCk:SRATe 3000000000 /*Sets the clock sample rate to 3 GSa/s.*/
:CLOCk:SRATe? /*Queries the clock sample rate. The query returns 3.0000000000E+09.*/

Sets or queries the clock source in AFG mode.

NameTypeValuesDescription
sourceenumINTernal | EXTernalClock source to use.
enum - The query returns INT or EXT.

Queries the data stream of the current screen image.

NameTypeValuesDescription
typeopt--

*CLSset / query

Clears all event registers and error queues.

*ESEset / query

Sets the Standard Event Status Enable Register mask. The query form is listed, but this slice does not document its return value.

NameTypeValuesDescription
maskargumentinteger0 - 255Standard Event Status Enable Register mask.
*ESR?query

Queries the decimal value of the binary-weighted sum of all bits in the Standard Event register and clears the register. The register is read-only and latched; querying it clears the stored event bits.

integer - Decimal value of the binary-weighted sum of all bits in the Standard Event register.
*IDN?query

Queries the instrument's identification string.

string - Returns the string in the format RIGOL TECHNOLOGIES,<model>,<serial number>,<software version>.
*OPCset / query

Sets the OPC (bit 0, "Operation Complete") of the Standard Event register to 1 after all commands are executed.

*RCLset / query

Recalls a previously stored value saved by the *SAV command from the specified location.

*RSTset / query

Resets the instrument to its power-on default state.

*SREset / query

Sets or queries the bits in the enable register of the Status Byte register.

NameTypeValuesDescription
maskargumentinteger0 - 255Decimal value corresponding to the binary-weighted sum of the bits to be enabled in the Status Byte register.
integer - Returns the current value of the enable register of the Status Byte register.
*STB?query

Queries the bits in the event register of the Status Byte register.

integer - Returns a decimal value corresponding to the binary-weighted sum of all bits in the register.

Sets the coupled source selection for the instrument. The query form returns the current coupled source settings.

NameTypeValuesDescription
value1--
value2opt--
value3opt--
value4opt--
returns
:INSTrument:MODEset / query

Sets or queries the operation mode of the generator. The mode can be AWG or AFG.

NameTypeValuesDescription
modeenumAWG | AFGOperation mode of the generator.
enum - Returns the present operation mode.

:LAN:APPLyset / query

Applies the network settings.

:LAN:APPLy /*Applies the current network configuration.*/
:LAN:AUToipset / query

Sets or queries the on/off state of Auto IP.

NameTypeValuesDescription
boolboolean-On/off state of Auto IP.
:LAN:DESCriptionset / query

Sets or queries the instrument description.

NameTypeValuesDescription
namestring-The instrument description string; may contain English letters and numbers as well as some symbols.
string - Returns the instrument description.
:LAN:DHCPset / query

Sets or queries the on/off state of DHCP. When DHCP is turned on, it automatically assigns an IP address to the instrument from a DHCP server.

NameTypeValuesDescription
<bool>boolean0 | 1 | OFF | ONEnables or disables DHCP.
enum - Returns the DHCP on/off state as 0 or 1.
:LAN:DHCP OFF /*Disables the DHCP mode.*/
:LAN:DHCP? /*Queries the on/off state of DHCP. The query returns 0.*/
:LAN:DNSset / query

Sets or queries the DNS server address for the LAN configuration.

NameTypeValuesDescription
stringstring-DNS server address.

Queries the DHCP server address.

string - The DHCP server address in string.
:LAN:GATewayset / query

Sets or queries the gateway.

NameTypeValuesDescription
stringstring-Gateway address in nnn.nnn.nnn.nnn format.
string - The query returns the gateway in string format, for example 192.168.1.1.
:LAN:GATeway 192.168.1.1 /*Sets the gateway to 192.168.1.1.*/
:LAN:GATeway? /*Queries the gateway. The query returns
192.168.1.1.*/
:LAN:GPIBset / query

Sets or queries the instrument's GPIB address.

NameTypeValuesDescription
adrinteger1 - 30
:LAN:HOST:NAMEset / query

Sets or queries the host name.

NameTypeValuesDescription
namestring-The host name as an ASCII string containing English letters and numbers, as well as some symbols.
string - The query returns the host name in ASCII string.
:LAN:IPADdressset / query

Sets or queries the LAN IP address.

NameTypeValuesDescription
stringstring-

Queries the instrument's MAC address.

string - The query returns the MAC address as a string, for example, f6:e6:b4:c0:7f:62. For an instrument, the MAC address is always unique.
:LAN:MAC? /*Queries the instrument's MAC address.*/
:LAN:MANualset / query

Sets or queries the on/off state of Static IP.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables Static IP.
enum - The query returns 0 or 1.
:LAN:MANual ON /*Turns on Static IP.*/
:LAN:MANual? /*Queries the on/off state of Static IP. The query returns 1.*/
:LAN:MDNSset / query

Sets or queries the on/off state of the multicast Domain Name System (mDNS).

NameTypeValuesDescription
<bool>enum0 | 1 | OFF | ONBoolean state for enabling or disabling mDNS.
returns
:LAN:SMASkset / query

Sets or queries the subnet mask. The subnet mask string must be in nnn.nnn.nnn.nnn format, with each nnn from 0 to 255.

NameTypeValuesDescription
stringstring-Subnet mask value in ASCII string form.
string - Returns the subnet mask as a string, for example 255.255.255.0.

Queries the current network configuration status.

enum - Returns the current network configuration status.
:LAN:STATus? /*Queries the current network configuration status.*/

Queries the VISA resource string for the LAN interface.

NameTypeValuesDescription
typeoptstring-

Queries the I data of the modulated waveform. It returns a binary stream, and optional startIndex and size values can be used to query a subset of points.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
startIndexoptinteger-Starting index for the data query, as referenced in the remarks.
sizeoptinteger1Number of points to query; the minimum size is 1.
binary stream - The query returns a binary stream.
:MODulation:DATA:I? mod,1,100 /*Queries the I data of the waveform named "mod". The data size is 100 and the start index is 1 (the first data point).*/

Queries the Q data of the modulated waveform.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
startIndexoptinteger-Starting index for the data query.
sizeoptinteger-Number of points to query.
block - The query returns a binary stream.

Sets or queries the Marker data for the specified modulated waveform.

NameTypeValuesDescription
noptenum1 | 2Marker index.
wfm_namestring-Available waveform name.
startIndexoptinteger-Starting data index for the transfer.
sizeoptinteger-Number of points to transfer.

Sets or queries whether the "Overwrite existing waveform" function is enabled.

NameTypeValuesDescription
stateenum-Enable or disable overwrite existing waveform.
enum - Returns the current overwrite-existing-waveform setting.

Sets or queries the code type.

NameTypeValuesDescription
ctypeenumALL1 | ALL0 | PRBS9 | PRBS11 | PRBS15 | PRBS16 | PRBS20 | PRBS21 | PRBS23
enum - The query returns the code type, for example, PRBS15.

Sets or queries the code length.

NameTypeValuesDescription
lengthinteger10 - 20MCode length to set.
integer - The query returns the code length, for example 1000.
:MODulation:SIGNal:LENGth 1000 /*Sets the code length to 1000.*/
:MODulation:SIGNal:LENGth? /*Queries the code length. The query
returns 1000.*/

Sets or queries the symbol rate in units of Sa/s.

NameTypeValuesDescription
rateinteger100 Sa/s - 100 MSa/sSymbol rate to set.

Sets or queries the roll-off factor Alpha/BT when using a filter. The command is valid only when the modulation source filter type is set to cosine or root cosine filter.

NameTypeValuesDescription
alphainteger5 - 100Roll-off factor value.
integer - Returns the roll-off factor as an integer. For example, 50 indicates a roll-off factor of 0.5.
:MODulation:SOURce:ALPHa 50
:MODulation:SOURce:ALPHa?

Sets or queries the encoding type.

NameTypeValuesDescription
ctypeenumOFF | DIFF | DGRay | GRAYEncoding type to use.
enum - The query returns OFF, DIFF, DGR, or GRAY.
:MODulation:SOURce:CTYPe DIFF /*Sets the code type to Differential.*/
:MODulation:SOURce:CTYPe? /*Queries the code type. The query returns DIFF.*/

Sets or queries the filter type.

NameTypeValuesDescription
filterenumRECTangular | COSine | ROOTFilter type to use.

Sets or queries the name of the modulated waveform. When the compile operation (:MODulation:COMPile) is executed, this command names the modulated waveform.

NameTypeValuesDescription
<name>string-The input string can be a combination of English letters, numbers, and underscores; it cannot be longer than 26 bytes.
string - The query returns an ASCII string, for example, Mod_2.
:MODulation:SOURce:NAME Mod_2 /*Sets the waveform name to Mod_2.*/
:MODulation:SOURce:NAME? /*Queries the waveform name. The query returns Mod_2.*/

Sets or queries the oversampling. Oversampling is the interpolation and filtering factor applied to the IQ baseband modulation signal.

NameTypeValuesDescription
overinteger1 - 16Oversampling factor.
integer - Returns the oversampling factor.
*:MODulation:SOURce:OVER 3
*:MODulation:SOURce:OVER?

Sets or queries the modulation type.

NameTypeValuesDescription
typeenumBPSK | QPSK | 8PSK | 16QAM | 32QAM | 64QAM | 128QAM | 256QAMModulation type to use.

:OUTPut:OFFset / query

Sets or queries the state of the All Channels Off control.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONState to set All Channels Off to enabled or disabled.
:OUTPut:OFF 1 /*Enables All Channels Off.*/
:OUTPut:OFF? /*Queries whether all channels are off. The query returns 1.*/

Sets the output path for the selected channel output.

NameTypeValuesDescription
pathenum-

Sets or queries the output state for the specified channel.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4Specifies the channel number.
state--

Sets or queries the output condition of a waveform for the specified channel while the channel is in the stopped state.

NameTypeValuesDescription
noptinteger1 - 4Channel number. If omitted, channel 1 is assumed.
stateenumOFF | ZEROStop-state output condition for the selected channel.
enum - Returns the current stop-state output condition.
:OUTPut1:STATe 1 /*Enables the output for CH1.*/
:OUTPut1:STATe? /*Queries the output state of CH1. The query returns 1.*/

Sets or queries the output condition of the specified Marker of the specified channel when in the stopped state.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4Channel number; if omitted, interpreted as 1.
moptdiscrete1 | 2Marker number; if omitted, interpreted as 1.
statediscreteOFF | LOWStop state marker output condition.
enum - The query returns OFF or LOW.
:OUTPut1:SVALue:MARKer1 LOW /*Sets the Marker1 of CH1 to a logic
:OUTPut1:SVALue:MARKer1? /*Queries the output condition of the

Sets the output condition of the specified channel when in the waiting state. The optional :ANALog and :STATe nodes may be included in the command path.

NameTypeValuesDescription
<n>optdiscrete1 | 2 | 3 | 4Channel number; if omitted, interpreted as 1.
<state>enumOFF | LOWOutput condition for the specified channel in the waiting state.

Sets or queries the output condition of the specified marker of the specified channel while the instrument is in the waiting-for-trigger state or briefly after the waveform loads to the DAC and before the first point plays.

NameTypeValuesDescription
noptinteger1 - 4Channel number; if omitted, interpreted as 1.
moptinteger-Marker number of the specified channel.
stateenumZERO | FIRStOutput level for the marker while waiting for trigger; ZERO sets it to 0 V and FIRSt matches the first waveform point.

Sets or queries the OFF state of all channels' outputs. 1 or ON turns off all channel outputs, and 0 or OFF turns them on.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONSpecifies whether all channel outputs are turned off or on.
integer - The query returns 0 or 1, indicating whether all channels are turned off.
:OUTPut:STATe:OFF 1 /*Turns off all channels.*/
:OUTPut:STATe:OFF? /*Queries whether all channels are turned off. The query returns 1.*/

Sets or queries the waveform invert on/off state in the specified channel.

NameTypeValuesDescription
polarityenum0 | 1 | OFF | ON

Sets or queries the output state for the specified channel. 1 or ON enables the outputs for the specified channel while 0 or OFF disables the outputs.

NameTypeValuesDescription
noptinteger1 | 2 | 3 | 4Channel number; if omitted, it is interpreted as 1.
stateenum0 | 1 | OFF | ONSets the output state for the specified channel.
enum - Returns 0 or 1.

Sets or queries the high limit value for output voltage for the specified channel.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4Channel number; if omitted, interpreted as 1.
highreal-987.5 mV - 1.5 VHigh limit value for the output voltage.
real - Returns the high limit value in scientific notation.
:OUTPut1:CHAN:VOLLimit:HIGH 0.15 /*Sets the high limit to 150 mV for CH1.*/
:OUTPut1:CHAN:VOLLimit:HIGH? /*Queries the high limit of CH1. The query returns 1.5000000000E-01.*/

Sets or queries the low limit value for output voltage for the specified channel.

NameTypeValuesDescription
<n>optdiscrete1 | 2 | 3 | 4Channel number; if omitted, interpreted as 1.
<low>real-Low voltage limit value.
real - The query returns the low limit value in scientific notation.

Sets or queries the Voltage Limit on/off state for the specified channel.

NameTypeValuesDescription
noptinteger1 - 4Channel number; if omitted, interpreted as 1.
stateboolean0 | 1 | ON | OFFTurns the Voltage Limit function on or off.
boolean - Returns the Voltage Limit on/off state as 0 or 1.
:OUTPut1:CHAN:VOLLimit:STATe 1 /*Enables the Voltage Limit for
CH1.*/
:OUTPut1:CHAN:VOLLimit:STATe? /*Queries the Voltage Limit on/off
state of CH1. The query returns 1.*/

Queries the existing sequences in the sequence list.

string - Returns the existing sequences in the sequence list.

Queries the name of the sequence at the specified sequence list index.

NameTypeValuesDescription
seq_list_indexintegerNR1
string - Returns the name of the sequence at the specified sequence list index; if there is no sequence at the chosen index, an empty string is returned.
:SLISt:NAME? 2 /*Queries the name of the second sequence in the sequence list. The query returns seq_2.*/

Deletes a specific sequence from the sequence list.

NameTypeValuesDescription
seq--Specific sequence to delete.

Deletes all sequences from the sequence list.

:SLISt:SEQuence:DELete:ALL /*Deletes all sequences from the sequence list.*/

Sets the jitter timing for a sequence event. The query form returns the jitter timing state for the specified sequence.

NameTypeValuesDescription
seq_namestring-Sequence name.
type--

Sets or queries the jump step associated to the specified pattern for the specified sequence.

NameTypeValuesDescription
seq_namestring-Available sequence name.
patterninteger0 - 255
jump_stepinteger1 - 16384

Sets or queries the Pattern Jump on/off state for the specified sequence.

NameTypeValuesDescription
seq_namestring-Available sequence name.
stateenum0 | 1 | OFF | ONPattern Jump on/off state.
enum - Returns the Pattern Jump state as 0 or 1.

Queries the maximum number of entries in the pattern jump table.

integer - Returns the maximum number of entries in the pattern jump table.
:SLISt:SEQuence:EVENt:PJUMp:SIZE? /*Queries the maximum number of entries in the pattern jump table. The query returns 256.*/

Queries the total number of steps in the specified sequence.

NameTypeValuesDescription
seq_namestring-Name of the sequence to query.
integer - Returns the total number of steps in the specified sequence.

Creates a new sequence with the selected name and number of tracks.

NameTypeValuesDescription
seq_namestring-Available sequence name.
number_of_tracksoptinteger1 - 4Number of tracks to create in the sequence; ranges from 1 to 4 on four-channel models and from 1 to 2 on two-channel models.
:SLISt:SEQuence:NEW Seq,2 /*Creates a new sequence named "Seq" with
two tracks.*/

Selects the specified sequence for quick save mode.

NameTypeValuesDescription
seqstring-The sequence to select for quick save mode.

Enables or disables the quick save mode for the selected sequence.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables quick save mode.

Queries the maximum number of steps allowed in a sequence.

integer - The maximum number of steps allowed in a sequence.
none documented in the slice

Queries the maximum number of repeats allowed for a step in a sequence.

integer - The query returns the maximum number of repeats allowed for a step in a sequence.
:SLISt:SEQuence:STEP:RCOunt:MAX? /*Queries the maximum number of repeats allowed for a step in a sequence. The query might return 4294967295.*/

Sets or queries whether the specified sequence will jump when it receives Trigger A, Trigger B, Internal Trigger, or no jump at all.

NameTypeValuesDescription
<n>optinteger1 - 16384Sequence step number.
seq_namestring-Available sequence name.
typeenumATRigger | BTRigger | OFF | ITRiggerTrigger source for the event jump.
enum - The query returns ATR, BTR, OFF, or ITR.

Sets or queries the step that the specified sequence will jump to on a trigger event.

NameTypeValuesDescription
<n>optinteger1 - 16384
seq_namestring-Available sequence name.
entryinteger1 - 16384Target step number to jump to.
modeoptenumNEXT | FIRSt | LASTSelects the NEXT, FIRSt, or LAST step to jump to instead of specifying an explicit entry.
enum - The query returns NEXT, FIRS, LAST, or an integer.
:SLISt:SEQuence:STEP1:EJUMp Seq_1,2 /*Enables the sequence named
:SLISt:SEQuence:STEP1:EJUMp? Seq_1 /*Queries the target step that the "Seq_1" will jump to after executing the step 1 on a trigger
event event. The query returns 2.*/

Sets or queries the step that the specified sequence will go to. The setting can be a specific entry number or one of the special keywords NEXT, FIRSt, LAST, or END.

NameTypeValuesDescription
<seq_name>string-Available sequence name.
<entry>integer1 - 16384Step number to go to.
modeenumNEXT | FIRSt | LAST | ENDSpecial target step keyword.
enum - The query returns NEXT, FIRS, LAST, END, or an integer.

Sets or queries the repeat count for the specified step of the named sequence.

NameTypeValuesDescription
seq_namestring-Available sequence name.
cntinteger1 - 16384Repeat count value.
modeenumONCE | INFiniteAlternative repeat-count keywords.
returns

Queries the name of the waveform or subsequence at the specified sequence step and track.

NameTypeValuesDescription
noptinteger1 - 16384Sequence step number.
moptinteger-Track number; refer to Remarks for the allowed range.
seq_namestring-Available sequence name.
string - Returns the name of the waveform or subsequence at the specified sequence step and track.

Removes the asset from the specified track and step of the sequence.

NameTypeValuesDescription
noptinteger1 - 16384Specifies the step number.
moptinteger-Specifies the track number; for two-channel models it ranges from 1 to 2, and for four-channel models from 1 to 4.
seq_namestring-Available sequence name.

Assigns a subsequence for a specific sequence's step of all Tracks.

NameTypeValuesDescription
noptinteger1 - 16384
seq_namestring-Available sequence name.
subseq_namestring-Available sequence name.
:SLISt:SEQuence:STEP1:TASSet:SEQuence Seq_1,Seq_sub /*Adds the subsequence named "Seq_sub" to the step 1 of all tracks in the sequence named "Seq_1".*/

Queries the type of asset assigned to the specified sequence step and track. The asset may be a waveform or a subsequence.

NameTypeValuesDescription
seq_namestring-Sequence name to inspect.
enum - Returns the type of asset assigned to the step and track.

Assigns a waveform for a specific sequence step and track.

NameTypeValuesDescription
noptinteger1 - 16384Specifies the step number.
moptinteger1 - 2Specifies the track number. For two-channel models, it ranges from 1 to 2; for four-channel models, it ranges from 1 to 4.
seq_namestring-Available sequence name.
waveform_namestring-Available waveform name.

Sets or queries the wait conditions for the specified step in a sequence, including whether the step waits for a trigger source to play and the trigger source type.

NameTypeValuesDescription
noptinteger1 - 16384Step number.
seq_namestring-Available sequence name.
typeenumATRigger | BTRigger | OFF | ITRiggerWait condition / trigger source type.
:SLISt:SEQuence:STEP1:TASSet1:WAVeform Seq_1,Wave_1 /*Assigns the waveform named "Wave_1" to the step 1 of Track1 for the sequence named "Seq_1".*/

Queries the number of tracks defined in the specified sequence.

NameTypeValuesDescription
seq_namestring-Name of the sequence to query.
integer - Returns the number of tracks defined in the specified sequence, for example 2.
:SLISt:SEQuence:TRACk? Seq /*Queries the number of tracks defined in the sequence named "Seq". The query returns 2.*/

Queries the timestamp of the named sequence. It returns the time when the sequence was created or last modified.

NameTypeValuesDescription
seq_namestring-Available sequence name.
string - The sequence timestamp in the format "yyyy-ll-dd hh:mm:ss".
:SLISt:SEQuence:TSTamp? Seq /*Queries the timestamp of the sequence
named "Seq". The query returns the date and time the sequence named
"Seq" was created or last modified. For example, the query might
return 2022-01-18 09:11:37.*/

Queries the waveform usage for a named sequence track.

NameTypeValuesDescription
<seq_name>string-Available sequence name.
<track_number>integer-Track number in the sequence.

Queries the number of sequences in the sequence list.

integer - The number of sequences in the sequence list.
:SLISt:SIZE? /*Queries the total number of sequences in sequence list. The query might return 15.*/

Imports a marker file as the marker of the specified waveform.

NameTypeValuesDescription
pathstring-Path of the imported marker file.
wavestring-Waveform that uses the imported marker.
typeenumMK1 | MK2Selects Marker1 or Marker2 for the imported marker.

Exports the specified modulated waveform.

NameTypeValuesDescription
pathstring-Specifies the path of the exported waveform.
:STORage:DATA:MODulation:EXPort D:/file/Mod.wfm /*Exports the modulated waveform named "Mod" to the folder named "file" in D disk.*/

Imports the specified modulated waveform.

NameTypeValuesDescription
pathstring-Path of the modulated waveform to import.

Exports the specified sequence.

NameTypeValuesDescription
<path>string-Path of the exported sequence.
:STORage:DATA:SEQuence:EXPort D:/file/Seq.seq /*Exports the sequence named "Seq" to the folder named "file" in D disk.*/

Exports the specified waveform.

NameTypeValuesDescription
pathstring-Specifies the path of the exported waveform.
typeenumTXT | WFMSpecifies the file format of the exported waveform.

Imports the specified waveform.

NameTypeValuesDescription
pathstring-Path of the imported waveform file.
datatypeoptenumNORM | VOLTSpecifies the imported waveform data type.
eoloptenumENTer | COMMa | SEMicolonSpecifies the separator between each unit.
typeoptenumDCODe | FLOatSpecifies the imported waveform data format after the data type is set to NORM.
ampoptreal20 mV - 2 VSets the imported waveform amplitude.
offsetoptreal-1 V - 1 VSets the imported waveform offset.

Issues a single beep immediately. This command is valid regardless of the beeper on/off state.

:SYSTem:BEEPer:IMMediate /*Issues a single beep immediately.*/

Sets the beeper on or off.

NameTypeValuesDescription
stateenumON | OFFTurns the beeper on or off.
:SYSTem:DATEset / query

Sets or queries the system date.

NameTypeValuesDescription
yearinteger1900 - 2100
monthinteger1 - 12
dayinteger1 - 31

Queries the build date and time.

string - Returns the build date and time as a string, for example Apr 27 2022 19:19:26.
:SYSTem:INST:BUILd? /*Queries the build date and time. The query might return Apr 27 2022 19:19:26.*/

Queries the instrument's hardware version.

string - The instrument's hardware version.

Queries the instrument's KUC.

string - The query returns the KUC in string.
*No example beyond the documented query line and comment is provided in the slice.*

Queries the instrument's KUM.

string - The query returns the KUM in string.

Queries the instrument's KUS.

string - Returns the KUS as a string.
:SYSTem:INST:KUS? /*Queries the instrument's KUS. The query might return 20037,2022-05-20,839.*/

Queries the instrument's model number.

string - The model number of the instrument.

Queries the instrument's serial number.

string - The serial number in string.
:SYSTem:INST:SERial? /*Queries the instrument's serial number. The query returns DG7A231600001.*/

Queries the instrument's firmware version.

string - The query returns firmware version in string.
:SYSTem:INST:SOFTver? /*Queries the instrument's firmware version. The query might return 00.01.00.17.04.*/
:SYSTem:LANGuageset / query

Sets or queries the system language.

NameTypeValuesDescription
languageenumSCHinese | ENGLish
enum - The query returns SCH or ENGL.
:SYSTem:LANGuage ENGLish /*Sets the system language to English.*/
:SYSTem:LANGuage? /*Queries the system language. The query returns
ENGL.*/

Sets or queries the on/off state of the screen lock.

NameTypeValuesDescription
stateboolean1 | ON | 0 | OFFOn/off state of the screen lock.
boolean - Returns the current screen lock state.

Installs the option license specified by the license string.

NameTypeValuesDescription
licensestring-License key string used to install the option.

Queries whether a specified option is activated or not. The query returns 0 if the option is not installed and 1 if the official option has been installed.

NameTypeValuesDescription
typeenumDIGup | SEQ | DC | PJITTer | MTONeOption to check.
integer - Returns 0 or 1 indicating whether the specified option is installed.
:SYSTem:OPTion:STATus? SEQ /*Queries whether the Complex sequence function is activated. The query returns 0.*/
:SYSTem:POWeronset / query

Sets or queries the system configuration type recalled by the instrument when it is powered on again after power-off.

NameTypeValuesDescription
power_onenumDEFault | LASTSystem configuration type recalled on power-up.
enum - Returns DEF or LAST.
:SYSTem:POWeron LAST /*Enables the instrument to recall last value
:SYSTem:POWeron? /*Queries the configuration type. The query

Sets or queries the state of the screen saver.

NameTypeValuesDescription
type--

Sets or queries the text displayed when the screen saver is enabled. When the screen saver is enabled, the text is dynamically displayed on the screen.

NameTypeValuesDescription
stringstring-ASCII text to display in the screen saver.
string - Returns the screen-saver text as a string.
:SYSTem:SSAVer:TEXT AWG /*Sets the text to AWG.*/
:SYSTem:SSAVer:TEXT? /*Queries the text. The query returns AWG.*/

Sets or queries the wait time in minutes of the screen saver.

NameTypeValuesDescription
timeinteger1 - 999Wait time in minutes before the screen saver is activated after the instrument has been idle.
integer - Returns the screen saver wait time in minutes.
:SYSTem:SSAVer:TIME 10
:SYSTem:SSAVer:TIME?
:SYSTem:TIMEset / query

Sets or queries the system time.

NameTypeValuesDescription
hourinteger0 - 23
minuteinteger0 - 59
returns
:SYSTem:TIME <hour>,<minute>,<second>
:SYSTem:TIME?

Queries the version number of the SCPI used by the system.

string - The SCPI version.
:SYSTem:VERSion? /*Queries the SCPI version. The query might return 3.0.*/

Sets or queries whether vibration is enabled for the system.

NameTypeValuesDescription
stateenum-

Generates a touch vibration immediately. This command triggers a touch vibration for the secondary screen when the touch vibration function is enabled.

:SYSTem:VIBRation:IMMediate /*Generates a touch vibration for the secondary screen.*/

Sets or queries the on/off state of ZBD backlight.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONSets the ZBD backlight state.
enum - The query returns 1 or 0.

Generates a trigger A or B event.

NameTypeValuesDescription
triggerenumATRigger | BTRiggerSelects trigger A or B.

Queries the external trigger impedance.

NameTypeValuesDescription
triggeroptenumATRigger | BTRiggerSelects which external trigger input to query.
real - Returns 1.0000000000E+06, indicating that the external trigger impedance is 1 MΩ.
:TRIGger:IMPedance? ATRigger /*Queries the Trig A impedance. The
query returns 1.0000000000E+06.*/

Sets or queries the internal trigger interval.

NameTypeValuesDescription
intervalreal-
:TRIGger:LEVelset / query

Sets or queries the external trigger input level (threshold). The external trigger input signal must cross the set trigger level for a trigger event to occur.

NameTypeValuesDescription
levelreal-5.00 - 5.00External trigger input level threshold.
triggeroptenumATRigger | BTRiggerSelects which trigger input to use.
real - Returns the trigger input level in scientific notation.
:TRIGger:MODEset / query

Sets or queries the trigger timing used when an external trigger source is being used.

NameTypeValuesDescription
modeenumSYNChronous | ASYNchronousTrigger timing mode.
triggeroptenumATRigger | BTRiggerSelects which trigger to apply the mode to.
enum - Returns the trigger timing as SYNC or ASYN.
:TRIGger:MODE SYNChronous,ATRigger /*Sets the trigger timing for
:TRIGger:MODE? ATRigger /*Queries the trigger timing for Trig A.
:TRIGger:SLOPeset / query

Sets the trigger slope for the selected trigger source.

NameTypeValuesDescription
slopeenum-
triggeroptenum-

Queries the name of the most recently added waveform in the waveform list.

string - The name of the most recently added waveform in the waveform list.

Queries all waveform names in the waveform list.

string - Returns all waveform names in the waveform list as a comma-separated string.
:WLISt:LIST? /*Queries a list of all waveform names in the waveform list. The query might return wave_1,wave_2,wave_3.*/

Queries the waveform name at the position specified by the index value in the waveform list.

NameTypeValuesDescription
indexintegerNR1Index value used to select the waveform name position in the list.
string - The waveform name at the specified index in the waveform list.

Queries the number of waveforms in the waveform list.

integer - Returns the number of waveforms in waveform list.
:SLISt:SIZE? /*Queries the total number of waveforms in waveform list. The query might return 7.*/

Queries the Cycles value, i.e. the number of times the named waveform repeats.

NameTypeValuesDescription
wfm_namestring-Name of the waveform to query.
returns

Sets or queries the waveform data for a named waveform. You can set or query a total number of points starting at a specified index.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
startIndexoptinteger-Starting index for the data transfer.
sizeoptinteger1Number of points to transfer; minimum size is 1.
block_datablock-IEEE 488.2 block containing waveform data to set.

Sets or queries I data for an IQ waveform.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
startIndexinteger-Start index of the data to edit or query.
sizeinteger-Number of data points to edit or query.
block_datablock-IEEE 488.2 block containing waveform data.
block - Returns the I waveform data as a binary stream.
:WLISt:WAVeform:DATA:I Wave,1,100,#9000000200xxxx...
:WLISt:WAVeform:DATA:I? Wave,1,100

Sets or queries Q data for a waveform. The query returns a binary stream.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
startIndexinteger-Start index for the waveform data; see Remarks for size constraints.
sizeoptinteger1Number of points to set or query, starting from startIndex.
block_datablock-Binary waveform data transferred with a TMC header.
block - Binary stream containing the queried Q waveform data.
:WLISt:WAVeform:DATA:Q Wave,1,100,#9000000200xxxx...
:WLISt:WAVeform:DATA:Q? Wave,1,100

Deletes a single waveform from the waveform list.

NameTypeValuesDescription
wfm--Waveform to delete.

Deletes all waveforms from the waveform list.

:WLISt:WAVeform:DELete:ALL /*Deletes all waveforms.*/

Queries the duration of the named waveform.

NameTypeValuesDescription
wfm_namestring-Name of the waveform whose duration is queried.

Queries the duty cycle of the named waveform. This command is available only for square wave.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
real - Returns the duty cycle as a real number.
:WLISt:WAVeform:DUTY? Wave /*Queries the duty cycle of the waveform named "Wave". The query might return 50.000000.*/

Queries the frequency of the named waveform. The query returns the value in scientific notation.

NameTypeValuesDescription
wfm_namestringAvailable waveform nameName of the waveform whose frequency is queried.
real (Hz) - The frequency of the named waveform, returned in scientific notation.
:WLISt:WAVeform:FREQuency? Wave

Queries the high voltage level of the specified waveform.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
real (V) - Returns the high voltage level of the waveform as a real number.

Queries the number of data points, not bytes, of the specified waveform in the waveform list.

NameTypeValuesDescription
<wfm_name>string-Available waveform name.
real - Returns the waveform length in scientific notation.
:WLISt:WAVeform:LENGth? Wave /*Queries the number of data points of the waveform named "Wave". The query might return 5.0000000000E+03.*/

Queries the maximum number of waveform sample points allowed.

integer - Returns the maximum number of waveform sample points allowed.

Queries the minimum number of waveform sample points required for a valid waveform.

integer - Returns the minimum number of waveform sample points required for a valid waveform.
:WLISt:WAVeform:LMINimum? /*Queries the minimum number of waveform sample points required. The query returns 2400.*/

Queries the low voltage level of the specified waveform. This command is not available for DC.

NameTypeValuesDescription
wfm_namestring-Available waveform name.

Queries the loop width of the named waveform (Sinc).

NameTypeValuesDescription
wfm_namestring-Available waveform name
real - The query returns a real number representing the loop width of the waveform.
:WLISt:WAVeform:LOOPwidth? Wave /*Queries the loop width of the waveform named "Wave". The query might return 50.000000.*/

Sets or queries marker data for a waveform. The command can transfer a specified number of points starting at a given start index.

NameTypeValuesDescription
noptdiscrete1 | 2 | 3 | 4Marker number.
wfm_namestring-Available waveform name.
startIndexinteger-Starting index for the marker data transfer.
sizeinteger1Number of points to set or query.
block_datablock-IEEE 488.2 binary block containing the marker data to write.
block - Returns a binary stream containing the requested marker data.
:WLISt:WAVeform:MARKer1:DATA Wave,1,20,#9000000020xxxx... /*Edits
:WLISt:WAVeform:MARKer1:DATA? Wave,1,20 /*Queries the marker1 data

Creates an IQ waveform from two real waveforms.

NameTypeValuesDescription
I_wfm_namestring-Name of the I component waveform.
Q_wfm_namestring-Name of the Q component waveform.
iq_nameoptstring-Name of the created IQ waveform.
:WLISt:WAVeform:MIQ Wave1,Wave2,WaveIQ /*Creates an IQ waveform named "WaveIQ" using "Wave1" as the I component and "Wave2" as the Q component.*/

Create a new waveform in Table Editor.

NameTypeValuesDescription
wfm_namestring-Name of the waveform to create.
sizeinteger-Number of points or samples in the new waveform.
formatoptstring-Waveform data format.

Queries the Peak Position for the specified waveform (Sinc).

NameTypeValuesDescription
wfm_namestring-Name of the waveform to query.
returns

Queries the phase of the named waveform.

NameTypeValuesDescription
<wfm_name>string-Available waveform name.
real (°) - The query returns a real number indicating the waveform phase.
:WLISt:WAVeform:PHASe? Wave /*Queries the phase of the waveform named "Wave". The query might return 90.000000.*/

Queries the sample rate of the specified waveform in the waveform list.

NameTypeValuesDescription
<wfm_name>string-Available waveform name.
real - The query returns a real number representing the sample rate.

Queries the symmetry of the named waveform (Triangle). It is available only for Triangle waveforms.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
real (%) - The query returns the symmetry value as a real number, expressed as a percentage.
:WLISt:WAVeform:SYMM? Wave /*Queries the symmetry of the waveform named "Wave". The query might return 50.000000.*/

Queries the timestamp of the named waveform. The timestamp indicates when the waveform was created or last modified.

NameTypeValuesDescription
wfm_namestring-Name of the waveform to query.
string - Returns the waveform timestamp as a string in the form "yyyy-ll-dd hh:mm:ss".
:WLISt:WAVeform:TSTamp? Wave /*Queries the timestamp of the waveform named "Wave". The query might return 2022-01-18 11:05:21.*/

Queries the type of the named waveform.

NameTypeValuesDescription
wfm_namestring-Available waveform name.
enum - The query returns REAL (real waveform) or IQ (IQ waveform).
:WLISt:WAVeform:TYPE? Wave /*Queries the type of the waveform named "Wave". The query returns REAL.*/