Clears the Standard Event Register, Query Event Register, and Status Bit Group Register.
Command *CLS
SCPI COMMAND REFERENCE
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
Clears the Standard Event Register, Query Event Register, and Status Bit Group Register.
Command *CLS
Queries the value of the Standard Event Enable Register.
Query *ESE?
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.
Query *ESR?
Queries the model number, serial number, and version number of the instrument.
Query *IDN?
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.
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.
Query *OPC?
Resets the power supply to the factory setting state.
Command *RST
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.
Query *SRE?
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.
Query *STB?
Sets and queries the frequency of the output waveform.
Sets and queries the frequency of the output waveform.
| Name | Type | Values | Description |
|---|---|---|---|
| modeopt | enum | CW | FIXed | Selects the frequency mode; FIXed is an alias for CW. |
| NRf | real | .001 mHz - 50 MHz | Sets the output frequency. |
Command SOURC:FREQ:FIX 2E6 Query SOURC:FREQ?
Queries the type of waveform to be generated by the instrument.
Query SOUR:FUNC?
Sets the type of waveform to be generated by the instrument.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SINsusoid | SQUare | TRIangle | ARBitrary | PULSE | Waveform 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.
Sets the peak-to-peak amplitude of the output waveform. The amplitude and offset are limited by the relation Peak Amplitude + |Offset| 5 V.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 1 mVp-p - 10 Vp-p | Peak-to-peak amplitude of the output waveform. |
Selects the source of the arbitrary waveform clock.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | Clock reference source. |
Command SOUR:REF INT Query SOUR:REF?
Selects the source of the arbitrary waveform clock.
SOUR:REF? SOUR:REF?
Returns the 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.
| Name | Type | Values | Description |
|---|---|---|---|
| offset | real | -2.500 V - 2.500 V | DC offset of the output waveform. |
SOUR:VOLT:OFFS 1
Sets the duty cycle of the square wave.
| Name | Type | Values | Description |
|---|---|---|---|
| NR1 | real | 5% - 95% | Duty cycle value. |
Command SOUR:DCYC 25 Query SOUR:DCYC?
Sets the duty cycle of the square wave.
| Name | Type | Values | Description |
|---|---|---|---|
| NR1 | real | 5% - 95% | Duty cycle value. |
Command SOUR:DCYC 25 Query SOUR:DCYC?
Sets the AM modulation depth in percentage.
| Name | Type | Values | Description |
|---|---|---|---|
| depth | real | 0 - 100 | AM modulation depth in percent. |
Command [:SOUR]:AM:DEPT 50 Query [:SOUR]:AM:DEPT?
Returns the AM modulation depth in percentage.
Selects the AM modulating waveform shape.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SIN | SQU | TRI | AM modulating waveform shape to use. |
Command [:SOUR]:AM:SHAP SIN Query [:SOUR]:AM:SHAP?
Selects the AM modulating waveform shape.
Query [:SOUR]:AM:SHAP?
Activates or deactivates AM modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Enables or disables AM modulation. |
Command [:SOUR]:AM ON Query [:SOUR]:AM?
Activates or deactivates AM modulation.
Query [:SOUR]:AM?
Set the AM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 10 mHz - 20 kHz | AM modulating waveform frequency. |
Command [:SOUR]:AM:FREQ 1e3 Query [:SOUR]:AM:FREQ?
Returns 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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | AM 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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | AM modulation source. |
Command [:SOUR]:AM:SOUR INT Query [:SOUR]:AM:SOUR?
Set the FM modulation deviation.
| Name | Type | Values | Description |
|---|---|---|---|
| deviation | real | 10 mHz - 500 Hz | FM modulation deviation. |
Sets the FM modulation deviation.
| Name | Type | Values | Description |
|---|---|---|---|
| deviation | real | 10 mHz - 500 Hz | FM modulation deviation. |
Command [:SOUR]:FM:DEV 50
Selects the FM modulating waveform shape.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SIN | SQU | TRI | Sets the FM modulating waveform shape. |
Command [:SOUR]:FM SHAP SIN Query [:SOUR]:FM SHAP?
Selects the FM modulating waveform shape.
Activate or deactivate FM modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | OFF | ON | Enables or disables FM modulation. |
Command [:SOUR]:FM ON Query [:SOUR]:FM?
Activates or deactivates FM modulation.
Query [:SOUR]:FM?
Sets the FM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 10 mHz - 20 kHz | FM modulating waveform frequency. |
Command [:SOUR]:FM:FREQ 1e3 Query [:SOUR]:FM:FREQ?
Sets or queries 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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | FM 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.
Command [:SOUR]:FM:SOUR INT Query [:SOUR]:FM:SOUR?
Set the higher of the two frequencies used in FSK modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| frequency | real | .001 mHz - 50.00 kHz | Higher FSK frequency to set. |
Command [:SOUR]:FSK:HIF 1e3
Sets 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.
| Name | Type | Values | Description |
|---|---|---|---|
| frequency | real | .001 mHz - 50.00 kHz | Lower FSK frequency. |
Command [:SOUR]:FSK:LOWF 1e3 Query [:SOUR]:FSK:LOWF?
Returns the lower of the two frequencies used in FSK modulation.
Query [:SOUR]:FSK:LOWF?
Enables or disables FSK modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | OFF | ON | Turns FSK modulation on or off. |
Command [:SOUR]:FSK ON Query [:SOUR]:FSK?
Enable or disable FSK modulation.
Query [:SOUR]:FSK?
Sets the rate of switching between the two frequencies of the modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| rate | real | 10 mHz - 1 kHz | Switching 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.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | FSK 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.
[:SOUR]:FSK:SOUR?
Sets the second phase (High Phase) used in BPSK modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| phase | real | 0 - 360 | High phase value for BPSK modulation. |
Sets the second phase used in BPSK modulation.
Sets the first phase (Low Phase) used in BPSK modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| phase | real | 0 - 360 | Low phase value for BPSK modulation. |
Sets the first phase (Low Phase) used in BPSK modulation.
Query [:SOURce]:BPSK:LOWPhase?
Activates or deactivates BPSK modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Activates or deactivates BPSK modulation. |
Command [:SOUR]:BPSK ON Query [:SOUR]:BPSK?
Activates or deactivates BPSK modulation state.
Query [:SOUR]:BPSK?
Sets the rate of switching between the two phases of the modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | Hz | Frequency value. |
BPSK:RATE 5KHZ BPSK:RATE?
Sets or queries the rate of switching between the two phases of the modulation.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | Selects 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.
[:SOURce]:BPSK:SOURce? [:SOUR]:BPSK:SOUR?
Set the PM modulation deviation.
| Name | Type | Values | Description |
|---|---|---|---|
| deviation | real | 0 - 360 | PM modulation deviation. |
:SOURce:PM:DEV 50
Sets or queries the PM modulation deviation.
Command [:SOUR]:PM:DEV 50 Query [:SOUR]:PM:DEV?
Selects the PM modulating waveform shape.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SIN | SQU | TRI | PM modulating waveform shape. |
Command [:SOUR]:PM:SHAP SIN Query [:SOUR]:PM:SHAP?
Selects the PM modulating waveform shape.
Query [:SOUR]:PM:SHAP?
Enables or disables phase modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Enable or disable phase modulation. |
Command [:SOUR]:PM:STAT ON Query [:SOUR]:PM:STAT?
Enable or disable phase modulation.
Query [:SOUR]:PM:STAT?
Set the PM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 10 mHz - 20 kHz | PM modulating waveform frequency. |
Command [:SOUR]:PM:FREQ 1e3 Query [:SOUR]:PM:FREQ?
Sets 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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | PM 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.
| Name | Type | Values | Description |
|---|---|---|---|
| string | enum | INTernal | EXTernal | Selects the PM modulation source. |
Command [:SOUR]:PM:SOUR INT Query [:SOUR]:PM:SOUR?
Sets the sweep spacing as either linear or logarithmic.
| Name | Type | Values | Description |
|---|---|---|---|
| spacing | enum | LINear | LOGarithmic | Selects the sweep spacing mode. |
Command SOURce:SWEEP:SPACing LIN Query SOURce:SWEEP:SPACing?
Sets the sweep spacing as either linear or logarithmic.
Command SOURce:SWEEP:SPACing LIN Query SOURce:SWEEP:SPACing?
Sets the start frequency of the sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| start frequency | real | .001 mHz - 50 MHz | Start frequency of the sweep. |
Command SOURce:SWEEP:STARt 1e3
Sets the start frequency of the sweep.
Query SOURce:SWEEP:STARt?
Enables or disables the sweep function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Sweep state enable/disable value. |
Command SOUR:SWEEP:STAT ON Query SOUR:SWEEP:STAT?
Enable or disable the sweep function.
Query SOUR:SWEEP:STAT?
Set the stop frequency of the sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | .001 mHz - 50 MHz | Stop frequency of the sweep. |
Command SOURce:SWEEP:STOP 10e3 Query SOURce:SWEEP:STOP?
Returns the stop frequency of the sweep.
SOURce:SWEEP:STOP?
Sets both the rising and falling edge of the pulse to the specified value simultaneously.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 10 ns | Pulse 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.
Query SOURce:PULse:EDGe?
Sets the pulse period to the specified value, effectively setting the pulse frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 40 ns - 1000 s | Pulse 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 40 ns - 1000 s | Pulse period value. |
Command SOURce:PULse:PERiod 1 Query SOURce:PULse:PERiod?
Sets the pulse width to the specified value.
| Name | Type | Values | Description |
|---|---|---|---|
| width | real | 20 ns | Pulse width value. |
Queries the pulse width setting.
Query SOUR:PUL:WID?
Sets the falling edge time of the pulse.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 10 ns | Falling edge time of the pulse. |
Command SOURce:PULse:FALI 1e-6
Sets the falling edge time of the pulse.
Command SOURce:PULse:FALI 1e-6 Query SOURce:PULse:FALI?
Sets the rising edge time of the pulse.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 10 ns | Pulse 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.
Command SOURce:PULse:RISe 1e-6 Query SOURce:PULse:RISe?
Enable or disable the output.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Selects whether the output is enabled or disabled. |
Command OUTP:STAT 1 Query OUTP:STAT?
Enable or disable the output state.
Query OUTP:STAT?
Set whether the 50 Ohm terminator is ON or OFF.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Selects the output terminator state. |
Command OUTP:TERM 1 Query OUTP:TERM?
Sets whether the 50 Ohm terminator is ON or OFF.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Selects the output termination state. |
OUTP:TERM 1 OUTP:TERM?
Sets the trigger mode. This command is not a standard SCPI command.
| Name | Type | Values | Description |
|---|---|---|---|
| mode | enum | CONTinuous | TRIGger | GATE | BURSt | Trigger mode to use. |
Command TRIG:MODE CONT Query TRIG:MODE?
Returns the current trigger mode. The command is not a standard SCPI command.
Query TRIG:MODE?
Selects the trigger source for use in the Trigger, Gate, and Burst trigger modes.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | MANual | BUS | INTernal | EXTernal | Trigger source selection. |
Command TRIG:SOUR INT Query TRIG:SOUR?
Selects the trigger source for use in the Trigger, Gate, and Burst trigger modes.
Query TRIG:SOUR?
Sets the number of cycles to be output in BURST mode. This is not a standard SCPI command.
| Name | Type | Values | Description |
|---|---|---|---|
| count | integer | 2 - 999999 | Number 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.
Query TRIG:BURS?
Selects the trigger level/polarity for use in the Trigger, Gate, and Burst external trigger modes.
| Name | Type | Values | Description |
|---|---|---|---|
| level | enum | High | LOW | Trigger level/polarity setting. |
Selects the trigger level/polarity for use in the Trigger, Gate, and Burst external trigger modes.
Query TRIG:LEV?
Sets the rate of the internal trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| timer | real | 1 μs - 100 s | Internal trigger rate. |
Command TRIG:TIM 1e-3 Query TRIG:TIM?
Sets the rate of the internal trigger.
| Name | Type | Values | Description |
|---|---|---|---|
| rate | real | 1 μs - 100 s | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <NR1> | integer | 1 - 16,000,000 | Current 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.
Query ARB:ADDR?
Sets the point rate. It is coupled with the waveform frequency by the relation Frequency = 1/(PointRate × Wavelength).
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 4 ns - 100 s | Point 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.
ARB:PRAT?
Sets the values of the waveform. Values can be entered numerically or transferred through a definite or indefinite arbitrary block.
| Name | Type | Values | Description |
|---|---|---|---|
| data | block | - | 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.
| Name | Type | Values | Description |
|---|---|---|---|
| points | integer | 1 - 16000000 | Number of points to return. |
| format | enum | ASC | HEX | Data format to use for the returned waveform data. |
Query ARB:DATA? 100, ASC
Generates a straight line between two points in the arbitrary waveform memory.
| Name | Type | Values | Description |
|---|---|---|---|
| start | integer | 1 - 16,000,000 | Start address in arbitrary waveform memory. |
| stop | integer | 1 - 16,000,000 | Stop address in arbitrary waveform memory. |
ARB:DRAW 1,1000
Clears all or part of waveform memory and sets the cleared memory to zero.
| Name | Type | Values | Description |
|---|---|---|---|
| start | integer | 1 - 16,000,000 | Start address of the range to clear. |
| stop | integer | 1 - 16,000,000 | Stop address of the range to clear. |
Command ARB:CLE 1,1000
Copies a section of waveform memory to a different location in waveform memory.
| Name | Type | Values | Description |
|---|---|---|---|
| start | integer | 1 - 16,000,000 | Starting address of the source segment. |
| length | integer | - | Length of the segment to copy. |
| dest | integer | 1 - 16,000,000 | Destination address for the copied segment. |
Command ARB:COPY 1,1000,1001
Loads the waveform memory with a specific type of waveform.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SINusoid | SQUare | TRIangle | NOISE | URAMP | DRAMP | EXPUp | EXPDn | Waveform shape to load into memory. |
| start | integer | - | Start address for loading the waveform. |
| length | integer | 16 - 65k | Number of points to load; constraint depends on waveform shape. |
| scale | real | 1 - 100 | Percentage of full scale used for the waveform. |
Command ARB:PRED SIN,1,1000,100
Sets the length of the waveform being run.
| Name | Type | Values | Description |
|---|---|---|---|
| length | real | 2 - 16,000,000 | Length of the waveform being run. |
Sets the length of the waveform being run.
Query ARB:LENG?
Sets the address of the marker.
| Name | Type | Values | Description |
|---|---|---|---|
| address | real | 1 - 16,000,000 | Marker address value. |
Command ARB:MARK:ADDR 45 Query ARB:MARK:ADDR?
Sets the address of the marker.
Command ARB:MARK:ADDR 45 Query ARB:MARK:ADDR?
Sets the start address of the waveform to be run.
| Name | Type | Values | Description |
|---|---|---|---|
| NR1 | integer | 1 - 15,999,999 | Start address of the waveform to be run. |
Command ARB:STAR 100
Returns the start address of the waveform to be run.
Query ARB:STAR?
Sets the marker length.
| Name | Type | Values | Description |
|---|---|---|---|
| length | integer | 1 - 4,000 | Marker length value. |
Command ARB:MARK:LENG 5 Query ARB:MARK:LENG?
Returns the marker length.
Query ARB:MARK:LENG?
Enables or disables the marker.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | OFF | ON | Enables or disables the marker. |
Command ARB:MARK:STAT ON Query ARB:MARK:STAT?
Enables or disables the marker.
Query ARB:MARK:STAT?
Saves all unsaved arbitrary waveform data into one of the non-volatile memory locations.
| Name | Type | Values | Description |
|---|---|---|---|
| location | integer | 1 - 8 | Non-volatile memory location to save the arbitrary waveform data into. |
Command ARB:SAV 1
Loads all arbitrary waveform data from one of the non-volatile memory locations.
| Name | Type | Values | Description |
|---|---|---|---|
| NR1 | integer | 1 - 8 | Selects the non-volatile memory location to load from. |
Command ARB:LOAD 1
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?.
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.
| Name | Type | Values | Description |
|---|---|---|---|
| code | string | - | Error code list. |
Command STAT:QUE:ENAB (-440:-410,-258:-220,402,-110)
Reads the condition register.
Query STAT:QUES:COND?
Set and query the value of the positive transition filter.
| Name | Type | Values | Description |
|---|---|---|---|
| NR1 | integer | 0 - 131,072 | 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.
Query STATUS:QUEstionable:PTR?
Reads the questionable status event register. Reading the register clears it.
Query STAT:QUES:EVEN?
Sets and queries the value of the negative transition filter in the questionable status subsystem.
| Name | Type | Values | Description |
|---|---|---|---|
| nr1 | integer | 0 - 131,072 | Negative transition filter value. |
Command STATUS:QUEStionable:NTR 0 Query STATUS:QUEStionable:NTR?
Set and query the value of the negative transition filter.
Set and query the value of the questionable status event enable register.
| Name | Type | Values | Description |
|---|---|---|---|
| numeric value | integer | 0 - 131,072 | Numeric enable register value. |
STATus:QUEStionable:ENABle 0 STAT:QUES:ENAB?
Sets and queries the value of the Questionable Status Enable register.
| Name | Type | Values | Description |
|---|---|---|---|
| numeric value | integer | 0 - 131,072 | Enable register value. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| address | integer | 0 - 31 | GPIB 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.
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.
Query SYSTem:ERRor?
Sets the power-on buffer settings. The instrument will power on with the settings stored in that buffer.
| Name | Type | Values | Description |
|---|---|---|---|
| buffer | integer | 0 - 49 | Power-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.
Query SYSTem:POBuffer?
Clears the instrument memory when the security state is changed from ON to OFF (factory reset).
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Sets 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).
Query SYSTem:SECurity:STATe?
Reads the SCPI version to which the instrument complies.
Query SYSTem:VERSion?
Sets the frequency of the output waveform.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 50 MHz - 3 GHz | Frequency value to set. |
| qualifieropt | enum | MIN | MAX | Optional 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.
RF:FREQ?
Sets the amplitude of the output waveform.
| Name | Type | Values | Description |
|---|---|---|---|
| level | real | -110.00 - 13.00 | Amplitude level in dBm. |
| unit | enum | dBm | Vrms | Units 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.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | -110.00 dBm - 13.00 dBm | RF output amplitude when using dBm units. |
| <unit> | enum | dBm | Vrms | Units for the amplitude value. |
Command RF:LEV -110 dBm Query RF:LEV?
Sets the AM modulation depth in percentage.
| Name | Type | Values | Description |
|---|---|---|---|
| depth | real | 0 - 100 | AM modulation depth in percent. |
Command RF:AM:DEPT 50
Returns the AM modulation depth in percentage.
Selects the AM modulating waveform shape.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SIN | SQU | TRI | AM modulating waveform shape. |
Command RF:AM:SHAP SIN Query RF:AM:SHAP?
Selects the AM modulating waveform shape.
Query RF:AM:SHAP?
Enables or disables AM modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| state | enum | 0 | 1 | OFF | ON | Enables or disables AM modulation. |
Command RF:AM:STAT ON Query RF:AM:STAT?
Enables or disables AM modulation.
Sets the AM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| <NRf> | real | 10 mHz - 20 kHz | AM modulating waveform frequency. |
Command RF:AM:FREQ 1e3 Query RF:AM:FREQ?
Sets the AM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 10 mHz - 20 kHz | AM modulating waveform frequency. |
Command RF:AM:FREQ 1e3 Query RF:AM:FREQ?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| string | enum | INTernal | EXTernal | Selects 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.
Query RF:AM:SOUR?
Sets the FM modulation deviation.
| Name | Type | Values | Description |
|---|---|---|---|
| deviation | real | 10 mHz - 1 MHz | FM modulation deviation. |
| qualifieropt | enum | MIN | MAX | Selects the minimum or maximum allowable deviation. |
Command RF:FM:DEV 1MHz
Sets the FM modulation deviation.
Selects the FM modulating waveform shape.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SIN | SQU | TRI | FM modulating waveform shape. |
Selects the FM modulating waveform shape.
Activates or deactivates FM modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Enables or disables FM modulation. |
Command RF:FM:STAT ON Query RF:FM:STAT?
Activates or deactivates FM modulation.
Query RF:FM:STAT?
Sets the FM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 10 mHz - 100 kHz | Modulating waveform frequency. |
| qualifieropt | enum | MIN | MAX | Sets 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.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 10 mHz - 100 kHz | FM modulating waveform frequency. |
Query RF:FM:FREQ?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | FM modulation source. |
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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | FM modulation source. |
Command RF:FM:SOUR INT Query RF:FM:SOUR?
Sets the PM modulation deviation.
| Name | Type | Values | Description |
|---|---|---|---|
| deviation | real | 0 - 6.2 | PM modulation deviation. |
| qualifieropt | enum | MIN | MAX | Selects the minimum or maximum deviation. |
Sets the PM modulation deviation.
| Name | Type | Values | Description |
|---|---|---|---|
| deviation | real | 0 - 6.2 | PM modulation deviation. |
Command RF:PM:DEV 3.14 Query RF:PM:DEV?
Selects the PM modulating waveform shape.
| Name | Type | Values | Description |
|---|---|---|---|
| shape | enum | SIN | SQU | TRI | PM modulating waveform shape. |
Command RF:PM:SHAP SIN Query RF:PM:SHAP?
Selects the PM modulating waveform shape.
Query RF:PM:SHAP?
Activates or deactivates PM modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Turns PM modulation off or on. |
Activates or deactivates PM modulation.
Sets the PM modulating waveform frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| frequency | real | 10 mHz - 100 kHz | PM modulating waveform frequency. |
| qualifieropt | enum | MIN | MAX | Use 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.
Query RF:PM:FREQ?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | Selects 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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | PM modulation source. |
Command RF:PM:SOUR INT Query RF:PM:SOUR?
Sets the RF pulse modulating waveform’s frequency.
| Name | Type | Values | Description |
|---|---|---|---|
| frequency | real | 10 mHz - 20 kHz | RF pulse modulating waveform frequency. |
Command RF:PUL:FREQ 1e3 Query RF:PUL:FREQ?
Sets the RF pulse modulating waveform’s frequency.
Query RF:PUL:FREQ?
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.
| Name | Type | Values | Description |
|---|---|---|---|
| source | enum | INTernal | EXTernal | Selects 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.
Query RF:PUL:SOUR?
Enables or disables pulse modulation.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Enables or disables pulse modulation. |
Enables or disables pulse modulation.
Command RF:PUL:STAT ON Query RF:PUL:STAT?
Sets the sweep spacing as either linear or logarithmic.
| Name | Type | Values | Description |
|---|---|---|---|
| spacing | enum | LINear | LOGarithmic | Selects the sweep spacing mode. |
Command RF:SWEEP:SPACing LIN Query RF:SWEEP:SPACing?
Sets the sweep spacing as either linear or logarithmic.
Query RF:SWEEP:SPACing?
Enables or disables the sweep function.
| Name | Type | Values | Description |
|---|---|---|---|
| bool | enum | 0 | 1 | OFF | ON | Enable or disable the sweep function. |
Command RF:SWEEP:STAT ON Query RF:SWEEP:STAT?
Enable or disable the sweep function.
Query RF:SWEEP:STAT?
Sets the time for one complete sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| time | real | 10 ms - 500 s | Sweep time value. |
| qualifieropt | enum | MIN | MAX | Use 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.
Query SWEEP:TIME?
Sets the start frequency of the sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| NRf | real | 50 MHz - 3 GHz | Start frequency of the sweep. |
| qualifieropt | enum | MIN | MAX | Selects the minimum or maximum allowed start frequency. |
RF:SWEEP:STARt 3GHz RF:SWEEP:STARt?
Returns the start frequency of the sweep. Sets the start frequency of the sweep.
RF:SWEEP:STARt?
Sets the stop frequency of the sweep.
| Name | Type | Values | Description |
|---|---|---|---|
| nrf | real | 50 MHz - 3 GHz | Stop frequency value for the sweep. |
| qualifieropt | enum | MIN | MAX | Keyword alternative to the numeric stop frequency. |
Command RF:SWEEP:STOP 3GHz
Sets the stop frequency of the sweep.