/

B&K Precision

/

B&K Precision BK-PRECISION-4089

SCPI COMMAND REFERENCE

B&K Precision BK-PRECISION-4089

B&K Precision BK-PRECISION-4089

The B&K Precision BK-PRECISION-4089 is B&K Precision's signal generator in the 4088 family. Its SCPI remote-control interface exposes 194 commands across 8 subsystems - 97 settable and 97 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.

194

Commands

97

Settable

97

Queries

8

Subsystems

SCPI

Verified

2026-07-16

All commands

194 of 194 commands

*CLSset / query

Clears the Standard Event Register, Query Event Register, and Status Bit Group Register.

Command *CLS
*ESE?query

Queries the value of the Standard Event Enable Register.

integer - Returns the value of the Standard Event Enable Register.
Query *ESE?
*ESR?query

Reads the value of the Standard Event Register. After execution, the register is cleared. The bit definition is the same as the Standard Event Enable Register.

integer - Returns the value of the Standard Event Register.
Query *ESR?
*IDN?query

Queries the model number, serial number, and version number of the instrument.

string - Returns the instrument identification string in the form vendor, model, serial number, version number.
Query *IDN?
*OPCset / query

Sets the OPC (Operation Complete) bit of the Standard Event Register to 1 when all preceding commands have been executed. The query form returns "1" to the output buffer.

*OPC?query

Sets the OPC (Operation Complete) bit of the Standard Event Register to 1 when all commands preceding this command have been executed. The query returns "1" to the output buffer.

integer - Returns "1" when all preceding commands have been executed.
Query *OPC?
*RSTset / query

Resets the power supply to the factory setting state.

Command *RST
*SRE?query

Queries the value of the Status Enable Register. Returns a decimal number representing the binary weighted sum of all the bits in the enable register.

integer - A decimal number representing the binary weighted sum of all the bits in the enable register.
Query *SRE?
*STB?query

Reads the value of the Status Byte Register. Returns a decimal number representing the binary weighted sum of all the bits in the status byte register.

integer - Decimal number representing the binary weighted sum of all the bits in the status byte register.
Query *STB?

Sets and queries the frequency of the output waveform.

returns - Returns the current output frequency.

Sets and queries the frequency of the output waveform.

NameTypeValuesDescription
modeoptenumCW | FIXedSelects the frequency mode; FIXed is an alias for CW.
NRfreal.001 mHz - 50 MHzSets the output frequency.
real - Returns the frequency of the output waveform.
Command SOURC:FREQ:FIX 2E6
Query SOURC:FREQ?

Queries the type of waveform to be generated by the instrument.

enum - Returns the current waveform function shape.
Query SOUR:FUNC?

Sets the type of waveform to be generated by the instrument.

NameTypeValuesDescription
shapeenumSINsusoid | SQUare | TRIangle | ARBitrary | PULSEWaveform shape to generate.
Command SOUR:FUNC SQU
Query SOUR:FUNC?

Sets or queries the peak-to-peak amplitude of the output waveform. The amplitude and offset are limited by Peak Amplitude + |Offset| ≤ 5 V.

real (V) - Returns the output amplitude.

Sets the peak-to-peak amplitude of the output waveform. The amplitude and offset are limited by the relation Peak Amplitude + |Offset|  5 V.

NameTypeValuesDescription
NRfreal1 mVp-p - 10 Vp-pPeak-to-peak amplitude of the output waveform.

Selects the source of the arbitrary waveform clock.

NameTypeValuesDescription
sourceenumINTernal | EXTernalClock reference source.
enum - Returns the selected clock reference source.
Command SOUR:REF INT
Query SOUR:REF?

Selects the source of the arbitrary waveform clock.

enum - Returns the selected clock reference source.
SOUR:REF?
SOUR:REF?

Returns the DC offset of the output waveform.

real (V) - Returns the present DC offset of the output waveform.
SOUR:VOLT:OFFS?
SOURce:VOLTage:OFFSet?

Sets the DC offset of the output waveform. The amplitude and offset are limited by the relation Peak Amplitude + |Offset|  5 V.

NameTypeValuesDescription
offsetreal-2.500 V - 2.500 VDC offset of the output waveform.
SOUR:VOLT:OFFS 1
:SOURce:DCYCleset / query

Sets the duty cycle of the square wave.

NameTypeValuesDescription
NR1real5% - 95%Duty cycle value.
real (%) - Returns the duty cycle of the square wave.
Command SOUR:DCYC 25
Query SOUR:DCYC?

Sets the duty cycle of the square wave.

NameTypeValuesDescription
NR1real5% - 95%Duty cycle value.
real (%) - Returns the duty cycle of the square wave.
Command SOUR:DCYC 25
Query SOUR:DCYC?
:SOURce:AM:DEPThset / query

Sets the AM modulation depth in percentage.

NameTypeValuesDescription
depthreal0 - 100AM modulation depth in percent.
Command [:SOUR]:AM:DEPT 50
Query [:SOUR]:AM:DEPT?

Returns the AM modulation depth in percentage.

real (%) - AM modulation depth in percentage.
:SOURce:AM:SHAPeset / query

Selects the AM modulating waveform shape.

NameTypeValuesDescription
shapeenumSIN | SQU | TRIAM modulating waveform shape to use.
Command [:SOUR]:AM:SHAP SIN
Query [:SOUR]:AM:SHAP?

Selects the AM modulating waveform shape.

enum - Returns the current AM modulating waveform shape.
Query [:SOUR]:AM:SHAP?

Activates or deactivates AM modulation.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables AM modulation.
Command [:SOUR]:AM ON
Query [:SOUR]:AM?

Activates or deactivates AM modulation.

enum - Returns the AM modulation state.
Query [:SOUR]:AM?

Set the AM modulating waveform frequency.

NameTypeValuesDescription
NRfreal10 mHz - 20 kHzAM modulating waveform frequency.
Command [:SOUR]:AM:FREQ 1e3
Query [:SOUR]:AM:FREQ?

Returns the AM modulating waveform frequency.

real (Hz) - The AM modulating waveform frequency.
Query [:SOUR]:AM:FREQ?

Selects the AM modulation source as internal or external. If set to internal, the instrument's settings are effective; if set to external, the external waveform determines the depth, shape, and frequency of modulation.

NameTypeValuesDescription
sourceenumINTernal | EXTernalAM modulation source.
Command [:SOUR]:AM:SOUR INT
Query [:SOUR]:AM:SOUR?

Selects the AM modulation source as either internal or external. If set to internal, the instrument's settings are effective; if set to external, the external waveform determines the depth, shape, and frequency of modulation.

NameTypeValuesDescription
sourceenumINTernal | EXTernalAM modulation source.
enum - Returns the AM modulation source.
Command [:SOUR]:AM:SOUR INT
Query [:SOUR]:AM:SOUR?

Set the FM modulation deviation.

NameTypeValuesDescription
deviationreal10 mHz - 500 HzFM modulation deviation.

Sets the FM modulation deviation.

NameTypeValuesDescription
deviationreal10 mHz - 500 HzFM modulation deviation.
Command [:SOUR]:FM:DEV 50
:SOURce:FM:SHAPeset / query

Selects the FM modulating waveform shape.

NameTypeValuesDescription
shapeenumSIN | SQU | TRISets the FM modulating waveform shape.
Command [:SOUR]:FM SHAP SIN
Query [:SOUR]:FM SHAP?

Selects the FM modulating waveform shape.

enum - Returns the currently selected FM modulating waveform shape.

Activate or deactivate FM modulation.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONEnables or disables FM modulation.
Command [:SOUR]:FM ON
Query [:SOUR]:FM?

Activates or deactivates FM modulation.

enum - Returns the FM modulation state.
Query [:SOUR]:FM?

Sets the FM modulating waveform frequency.

NameTypeValuesDescription
<NRf>real10 mHz - 20 kHzFM modulating waveform frequency.
Command [:SOUR]:FM:FREQ 1e3
Query [:SOUR]:FM:FREQ?

Sets or queries the FM modulating waveform frequency.

real (Hz) - Returns the FM modulating waveform frequency.
Query [:SOUR]:FM:FREQ?

Selects the FM modulation source as either internal or external. If internal, the FM settings are effective; if external, the external waveform determines the deviation, shape, and frequency of modulation.

NameTypeValuesDescription
sourceenumINTernal | EXTernalFM modulation source.

Selects the FM modulation source as internal or external. If internal, the FM settings above are effective; if external, the external waveform determines the deviation, shape, and frequency of modulation.

enum - Returns the current FM modulation source.
Command [:SOUR]:FM:SOUR INT
Query [:SOUR]:FM:SOUR?

Set the higher of the two frequencies used in FSK modulation.

NameTypeValuesDescription
frequencyreal.001 mHz - 50.00 kHzHigher FSK frequency to set.
Command [:SOUR]:FSK:HIF 1e3

Sets the higher of the two frequencies used in FSK modulation.

real (Hz) - Returns the higher of the two frequencies used in FSK modulation.
Command [:SOUR]:FSK:HIF 1e3
Query [:SOUR]:FSK:HIF?

Sets the lower of the two frequencies used in FSK modulation.

NameTypeValuesDescription
frequencyreal.001 mHz - 50.00 kHzLower FSK frequency.
Command [:SOUR]:FSK:LOWF 1e3
Query [:SOUR]:FSK:LOWF?

Returns the lower of the two frequencies used in FSK modulation.

real (Hz) - The lower FSK frequency.
Query [:SOUR]:FSK:LOWF?

Enables or disables FSK modulation.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONTurns FSK modulation on or off.
Command [:SOUR]:FSK ON
Query [:SOUR]:FSK?

Enable or disable FSK modulation.

enum - Returns the FSK modulation state.
Query [:SOUR]:FSK?
:SOURce:FSK:RATEset / query

Sets the rate of switching between the two frequencies of the modulation.

NameTypeValuesDescription
ratereal10 mHz - 1 kHzSwitching rate between the two FSK modulation frequencies.
Command [:SOUR]:FSK:RATE 1e3
Query [:SOUR]:FSK:RATE?

Returns the rate of switching between the two frequencies of the modulation.

real (Hz) - The FSK switching rate.
Query [:SOUR]:FSK:RATE?

Selects the FSK modulation source as internal or external. If internal, the other FSK settings are effective; if external, the external waveform determines the modulation frequency.

NameTypeValuesDescription
sourceenumINTernal | EXTernalFSK modulation source.
Command [:SOUR]:FSK:SOUR INT
Query [:SOUR]:FSK:SOUR?

Selects the FSK modulation source as internal or external. If internal, the FSK settings are effective; if external, the external waveform determines the modulation frequency.

enum - Returns the selected FSK modulation source.
[:SOUR]:FSK:SOUR?

Sets the second phase (High Phase) used in BPSK modulation.

NameTypeValuesDescription
phasereal0 - 360High phase value for BPSK modulation.

Sets the second phase used in BPSK modulation.

real (degrees) - Returns the current High Phase value used in BPSK modulation.

Sets the first phase (Low Phase) used in BPSK modulation.

NameTypeValuesDescription
phasereal0 - 360Low phase value for BPSK modulation.

Sets the first phase (Low Phase) used in BPSK modulation.

real (degrees) - Returns the current Low Phase setting used in BPSK modulation.
Query [:SOURce]:BPSK:LOWPhase?

Activates or deactivates BPSK modulation.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONActivates or deactivates BPSK modulation.
Command [:SOUR]:BPSK ON
Query [:SOUR]:BPSK?

Activates or deactivates BPSK modulation state.

enum - Returns the BPSK state.
Query [:SOUR]:BPSK?

Sets the rate of switching between the two phases of the modulation.

NameTypeValuesDescription
NRfrealHzFrequency value.
BPSK:RATE 5KHZ
BPSK:RATE?

Sets or queries the rate of switching between the two phases of the modulation.

real - Returns the BPSK switching rate.
BPSK:RATE?

Selects the BPSK modulation source as either internal or external. If internal, the BPSK settings take effect; if external, the external waveform determines the phase switching.

NameTypeValuesDescription
sourceenumINTernal | EXTernalSelects the BPSK modulation source.
Command [:SOURce]:BPSK:SOURce <string>
Query [:SOURce]:BPSK:SOURce?

Selects the BPSK modulation source as either internal or external. If internal, the above settings are effective; if external, the external waveform determines the phase switching.

enum - Returns the BPSK modulation source setting.
[:SOURce]:BPSK:SOURce?
[:SOUR]:BPSK:SOUR?

Set the PM modulation deviation.

NameTypeValuesDescription
deviationreal0 - 360PM modulation deviation.
:SOURce:PM:DEV 50

Sets or queries the PM modulation deviation.

real (degrees) - Returns the PM modulation deviation.
Command [:SOUR]:PM:DEV 50
Query [:SOUR]:PM:DEV?
:SOURce:PM:SHAPeset / query

Selects the PM modulating waveform shape.

NameTypeValuesDescription
shapeenumSIN | SQU | TRIPM modulating waveform shape.
Command [:SOUR]:PM:SHAP SIN
Query [:SOUR]:PM:SHAP?

Selects the PM modulating waveform shape.

enum - Returns the current PM modulating waveform shape.
Query [:SOUR]:PM:SHAP?

Enables or disables phase modulation.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnable or disable phase modulation.
Command [:SOUR]:PM:STAT ON
Query [:SOUR]:PM:STAT?

Enable or disable phase modulation.

enum - Returns the phase modulation state.
Query [:SOUR]:PM:STAT?

Set the PM modulating waveform frequency.

NameTypeValuesDescription
<NRf>real10 mHz - 20 kHzPM modulating waveform frequency.
Command [:SOUR]:PM:FREQ 1e3
Query [:SOUR]:PM:FREQ?

Sets the PM modulating waveform frequency.

real (Hz) - Returns the PM modulating waveform frequency.
Query [:SOUR]:PM:FREQ?

Select the PM modulation source as internal or external. If internal, the above settings are effective; if external, the external waveform determines the deviation, shape, and frequency of modulation.

NameTypeValuesDescription
sourceenumINTernal | EXTernalPM modulation source.
Command [:SOUR]:PM:SOUR INT
Query [:SOUR]:PM:SOUR?

Selects the PM modulation source as internal or external. If internal, the PM settings above are effective; if external, the external waveform determines the deviation, shape, and frequency of modulation.

NameTypeValuesDescription
stringenumINTernal | EXTernalSelects the PM modulation source.
enum - Returns the selected PM modulation source.
Command [:SOUR]:PM:SOUR INT
Query [:SOUR]:PM:SOUR?

Sets the sweep spacing as either linear or logarithmic.

NameTypeValuesDescription
spacingenumLINear | LOGarithmicSelects the sweep spacing mode.
Command SOURce:SWEEP:SPACing LIN
Query SOURce:SWEEP:SPACing?

Sets the sweep spacing as either linear or logarithmic.

enum - Returns the current sweep spacing setting.
Command SOURce:SWEEP:SPACing LIN
Query SOURce:SWEEP:SPACing?

Sets the start frequency of the sweep.

NameTypeValuesDescription
start frequencyreal.001 mHz - 50 MHzStart frequency of the sweep.
Command SOURce:SWEEP:STARt 1e3

Sets the start frequency of the sweep.

real (Hz) - Returns the start frequency of the sweep.
Query SOURce:SWEEP:STARt?

Enables or disables the sweep function.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONSweep state enable/disable value.
Command SOUR:SWEEP:STAT ON
Query SOUR:SWEEP:STAT?

Enable or disable the sweep function.

enum - Returns the current sweep state.
Query SOUR:SWEEP:STAT?

Set the stop frequency of the sweep.

NameTypeValuesDescription
NRfreal.001 mHz - 50 MHzStop frequency of the sweep.
Command SOURce:SWEEP:STOP 10e3
Query SOURce:SWEEP:STOP?

Returns the stop frequency of the sweep.

real (Hz) - The present stop frequency of the sweep.
SOURce:SWEEP:STOP?

Sets both the rising and falling edge of the pulse to the specified value simultaneously.

NameTypeValuesDescription
<NRf>real10 nsPulse edge time to set for both rising and falling edges.
Command SOURce:PULse:EDGe 10 ns
Query SOURce:PULse:EDGe?

Sets both the rising and falling edge of the pulse to the specified value simultaneously.

real (ns) - Returns the pulse edge value.
Query SOURce:PULse:EDGe?

Sets the pulse period to the specified value, effectively setting the pulse frequency.

NameTypeValuesDescription
<NRf>real40 ns - 1000 sPulse period value.
Command SOURce:PULse:PERiod 1
Query SOURce:PULse:PERiod?

Sets the pulse period to the specified value, which effectively sets the pulse frequency.

NameTypeValuesDescription
<NRf>real40 ns - 1000 sPulse period value.
returns
Command SOURce:PULse:PERiod 1
Query SOURce:PULse:PERiod?

Sets the pulse width to the specified value.

NameTypeValuesDescription
widthreal20 nsPulse width value.

Queries the pulse width setting.

real (s) - Returns the pulse width to the specified value.
Query SOUR:PUL:WID?

Sets the falling edge time of the pulse.

NameTypeValuesDescription
<NRf>real10 nsFalling edge time of the pulse.
Command SOURce:PULse:FALI 1e-6

Sets the falling edge time of the pulse.

real (s) - Returns the present falling edge time of the pulse.
Command SOURce:PULse:FALI 1e-6
Query SOURce:PULse:FALI?

Sets the rising edge time of the pulse.

NameTypeValuesDescription
<NRf>real10 nsPulse rise time; minimum is 10 ns and maximum is defined by period and width.
Command SOURce:PULse:RISe 1e-6
Query SOURce:PULse:RISe?

Sets or queries the rising edge time of the pulse.

real (s) - Returns the rising edge time of the pulse.
Command SOURce:PULse:RISe 1e-6
Query SOURce:PULse:RISe?

:OUTPut:STATeset / query

Enable or disable the output.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONSelects whether the output is enabled or disabled.
Command OUTP:STAT 1
Query OUTP:STAT?

Enable or disable the output state.

enum - Returns the present output state.
Query OUTP:STAT?
:OUTPut:TERMset / query

Set whether the 50 Ohm terminator is ON or OFF.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONSelects the output terminator state.
Command OUTP:TERM 1
Query OUTP:TERM?

Sets whether the 50 Ohm terminator is ON or OFF.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONSelects the output termination state.
OUTP:TERM 1
OUTP:TERM?

:TRIGger:MODEset / query

Sets the trigger mode. This command is not a standard SCPI command.

NameTypeValuesDescription
modeenumCONTinuous | TRIGger | GATE | BURStTrigger mode to use.
Command TRIG:MODE CONT
Query TRIG:MODE?

Returns the current trigger mode. The command is not a standard SCPI command.

enum - The present trigger mode.
Query TRIG:MODE?
:TRIGger:SOURceset / query

Selects the trigger source for use in the Trigger, Gate, and Burst trigger modes.

NameTypeValuesDescription
sourceenumMANual | BUS | INTernal | EXTernalTrigger source selection.
Command TRIG:SOUR INT
Query TRIG:SOUR?

Selects the trigger source for use in the Trigger, Gate, and Burst trigger modes.

enum - Returns the current trigger source.
Query TRIG:SOUR?
:TRIGger:BURStset / query

Sets the number of cycles to be output in BURST mode. This is not a standard SCPI command.

NameTypeValuesDescription
countinteger2 - 999999Number of cycles to output in BURST mode.
Command TRIG:BURS 10
Query TRIG:BURS?

Returns the burst count used in BURST mode. This is not a standard SCPI command.

integer - The number of cycles to be output in BURST mode.
Query TRIG:BURS?
:TRIGger:LEVelset / query

Selects the trigger level/polarity for use in the Trigger, Gate, and Burst external trigger modes.

NameTypeValuesDescription
levelenumHigh | LOWTrigger level/polarity setting.

Selects the trigger level/polarity for use in the Trigger, Gate, and Burst external trigger modes.

enum - Returns the current trigger level/polarity setting.
Query TRIG:LEV?
:TRIGger:TIMerset / query

Sets the rate of the internal trigger.

NameTypeValuesDescription
timerreal1 μs - 100 sInternal trigger rate.
Command TRIG:TIM 1e-3
Query TRIG:TIM?

Sets the rate of the internal trigger.

NameTypeValuesDescription
ratereal1 μs - 100 sInternal trigger rate.
real (s) - Returns the internal trigger rate.
Command TRIG:TIM 1e-3
Query TRIG:TIM?

Sets the current address of the waveform. It is used to determine what address the arbitrary data is written to.

NameTypeValuesDescription
<NR1>integer1 - 16,000,000Current address of the waveform.
Command ARB:ADDR 1e3
Query ARB:ADDR?

Returns the current address of the waveform. The address determines where arbitrary data is written.

integer - The current address of the waveform.
Query ARB:ADDR?
:ARBitrary:PRATeset / query

Sets the point rate. It is coupled with the waveform frequency by the relation Frequency = 1/(PointRate × Wavelength).

NameTypeValuesDescription
<NRf>real4 ns - 100 sPoint rate value.
Command ARB:PRAT 6e-6
Query ARB:PRAT?

Returns the current point rate. The point rate is coupled with waveform frequency by the relation shown in the manual.

real (s) - Returns the current point rate.
ARB:PRAT?
:ARBitrary:DATAset / query

Sets the values of the waveform. Values can be entered numerically or transferred through a definite or indefinite arbitrary block.

NameTypeValuesDescription
datablock-Waveform data to load, either as numeric values or as an arbitrary block.
Command ARB:DATA 100,200,1000
Query ARB:DATA? 100, ASC

Returns arbitrary waveform data in a specified format. The query takes a point count and a format specifier.

NameTypeValuesDescription
pointsinteger1 - 16000000Number of points to return.
formatenumASC | HEXData format to use for the returned waveform data.
block - Waveform data for the requested number of points in the specified format.
Query ARB:DATA? 100, ASC
:ARBitrary:DRAWset / query

Generates a straight line between two points in the arbitrary waveform memory.

NameTypeValuesDescription
startinteger1 - 16,000,000Start address in arbitrary waveform memory.
stopinteger1 - 16,000,000Stop address in arbitrary waveform memory.
ARB:DRAW 1,1000
:ARBitrary:CLEarset / query

Clears all or part of waveform memory and sets the cleared memory to zero.

NameTypeValuesDescription
startinteger1 - 16,000,000Start address of the range to clear.
stopinteger1 - 16,000,000Stop address of the range to clear.
Command ARB:CLE 1,1000
:ARBitrary:COPYset / query

Copies a section of waveform memory to a different location in waveform memory.

NameTypeValuesDescription
startinteger1 - 16,000,000Starting address of the source segment.
lengthinteger-Length of the segment to copy.
destinteger1 - 16,000,000Destination address for the copied segment.
Command ARB:COPY 1,1000,1001

Loads the waveform memory with a specific type of waveform.

NameTypeValuesDescription
shapeenumSINusoid | SQUare | TRIangle | NOISE | URAMP | DRAMP | EXPUp | EXPDnWaveform shape to load into memory.
startinteger-Start address for loading the waveform.
lengthinteger16 - 65kNumber of points to load; constraint depends on waveform shape.
scalereal1 - 100Percentage of full scale used for the waveform.
Command ARB:PRED SIN,1,1000,100

Sets the length of the waveform being run.

NameTypeValuesDescription
lengthreal2 - 16,000,000Length of the waveform being run.

Sets the length of the waveform being run.

real - Returns the length of the waveform being run.
Query ARB:LENG?

Sets the address of the marker.

NameTypeValuesDescription
addressreal1 - 16,000,000Marker address value.
Command ARB:MARK:ADDR 45
Query ARB:MARK:ADDR?

Sets the address of the marker.

real - Returns the marker address.
Command ARB:MARK:ADDR 45
Query ARB:MARK:ADDR?
:ARBitrary:STARtset / query

Sets the start address of the waveform to be run.

NameTypeValuesDescription
NR1integer1 - 15,999,999Start address of the waveform to be run.
Command ARB:STAR 100

Returns the start address of the waveform to be run.

integer - The start address of the waveform to be run.
Query ARB:STAR?

Sets the marker length.

NameTypeValuesDescription
lengthinteger1 - 4,000Marker length value.
Command ARB:MARK:LENG 5
Query ARB:MARK:LENG?

Enables or disables the marker.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONEnables or disables the marker.
Command ARB:MARK:STAT ON
Query ARB:MARK:STAT?
:ARBitrary:SAVeset / query

Saves all unsaved arbitrary waveform data into one of the non-volatile memory locations.

NameTypeValuesDescription
locationinteger1 - 8Non-volatile memory location to save the arbitrary waveform data into.
Command ARB:SAV 1
:ARBitrary:LOADset / query

Loads all arbitrary waveform data from one of the non-volatile memory locations.

NameTypeValuesDescription
NR1integer1 - 8Selects the non-volatile memory location to load from.
Command ARB:LOAD 1

:STATus:PRESetset / query

Sets certain status values to default values.

Command STAT:PRES

Returns the first entry in the error queue and removes that entry from the queue. It is identical in function to SYSTem:ERRor?.

string - Returns the error number and error description from the first entry in the error queue.
Command STAT:QUE?

Enables individual error codes to be placed in the error queue when they occur. Errors not specified by the command are disabled from being reported in the queue.

NameTypeValuesDescription
codestring-Error code list.
Command STAT:QUE:ENAB (-440:-410,-258:-220,402,-110)

Set and query the value of the positive transition filter.

NameTypeValuesDescription
NR1integer0 - 131,072Positive transition filter value.
integer - Returns the positive transition filter value.
Command STATUS:QueSTionable:PTR 100
Query STATUS:QueSTionable:PTR?

Queries the value of the positive transition filter in the Questionable status subsystem.

integer - Returns the current positive transition filter value.
Query STATUS:QUEstionable:PTR?

Reads the questionable status event register. Reading the register clears it.

integer - Returns the event register value.
Query STAT:QUES:EVEN?

Sets and queries the value of the negative transition filter in the questionable status subsystem.

NameTypeValuesDescription
nr1integer0 - 131,072Negative transition filter value.
integer - Returns the current negative transition filter value.
Command STATUS:QUEStionable:NTR 0
Query STATUS:QUEStionable:NTR?

Set and query the value of the negative transition filter.

integer - Returns the negative transition filter value.

Set and query the value of the questionable status event enable register.

NameTypeValuesDescription
numeric valueinteger0 - 131,072Numeric enable register value.
integer - Returns the current value of the enable register as an NR1 numeric response.
STATus:QUEStionable:ENABle 0
STAT:QUES:ENAB?

Sets and queries the value of the Questionable Status Enable register.

NameTypeValuesDescription
numeric valueinteger0 - 131,072Enable register value.
integer - Returns the enable register value as an NR1 integer.
Command STATus:QUEStionable:ENABle 0
Query STAT:QUES:ENAB?

Sets the GPIB address. Setting the address to 31 puts the instrument in the off-bus state; using MAX sets the address to 30, not 31.

NameTypeValuesDescription
addressinteger0 - 31GPIB primary address to set.
SYSTEM:COMM:GPIB:ADDR 1

Returns or sets the GPIB address. Setting the address to 31 puts the instrument in the off-bus state; MAX sets the address to 30, not 31.

integer - Returns the current GPIB address.
Query SYSTEM:COMM:GPIB:ADDR?

Returns the first entry in the error queue and removes that entry from the queue. It is identical in function to the STATus:QUEue:NEXT? query.

string - Returns the error number and error description.
Query SYSTem:ERRor?
:SYSTem:POBufferset / query

Sets the power-on buffer settings. The instrument will power on with the settings stored in that buffer.

NameTypeValuesDescription
bufferinteger0 - 49Power-on buffer number to use.
Command SYSTem:POBuffer 10
Query SYSTem:POBuffer?

Returns the current power-on buffer setting. The instrument will power on with the settings stored in that buffer.

integer - The power-on buffer number.
Query SYSTem:POBuffer?

Clears the instrument memory when the security state is changed from ON to OFF (factory reset).

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONSets the security state.

Queries the instrument security state. The security state controls whether changing it from ON to OFF clears instrument memory and arbitrary waveform memory (factory reset).

enum - Returns the current security state.
Query SYSTem:SECurity:STATe?

Reads the SCPI version to which the instrument complies.

real - Returns the SCPI version number.
Query SYSTem:VERSion?

:RF:FREQuencyset / query

Sets the frequency of the output waveform.

NameTypeValuesDescription
NRfreal50 MHz - 3 GHzFrequency value to set.
qualifieroptenumMIN | MAXOptional keyword to set the frequency to the minimum or maximum allowed value.
Command RF:FREQ 3G
Query RF:FREQ?

Returns the present RF frequency of the output waveform.

real (Hz) - Returns the RF frequency of the output waveform.
RF:FREQ?
:RF:LEVelset / query

Sets the amplitude of the output waveform.

NameTypeValuesDescription
levelreal-110.00 - 13.00Amplitude level in dBm.
unitenumdBm | VrmsUnits for the amplitude setting.
Command RF:LEV -110 dBm
Query RF:LEV?

Sets the RF output amplitude. The amplitude can be set in either dBm or Vrms within the ranges shown in Table 19.1.

NameTypeValuesDescription
<NRf>real-110.00 dBm - 13.00 dBmRF output amplitude when using dBm units.
<unit>enumdBm | VrmsUnits for the amplitude value.
Command RF:LEV -110 dBm
Query RF:LEV?
:RF:AM:DEPTHset / query

Sets the AM modulation depth in percentage.

NameTypeValuesDescription
depthreal0 - 100AM modulation depth in percent.
Command RF:AM:DEPT 50

Returns the AM modulation depth in percentage.

real (%) - The present AM modulation depth in percent.
:RF:AM:SHAPeset / query

Selects the AM modulating waveform shape.

NameTypeValuesDescription
shapeenumSIN | SQU | TRIAM modulating waveform shape.
Command RF:AM:SHAP SIN
Query RF:AM:SHAP?

Selects the AM modulating waveform shape.

enum - Returns the selected AM modulating waveform shape.
Query RF:AM:SHAP?
:RF:AM:STATeset / query

Enables or disables AM modulation.

NameTypeValuesDescription
stateenum0 | 1 | OFF | ONEnables or disables AM modulation.
Command RF:AM:STAT ON
Query RF:AM:STAT?

Enables or disables AM modulation.

enum - Returns the AM modulation state.
:RF:AM:FREQuencyset / query

Sets the AM modulating waveform frequency.

NameTypeValuesDescription
<NRf>real10 mHz - 20 kHzAM modulating waveform frequency.
Command RF:AM:FREQ 1e3
Query RF:AM:FREQ?

Sets the AM modulating waveform frequency.

NameTypeValuesDescription
NRfreal10 mHz - 20 kHzAM modulating waveform frequency.
Command RF:AM:FREQ 1e3
Query RF:AM:FREQ?
:RF:AM:RFset / query

Sets the AM modulation RF as either internal or external. If internal is selected, the above AM settings are effective; if external is selected, the external waveform determines depth, shape, and frequency of modulation.

NameTypeValuesDescription
stringenumINTernal | EXTernalSelects whether the AM modulation RF source is internal or external.
Command RF:AM:SOUR INT
Query RF:AM:SOUR?

Returns the RF AM modulation source. Internal uses the AM settings above; external uses the external waveform to determine depth, shape, and frequency of modulation.

enum - Returns whether the AM modulation source is internal or external.
Query RF:AM:SOUR?
:RF:FM:DEViationset / query

Sets the FM modulation deviation.

NameTypeValuesDescription
deviationreal10 mHz - 1 MHzFM modulation deviation.
qualifieroptenumMIN | MAXSelects the minimum or maximum allowable deviation.
Command RF:FM:DEV 1MHz

Sets the FM modulation deviation.

real (Hz) - Returns the FM modulation deviation.
:RF:FM:SHAPeset / query

Selects the FM modulating waveform shape.

NameTypeValuesDescription
shapeenumSIN | SQU | TRIFM modulating waveform shape.

Selects the FM modulating waveform shape.

enum - Returns the current FM modulating waveform shape.
:RF:FM:STATeset / query

Activates or deactivates FM modulation.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables FM modulation.
enum - Returns the FM modulation state.
Command RF:FM:STAT ON
Query RF:FM:STAT?

Activates or deactivates FM modulation.

enum - Returns whether FM modulation is enabled or disabled.
Query RF:FM:STAT?
:RF:FM:FREQuencyset / query

Sets the FM modulating waveform frequency.

NameTypeValuesDescription
NRfreal10 mHz - 100 kHzModulating waveform frequency.
qualifieroptenumMIN | MAXSets the frequency to the minimum or maximum allowed value.
Command RF:FM:FREQ 1 KHz
Query RF:FM:FREQ?

Sets the FM modulating waveform frequency.

NameTypeValuesDescription
NRfreal10 mHz - 100 kHzFM modulating waveform frequency.
real (Hz) - Returns the FM modulating waveform frequency.
Query RF:FM:FREQ?
:RF:FM:SOURceset / query

Selects the FM modulation source as either internal or external. When internal is selected, the other FM settings are effective; when external is selected, the external waveform determines deviation, shape, and modulation frequency.

NameTypeValuesDescription
sourceenumINTernal | EXTernalFM modulation source.
enum - Returns the FM modulation source setting.
Command RF:FM:SOUR INT
Query RF:FM:SOUR?

Selects the FM modulation source as internal or external. Internal uses the FM settings above; external uses the external waveform to determine deviation, shape, and modulation frequency.

NameTypeValuesDescription
sourceenumINTernal | EXTernalFM modulation source.
enum - Returns the FM modulation source setting.
Command RF:FM:SOUR INT
Query RF:FM:SOUR?
:RF:PM:DEViationset / query

Sets the PM modulation deviation.

NameTypeValuesDescription
deviationreal0 - 6.2PM modulation deviation.
qualifieroptenumMIN | MAXSelects the minimum or maximum deviation.

Sets the PM modulation deviation.

NameTypeValuesDescription
deviationreal0 - 6.2PM modulation deviation.
real - Returns the PM modulation deviation.
Command RF:PM:DEV 3.14
Query RF:PM:DEV?
:RF:PM:SHAPeset / query

Selects the PM modulating waveform shape.

NameTypeValuesDescription
shapeenumSIN | SQU | TRIPM modulating waveform shape.
Command RF:PM:SHAP SIN
Query RF:PM:SHAP?

Selects the PM modulating waveform shape.

enum - Returns the PM modulating waveform shape.
Query RF:PM:SHAP?
:RF:PM:STATeset / query

Activates or deactivates PM modulation.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONTurns PM modulation off or on.

Activates or deactivates PM modulation.

enum - Returns the PM modulation state.
:RF:PM:FREQuencyset / query

Sets the PM modulating waveform frequency.

NameTypeValuesDescription
frequencyreal10 mHz - 100 kHzPM modulating waveform frequency.
qualifieroptenumMIN | MAXUse MIN or MAX to set the minimum or maximum frequency.
Command RF:PM:FREQ 1kHz
Query RF:PM:FREQ?

Sets the PM modulating waveform frequency.

real (Hz) - Returns the PM modulating waveform frequency.
Query RF:PM:FREQ?
:RF:PM:SOURceset / query

Selects the PM modulation source as either internal or external. When internal is selected, the PM settings above are effective; when external is selected, the external waveform determines deviation, shape, and frequency of modulation.

NameTypeValuesDescription
sourceenumINTernal | EXTernalSelects the PM modulation source.
Command RF:PM:SOUR INT
Query RF:PM:SOUR?

Selects the PM modulation source as internal or external. When internal is selected, the PM settings above are effective; when external is selected, the external waveform determines deviation, shape, and modulation frequency.

NameTypeValuesDescription
sourceenumINTernal | EXTernalPM modulation source.
enum - Returns the PM modulation source.
Command RF:PM:SOUR INT
Query RF:PM:SOUR?

Sets the RF pulse modulating waveform’s frequency.

NameTypeValuesDescription
frequencyreal10 mHz - 20 kHzRF pulse modulating waveform frequency.
Command RF:PUL:FREQ 1e3
Query RF:PUL:FREQ?

Sets the RF pulse modulating waveform’s frequency.

real (Hz) - Returns the RF pulse modulating waveform’s frequency.
Query RF:PUL:FREQ?
:RF:PULse:SOURceset / query

Sets the RF pulse modulation source as internal or external. Internal uses the pulse modulation settings above; external uses the external waveform to determine modulation depth, shape, and frequency.

NameTypeValuesDescription
sourceenumINTernal | EXTernalSelects the RF pulse modulation source.
Command RF:PUL:SOUR INT
Query RF:PUL:SOUR?

Sets the RF pulse modulation source as either internal or external. The internal source makes the pulse modulation settings effective; the external source lets the external waveform determine modulation depth, shape, and frequency.

enum - Returns the RF pulse modulation source.
Query RF:PUL:SOUR?
:RF:PULse:STATeset / query

Enables or disables pulse modulation.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnables or disables pulse modulation.

Enables or disables pulse modulation.

enum - Returns the present RF pulse state.
Command RF:PUL:STAT ON
Query RF:PUL:STAT?

Sets the sweep spacing as either linear or logarithmic.

NameTypeValuesDescription
spacingenumLINear | LOGarithmicSelects the sweep spacing mode.
Command RF:SWEEP:SPACing LIN
Query RF:SWEEP:SPACing?

Sets the sweep spacing as either linear or logarithmic.

enum - Returns the current sweep spacing setting.
Query RF:SWEEP:SPACing?
:RF:SWEEP:STATeset / query

Enables or disables the sweep function.

NameTypeValuesDescription
boolenum0 | 1 | OFF | ONEnable or disable the sweep function.
Command RF:SWEEP:STAT ON
Query RF:SWEEP:STAT?

Enable or disable the sweep function.

enum - Returns the present sweep state.
Query RF:SWEEP:STAT?
:RF:SWEEP:TIMEset / query

Sets the time for one complete sweep.

NameTypeValuesDescription
timereal10 ms - 500 sSweep time value.
qualifieroptenumMIN | MAXUse MIN or MAX to select the minimum or maximum sweep time.
Command SWEEP:TIME 10e-3
Query SWEEP:TIME?

Sets or queries the time for one complete sweep.

real (s) - Returns the sweep time for one complete sweep.
Query SWEEP:TIME?
:RF:SWEEP:STARtset / query

Sets the start frequency of the sweep.

NameTypeValuesDescription
NRfreal50 MHz - 3 GHzStart frequency of the sweep.
qualifieroptenumMIN | MAXSelects the minimum or maximum allowed start frequency.
real (Hz) - Returns the start frequency of the sweep.
RF:SWEEP:STARt 3GHz
RF:SWEEP:STARt?

Returns the start frequency of the sweep. Sets the start frequency of the sweep.

real (Hz) - The start frequency of the sweep.
RF:SWEEP:STARt?
:RF:SWEEP:STOPset / query

Sets the stop frequency of the sweep.

NameTypeValuesDescription
nrfreal50 MHz - 3 GHzStop frequency value for the sweep.
qualifieroptenumMIN | MAXKeyword alternative to the numeric stop frequency.
Command RF:SWEEP:STOP 3GHz

Sets the stop frequency of the sweep.

real (Hz) - Returns the present stop frequency of the sweep.