Radio Test Set · SCPI command reference

Ceyear 4945B and 4945C SCPI commands

The Ceyear 4945B and 4945C radio test set is controlled remotely with SCPI commands. TestFlow's instrument library holds 299 commands for it, 133 of them queries that read values or state, grouped below by subsystem with their arguments. It is the same library TestFlow's AI agent uses to drive the 4945B on a real bench.

Commands
299
Queries
133
Subsystems
19
Models covered
2

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Ceyear 4945B or 4945C and writes the report from the measured results.

Get started

Control the Ceyear 4945B from Python

With PyVISA, any VISA backend, and the instrument on USB, LAN or GPIB, this opens a session, identifies the instrument, sends one setting, and reads one value. Every command in it comes from the reference below. For a full walkthrough, see the PyVISA tutorial and the SCPI command cheat sheet.

import pyvisa

rm = pyvisa.ResourceManager()
print(rm.list_resources())  # find the Ceyear 4945B's VISA address

# Paste the address of your Ceyear 4945B (USB, LAN or GPIB).
inst = rm.open_resource("PASTE_VISA_ADDRESS_HERE")
inst.timeout = 5000  # ms

print(inst.query("*IDN?"))  # identify the instrument
inst.write("REFOUTPUT ON")  # Reference Output On
print(inst.query("REFOUTPUT?"))  # Read Reference Output State

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Ceyear 4945B or 4945C and writes the report from the measured results.

Get started

Run a 4945B test without writing code

Describe the test in a sentence, for example “reference output on on the 4945B, then read reference output state and log it against a limit”. TestFlow's agent builds the steps from this command library, runs them on your bench through the TestFlow desktop app, and writes the report from the measured values. See AI test automation for lab instruments for how that works and where it stops.

Get started

SCPI command reference

299 commands in 19 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 4945B and 4945C share this command set in TestFlow's library.

SEND subsystem (63)

CommandWhat it doesArguments
SEND:REFFREQ <Freq>Set TX Frequency. Sets the carrier frequency of the RF TX (generator); include the unit, e.g. 145MHz.Text
SEND:REFFREQ?Read TX Frequency. Reads the current RF TX frequency setting.None
SEND:REFLEVEL <Level>Set TX Level. Sets the carrier amplitude of the RF TX; include the unit, e.g. -60dBm.Text
SEND:REFLEVEL?Read TX Level. Reads the current RF TX level setting.None
SEND:POWER ONTX Output On. Turns the RF TX output on.None
SEND:POWER OFFTX Output Off. Turns the RF TX output off.None
SEND:POWER?Read TX Output State. Reads whether the RF TX output is on or off.None
SEND:TYPE <Type>Set TX Carrier Type. Sets the RF TX carrier type: CW continuous wave, HOP list frequency hopping, EX real-time frequency hopping.Text: CW,HOP,EX
SEND:TYPE?Read TX Carrier Type. Reads the RF TX carrier type.None
SEND:DEMOTYPE <Type>Set TX Modulation Type. Sets the RF TX modulation type (digital formats require the vector signal generation option; NONE = unmodulated).Text: BPSK,QPSK,DQPSK,MSK,8PSK,TCM8,16QAM,2ASK,2FSK,FM,AM,LSB,USB,NONE
SEND:DEMOTYPE?Read TX Modulation Type. Reads the RF TX modulation type.None
SEND:FMDEV1 <Deviation>Set TX FM Deviation 1. Sets the FM frequency deviation of modulation source 1 for RF TX.Text
SEND:FMDEV1?Read TX FM Deviation 1. Reads the current RF TX FM deviation 1 setting.None
SEND:AMDEP1 <Depth>Set TX AM Depth 1. Sets the AM modulation depth of modulation source 1 for RF TX.Number
SEND:AMDEP1?Read TX AM Depth 1. Reads the current RF TX AM depth 1 setting.None
SEND:SSBDEP1 <Depth>Set TX SSB Depth 1. Sets the SSB modulation depth of modulation source 1 for RF TX.Number
SEND:SSBDEP1?Read TX SSB Depth 1. Reads the current RF TX SSB depth 1 setting.None
SEND:FMDEV2 <Deviation>Set TX FM Deviation 2. Sets the FM frequency deviation of modulation source 2 for RF TX.Text
SEND:FMDEV2?Read TX FM Deviation 2. Reads the current RF TX FM deviation 2 setting.None
SEND:AMDEP2 <Depth>Set TX AM Depth 2. Sets the AM modulation depth of modulation source 2 for RF TX.Number
SEND:AMDEP2?Read TX AM Depth 2. Reads the current RF TX AM depth 2 setting.None
SEND:SSBDEP2 <Depth>Set TX SSB Depth 2. Sets the SSB modulation depth of modulation source 2 for RF TX.Number
SEND:SSBDEP2?Read TX SSB Depth 2. Reads the current RF TX SSB depth 2 setting.None
SEND:SRC1 <Source>Set TX Mod Source 1 Type. Sets the type of analog modulation source 1: sine, square, triangle, sawtooth, microphone or external audio.Text: SINE,SQUA,TRIA,HACK,MIC,AUDIO
SEND:SRC1?Read TX Mod Source 1 Type. Reads the type of analog modulation source 1.None
SEND:SPEED1 <Rate>Set TX Mod Source 1 Rate. Sets the rate (frequency) of analog modulation source 1 for RF TX.Text
SEND:SPEED1?Read TX Mod Source 1 Rate. Reads the current RF TX mod source 1 rate setting.None
SEND:SRC2 ONTX Mod Source 2 On. Turns analog modulation source 2 of the RF TX on.None
SEND:SRC2 OFFTX Mod Source 2 Off. Turns analog modulation source 2 of the RF TX off.None
SEND:SRC2?Read TX Mod Source 2 State. Reads whether analog modulation source 2 of the RF TX is on or off.None
SEND:SPEED2 <Rate>Set TX Mod Source 2 Rate. Sets the rate (frequency) of analog modulation source 2 for RF TX.Text
SEND:SPEED2?Read TX Mod Source 2 Rate. Reads the current RF TX mod source 2 rate setting.None
SEND:VEC:VRATE <Rate>Set TX Symbol Rate. Sets the symbol rate for digital modulation of RF TX (vector signal generation option).Text
SEND:VEC:VRATE?Read TX Symbol Rate. Reads the current RF TX symbol rate setting.None
SEND:VEC:VFILTER <Filter>Set TX Digital Filter. Sets the filter type for digital modulation of RF TX (vector option).Text: RC,RRC,GAUSS
SEND:VEC:VFILTER?Read TX Digital Filter. Reads the filter type for digital modulation of RF TX.None
SEND:VEC:VALPHA <Alpha>Set TX Filter Alpha. Sets the alpha or BT factor of the digital modulation filter for RF TX (0.0 to 1.0).Number: 0.0,1.0
SEND:VEC:VALPHA?Read TX Filter Alpha. Reads the current RF TX filter alpha setting.None
SEND:VEC:VFMDEV <Deviation>Set TX 2FSK Deviation. Sets the frequency deviation of 2FSK modulation for RF TX (vector option).Text
SEND:VEC:VFMDEV?Read TX 2FSK Deviation. Reads the current RF TX 2FSK deviation setting.None
SEND:VEC:VFMDEP <Depth>Set TX 2ASK Depth. Sets the depth of 2ASK modulation for RF TX (vector option).Number
SEND:VEC:VFMDEP?Read TX 2ASK Depth. Reads the current RF TX 2ASK depth setting.None
SEND:VEC:BERTYPE <Sequence>Set TX Data Sequence. Sets the data sequence for digital modulation of RF TX (CUSTOM = manual code, EXT = external code input).Text: ALL0,ALL1,01,PN5,PN9,PN11,CUSTOM,EXT
SEND:VEC:BERTYPE?Read TX Data Sequence. Reads the data sequence for digital modulation of RF TX.None
SEND:VEC:BERCUS <Code>Set TX Custom Code. Sets the manual code for digital modulation of RF TX (valid in CUSTOM mode).Text
SEND:VEC:BERCUS?Read TX Custom Code. Reads the current RF TX custom code setting.None
SEND:VEC:BERERR ONTX Bit Error Insertion On. Turns on bit error insertion for digital modulation of RF TX.None
SEND:VEC:BERERR OFFTX Bit Error Insertion Off. Turns off bit error insertion for digital modulation of RF TX.None
SEND:VEC:BERERR <BER>Set TX Bit Error Rate. Sets the inserted bit error rate for digital modulation of RF TX.Number
SEND:VEC:BERERR?Read TX Bit Error Insertion. Reads the bit error insertion setting for digital modulation of RF TX.None
SEND:VEC:BEROUT ONTX Data Output On. Turns output of the digital modulation data to the front panel on.None
SEND:VEC:BEROUT OFFTX Data Output Off. Turns output of the digital modulation data to the front panel off.None
SEND:VEC:BEROUT?Read TX Data Output State. Reads whether output of the digital modulation data to the front panel is on or off.None
SEND:HOP:HOPSTA <Freq>Set TX Hop Start Frequency. Sets the start frequency of list frequency hopping for RF TX (hopping option).Text
SEND:HOP:HOPSTA?Read TX Hop Start Frequency. Reads the current RF TX hop stareal-time frequency setting.None
SEND:HOP:HOPSTP <Freq>Set TX Hop Stop Frequency. Sets the stop frequency of list frequency hopping for RF TX (hopping option).Text
SEND:HOP:HOPSTP?Read TX Hop Stop Frequency. Reads the current RF TX hop stop frequency setting.None
SEND:HOP:HOPDT <Time>Set TX Hop Dwell Time. Sets the residence (dwell) time of list frequency hopping for RF TX.Text
SEND:HOP:HOPDT?Read TX Hop Dwell Time. Reads the current RF TX hop dwell time setting.None
SEND:HOP:HOPCT <Time>Set TX Hop Switch Time. Sets the switching time of list frequency hopping for RF TX.Text
SEND:HOP:HOPCT?Read TX Hop Switch Time. Reads the current RF TX hop switch time setting.None
SEND:HOP:HOPPT <Points>Set TX Hop Points. Sets the number of list frequency hopping points for RF TX.Number
SEND:HOP:HOPPT?Read TX Hop Points. Reads the current RF TX hop points setting.None

RECV subsystem (49)

CommandWhat it doesArguments
RECV:FREQ <Freq>Set RX Frequency. Sets the RX analysis frequency; include the unit, e.g. 145MHz.Text
RECV:FREQ?Read RX Frequency. Reads the current RX frequency setting.None
RECV:MODE <Format>Set RX Demod Format. Sets the demodulation format (vector formats need the vector demodulation option; NONE = no demodulation).Text: BPSK,QPSK,DQPSK,MSK,8PSK,TCM8,16QAM,2ASK,2FSK,FM,AM,LSB,USB,NONE
RECV:MODE?Read RX Demod Format. Reads the demodulation format.None
RECV:ATT <Atten>Set RX Attenuation. Sets the demodulation input attenuator in dB.Number
RECV:ATT?Read RX Attenuation. Reads the current RX attenuation setting.None
RECV:REFLEVEL <Level>Set RX Reference Level. Sets the reference level of the RX performance test.Text
RECV:REFLEVEL?Read RX Reference Level. Reads the current RX reference level setting.None
RECV:RUN RUNRX Run. Starts refreshing the RX demodulation waveform display.None
RECV:RUN STOPRX Stop. Stops refreshing the RX demodulation waveform display.None
RECV:RUN?Read RX Run State. Reads whether the RX display is running or stopped.None
RECV:IFBW <Index>Set RX IF Bandwidth. Selects the analog demodulation IF bandwidth: 0=300kHz 1=100kHz 2=30kHz 3=25kHz 4=12.5kHz 5=10kHz 6=8.33kHz 7=6.25kHz.Number: 0,1,2,3,4,5,6,7
RECV:IFBW?Read RX IF Bandwidth. Reads the analog demodulation IF bandwidth index.None
RECV:AUFIR <Index>Set RX Audio Filter. Selects the analog demodulation audio filter: 0=LPF20k 1=LPF15k 2=LPF5k 3=LPF300Hz 4=BPF300-20k 5=BPF300-15k 6=BPF300-5k 7=BPF300-3.4k 8=LPF50Hz 9=LPF45k.Number: 0,1,2,3,4,5,6,7,8,9
RECV:AUFIR?Read RX Audio Filter. Reads the analog demodulation audio filter index.None
RECV:AUOUT ONRX Demod Audio Output On. Turns the demodulated audio output on.None
RECV:AUOUT OFFRX Demod Audio Output Off. Turns the demodulated audio output off.None
RECV:AUOUT?Read RX Demod Audio Output State. Reads whether the demodulated audio output is on or off.None
RECV:VOICEOUT ONRX Speaker Output On. Turns the demodulated audio speaker output on.None
RECV:VOICEOUT OFFRX Speaker Output Off. Turns the demodulated audio speaker output off.None
RECV:VOICEOUT?Read RX Speaker Output State. Reads whether the demodulated audio speaker output is on or off.None
RECV:AUTOCARRYRX Auto Search Carrier. Automatically searches for the carrier.None
RECV:SNRLOCKRX SNR Reference Lock. Locks the current SNR reference.None
RECV:RDFREQ?Read RX Frequency Error. Reads the measured frequency error.None
RECV:RDLEVEL <Mode>Set RX Power Measurement Mode. Selects narrow-band or wide-band power measurement.Text: NARROW,WIDE
RECV:RDLEVEL?Read RX Power. Reads the power measurement value.None
RECV:RDFMDEV?Read RX FM Deviation. Reads the frequency deviation of the FM demodulation result.None
RECV:RDAMDEP?Read RX AM Depth. Reads the modulation depth of the AM demodulation result.None
RECV:RDRATE?Read RX Modulation Rate. Reads the modulation rate of the analog demodulation result.None
RECV:RDDSTN?Read RX Distortion. Reads the distortion of the analog demodulation result.None
RECV:RDSINAD?Read RX SINAD. Reads the SINAD of the analog demodulation result.None
RECV:RDSNR?Read RX SNR. Reads the SNR of the analog demodulation result.None
RECV:VEC:VRATE <Rate>Set RX Symbol Rate. Sets the symbol rate for vector demodulation (vector demodulation option).Text
RECV:VEC:VRATE?Read RX Symbol Rate. Reads the current RX symbol rate setting.None
RECV:VEC:VFILTER <Filter>Set RX Vector Filter. Sets the vector demodulation filter: RC, RRC or Gaussian.Text: VRC,VRRC,VGAUSS
RECV:VEC:VFILTER?Read RX Vector Filter. Reads the vector demodulation filter.None
RECV:VEC:VALPHA <Alpha>Set RX Filter Alpha. Sets the alpha or BT factor for vector demodulation.Number
RECV:VEC:VALPHA?Read RX Filter Alpha. Reads the current RX filter alpha setting.None
RECV:VEC:VSYMNUM <Symbols>Set RX Symbol Count. Sets the number of symbols for vector demodulation.Number
RECV:VEC:VSYMNUM?Read RX Symbol Count. Reads the current RX symbol count setting.None
RECV:VEC:DIGIOUT ONRX Vector Digital Output On. Turns the digital output for vector demodulation on.None
RECV:VEC:DIGIOUT OFFRX Vector Digital Output Off. Turns the digital output for vector demodulation off.None
RECV:VEC:DIGIOUT?Read RX Vector Digital Output State. Reads whether the digital output for vector demodulation is on or off.None
RECV:VEC:RDVFREQ?Read RX Vector Frequency. Reads the frequency of the vector demodulation result.None
RECV:VEC:RDVLEVEL?Read RX Vector Level. Reads the amplitude of the vector demodulation result.None
RECV:VEC:RDEVM?Read RX EVM. Reads the EVM of the vector demodulation result.None
RECV:VEC:RDPHE?Read RX Phase Error. Reads the phase error of the vector demodulation result.None
RECV:VEC:RDAME?Read RX Magnitude Error. Reads the amplitude (magnitude) error of the vector demodulation result.None
RECV:VEC:RDDEV?Read RX 2FSK Deviation. Reads the frequency deviation of the 2FSK demodulation result.None

NML subsystem (44)

CommandWhat it doesArguments
NML:FA <Freq>Set Spectrum Start Frequency. Sets the start frequency of the swept spectrum, e.g. 10MHz.Text
NML:FA?Read Spectrum Start Frequency. Reads the current spectrum stareal-time frequency setting.None
NML:FB <Freq>Set Spectrum Stop Frequency. Sets the stop frequency of the swept spectrum.Text
NML:FB?Read Spectrum Stop Frequency. Reads the current spectrum stop frequency setting.None
NML:CF <Freq>Set Spectrum Center Frequency. Sets the center frequency of the swept spectrum.Text
NML:CF?Read Spectrum Center Frequency. Reads the current spectrum center frequency setting.None
NML:SP <Span>Set Spectrum Span. Sets the span of the swept spectrum.Text
NML:SP?Read Spectrum Span. Reads the current spectrum span setting.None
NML:RL <Level>Set Spectrum Reference Level. Sets the reference level of the swept spectrum (unit dBmV/dBm/dBV/V/W).Text
NML:RL?Read Spectrum Reference Level. Reads the current spectrum reference level setting.None
NML:LG <Scale>Set Spectrum Log Scale. Sets the logarithmic scale of the swept spectrum in dB/div.Number
NML:LG?Read Spectrum Log Scale. Reads the current spectrum log scale setting.None
NML:AUTOALLSpectrum Auto Couple All. Sets all coupled spectrum parameters to auto.None
NML:RB <RBW>Set Spectrum RBW. Sets the resolution bandwidth: AUTO, HAND (manual) or a value with unit.Text
NML:RB?Read Spectrum RBW. Reads the current spectrum RBW setting.None
NML:VB <VBW>Set Spectrum VBW. Sets the video bandwidth: AUTO, HAND (manual) or a value with unit.Text
NML:VB?Read Spectrum VBW. Reads the current spectrum VBW setting.None
NML:SWT <Time>Set Spectrum Sweep Time. Sets the sweep time: AUTO, HAND (manual) or a value with unit.Text
NML:SWT?Read Spectrum Sweep Time. Reads the current spectrum sweep time setting.None
NML:RFATT <Atten>Set Spectrum RF Attenuation. Sets the RF attenuation: AUTO, HAND (manual) or a value in dB.Text
NML:RFATT?Read Spectrum RF Attenuation. Reads the current spectrum rf attenuation setting.None
NML:AVG ONSpectrum Averaging On. Turns video averaging on.None
NML:AVG OFFSpectrum Averaging Off. Turns video averaging off.None
NML:AVG <Count>Set Spectrum Average Count. Sets the number of video averages.Number
NML:SWPTYPE <Mode>Set Spectrum Sweep Mode. Sets the sweep mode: continuous (CTN) or single (ONE).Text: CTN,ONE
NML:SWPTYPE?Read Spectrum Sweep Mode. Reads the sweep mode.None
NML:MKSEL <Marker>Select Spectrum Marker. Selects the active marker (1 to 4).Number: 1,2,3,4
NML:MKSEL?Read Spectrum Active Marker. Reads the active marker number.None
NML:MKF <Freq>Set Spectrum Marker Frequency. Sets the frequency (or time in zero span) of the active marker.Text
NML:MKF?Read Spectrum Marker Frequency. Reads the current spectrum marker frequency setting.None
NML:MKA?Read Spectrum Marker Amplitude. Queries the amplitude of the active marker.None
NML:MKPK <Mode>Spectrum Marker Peak Search. Moves the marker to peak (HI), next peak (NH), right peak (RH), left peak (LH) or minimum (LO).Text: HI,NH,RH,LH,LO
NML:MKDF <Offset>Set Spectrum Delta Marker. Sets the frequency (or time) offset of the delta marker; turns on the delta marker.Text
NML:MKDF?Read Spectrum Delta Marker. Reads the current spectrum delta marker setting.None
NML:MKDA?Read Spectrum Delta Marker Difference. Returns the delta-marker frequency difference and amplitude difference (dB).None
NML:MKNMSpectrum Marker Normal. Restores the active marker to a normal marker.None
NML:MKOFFSpectrum Marker Off. Turns off the currently selected marker.None
NML:MKNOISE <Offset>Spectrum Noise Marker On. Turns on the noise marker at the given frequency offset.Text
NML:MKNOISE OFFSpectrum Noise Marker Off. Turns off the noise marker.None
NML:MKNOISE?Read Spectrum Noise Marker. Returns the measured noise marker value.None
NML:MKCLRSpectrum Markers All Off. Turns off all markers.None
NML:TRACEA <Mode>Set Spectrum Trace A. Sets trace A: refresh, max hold, show or hide.Text: FRESH,HOLD,SHOW,HIDE
NML:TRACEB <Mode>Set Spectrum Trace B. Sets trace B: refresh, max hold, show or hide.Text: FRESH,HOLD,SHOW,HIDE
NML:DET <Detector>Set Spectrum Detector. Sets the detector: auto, positive/negative peak, positive peak, negative peak or sample.Text: AUTO,MAXMIN,MAX,MIN,SAMPLE

REL subsystem (39)

CommandWhat it doesArguments
REL:CF <Freq>Set RT Center Frequency. Sets the center frequency of the real-time spectrum.Text
REL:CF?Read RT Center Frequency. Reads the current real-time center frequency setting.None
REL:SP <Span>Set RT Span. Sets the analysis span of the real-time spectrum.Text
REL:SP?Read RT Span. Reads the current real-time span setting.None
REL:RL <Level>Set RT Reference Level. Sets the reference level of the real-time spectrum (unit dBmV/dBm/dBV/V/W).Text
REL:RL?Read RT Reference Level. Reads the current real-time reference level setting.None
REL:RFATT <Atten>Set RT Attenuation. Sets the attenuator of the real-time spectrum in dB.Number
REL:RFATT?Read RT Attenuation. Reads the current real-time attenuation setting.None
REL:LG <Scale>Set RT Log Scale. Sets the logarithmic scale of the real-time spectrum in dB.Number
REL:LG?Read RT Log Scale. Reads the current real-time log scale setting.None
REL:MKSEL <Marker>Select RT Marker. Selects the active real-time spectrum marker (1 to 4).Number: 1,2,3,4
REL:MKSEL?Read RT Active Marker. Reads the active real-time spectrum marker number.None
REL:MKF <Freq>Set RT Marker Frequency. Sets the frequency (or time) of the active real-time marker.Text
REL:MKF?Read RT Marker Frequency. Reads the current real-time marker frequency setting.None
REL:MKA?Read RT Marker Amplitude. Queries the amplitude of the active real-time marker.None
REL:MKPK <Mode>RT Marker Peak Search. Moves the real-time marker to peak, next peak, right peak, left peak or minimum.Text: HI,NH,RH,LH,LO
REL:MKDF <Offset>Set RT Delta Marker. Sets the frequency (or time) offset of the real-time delta marker.Text
REL:MKDF?Read RT Delta Marker. Reads the current real-time delta marker setting.None
REL:MKDA?Read RT Delta Marker Difference. Returns the real-time delta-marker difference and amplitude difference (dB).None
REL:MKNMRT Marker Normal. Restores the real-time marker to a normal marker.None
REL:MKOFFRT Marker Off. Turns off the selected real-time marker.None
REL:MKNOISE <Offset>RT Noise Marker On. Turns on the real-time noise marker at the given frequency offset.Text
REL:MKNOISE OFFRT Noise Marker Off. Turns off the real-time noise marker.None
REL:MKNOISE?Read RT Noise Marker. Returns the measured real-time noise marker value.None
REL:MKCLRRT Markers All Off. Turns off all real-time markers.None
REL:TRACEA <Mode>Set RT Trace A. Sets real-time trace A: refresh, max hold, show or hide.Text: FRESH,HOLD,SHOW,HIDE
REL:TRACEA?Read RT Trace A. Reads the real-time trace A mode.None
REL:TRACEB <Mode>Set RT Trace B. Sets real-time trace B: refresh, max hold, show or hide.Text: FRESH,HOLD,SHOW,HIDE
REL:TRACEB?Read RT Trace B. Reads the real-time trace B mode.None
REL:RUNSTYLE RUNRT Run. Runs the real-time spectrum.None
REL:RUNSTYLE STOPRT Stop. Stops the real-time spectrum.None
REL:RUNTYPE <Type>Set RT Run Type. Sets continuous or single acquisition for the real-time spectrum.Text: CONT,SING
REL:SHOWSTYLE <Style>Set RT Display Type. Sets the display type: waterfall (3D), time-frequency, time-amplitude or time-frequency-amplitude.Text: 3D,TFREQ,TAMPL,TFNA
REL:UPSCALE <Value>Set RT Upper Scale. Sets the upper scale of the time-domain frequency diagram.Text
REL:DOWNSCALE <Value>Set RT Lower Scale. Sets the lower scale of the time-domain frequency diagram.Text
REL:TIMELAST <Time>Set RT Display Time. Sets the display time.Text
REL:STARTTIME <Time>Set RT Start Time. Sets the start time.Text
REL:CATCHTIME <Time>Set RT Acquisition Time. Sets the acquisition time.Text
REL:FRAMENUM <Frames>Set RT Display Frames. Sets the number of display frames.Number

OSC subsystem (33)

CommandWhat it doesArguments
OSC:CHL1 ONScope CH1 On. Turns oscilloscope channel 1 on.None
OSC:CHL1 OFFScope CH1 Off. Turns oscilloscope channel 1 off.None
OSC:CHL1?Read Scope CH1 State. Reads whether oscilloscope channel 1 is on or off.None
OSC:CHL2 ONScope CH2 On. Turns oscilloscope channel 2 on.None
OSC:CHL2 OFFScope CH2 Off. Turns oscilloscope channel 2 off.None
OSC:CHL2?Read Scope CH2 State. Reads whether oscilloscope channel 2 is on or off.None
OSC:COUPSTYLE1 <Coupling>Set Scope CH1 Coupling. Sets the coupling of oscilloscope channel 1.Text: DC,AC
OSC:COUPSTYLE1?Read Scope CH1 Coupling. Reads the coupling of oscilloscope channel 1.None
OSC:COUPSTYLE2 <Coupling>Set Scope CH2 Coupling. Sets the coupling of oscilloscope channel 2.Text: DC,AC
OSC:COUPSTYLE2?Read Scope CH2 Coupling. Reads the coupling of oscilloscope channel 2.None
OSC:OFT1 <Offset>Set Scope CH1 Offset. Sets the offset of oscilloscope channel 1.Text
OSC:OFT1?Read Scope CH1 Offset. Reads the current scope CH1 offset setting.None
OSC:OFT2 <Offset>Set Scope CH2 Offset. Sets the offset of oscilloscope channel 2.Text
OSC:OFT2?Read Scope CH2 Offset. Reads the current scope CH2 offset setting.None
OSC:VERSCALE1 <Scale>Set Scope CH1 Vertical Scale. Sets the vertical scale of oscilloscope channel 1.Text
OSC:VERSCALE1?Read Scope CH1 Vertical Scale. Reads the current scope CH1 vertical scale setting.None
OSC:VERSCALE2 <Scale>Set Scope CH2 Vertical Scale. Sets the vertical scale of oscilloscope channel 2.Text
OSC:VERSCALE2?Read Scope CH2 Vertical Scale. Reads the current scope CH2 vertical scale setting.None
OSC:AMPMKR ONScope Amplitude Cursor On. Turns the oscilloscope amplitude cursor on.None
OSC:AMPMKR OFFScope Amplitude Cursor Off. Turns the oscilloscope amplitude cursor off.None
OSC:AMPMKR?Read Scope Amplitude Cursor State. Reads whether the oscilloscope amplitude cursor is on or off.None
OSC:TIMEMKR ONScope Time Cursor On. Turns the oscilloscope time cursor on.None
OSC:TIMEMKR OFFScope Time Cursor Off. Turns the oscilloscope time cursor off.None
OSC:TIMEMKR?Read Scope Time Cursor State. Reads whether the oscilloscope time cursor is on or off.None
OSC:MODE <Mode>Set Scope Trigger Mode. Sets the oscilloscope running mode: auto or normal.Text: AUTO,NML
OSC:MODE?Read Scope Trigger Mode. Reads the oscilloscope running mode.None
OSC:SINGLEScope Single. Performs a single oscilloscope acquisition.None
OSC:RUNSTYLE RUNScope Run. Runs the oscilloscope.None
OSC:RUNSTYLE STOPScope Stop. Stops the oscilloscope.None
OSC:HORSCALE <Scale>Set Scope Horizontal Scale. Sets the oscilloscope horizontal (time) scale.Text
OSC:HORSCALE?Read Scope Horizontal Scale. Reads the current scope horizontal scale setting.None
OSC:TRIGTIME <Time>Set Scope Trigger Time. Sets the oscilloscope trigger time.Text
OSC:TRIGTIME?Read Scope Trigger Time. Reads the current scope trigger time setting.None

AUDIOTX subsystem (20)

CommandWhat it doesArguments
AUDIOTX:FREQ1 <Freq>Set Audio Gen Frequency 1. Sets the frequency of audio tone 1 for audio generation.Text
AUDIOTX:FREQ1?Read Audio Gen Frequency 1. Reads the current audio gen frequency 1 setting.None
AUDIOTX:FREQ2 <Freq>Set Audio Gen Frequency 2. Sets the frequency of audio tone 2 for audio generation.Text
AUDIOTX:FREQ2?Read Audio Gen Frequency 2. Reads the current audio gen frequency 2 setting.None
AUDIOTX:AMPL1 <Ampl>Set Audio Gen Amplitude 1. Sets the amplitude of audio tone 1 (with unit V/mV/uV).Text
AUDIOTX:AMPL1?Read Audio Gen Amplitude 1. Reads the current audio gen amplitude 1 setting.None
AUDIOTX:AMPL2 <Ampl>Set Audio Gen Amplitude 2. Sets the amplitude of audio tone 2 (with unit V/mV/uV).Text
AUDIOTX:AMPL2?Read Audio Gen Amplitude 2. Reads the current audio gen amplitude 2 setting.None
AUDIOTX:POWER ONAudio Gen Output On. Turns the audio generator output on.None
AUDIOTX:POWER OFFAudio Gen Output Off. Turns the audio generator output off.None
AUDIOTX:POWER?Read Audio Gen Output State. Reads whether the audio generator output is on or off.None
AUDIOTX:POWER2 ONAudio Gen Tone 2 On. Turns audio tone 2 on.None
AUDIOTX:POWER2 OFFAudio Gen Tone 2 Off. Turns audio tone 2 off.None
AUDIOTX:POWER2?Read Audio Gen Tone 2 State. Reads whether audio tone 2 is on or off.None
AUDIOTX:SHAPE <Shape>Set Audio Gen Waveform. Sets the waveform of audio tone 1: sine, square, triangle or sawtooth.Text: SINE,SQUA,TRIA,HACKLE
AUDIOTX:SHAPE?Read Audio Gen Waveform. Reads the waveform of audio tone 1.None
AUDIOTX:LOAD <Load>Set Audio Gen Impedance. Sets the audio generator output impedance: 600 ohm, 150 ohm or high impedance.Text: 600,150,HIGH
AUDIOTX:LOAD?Read Audio Gen Impedance. Reads the audio generator output impedance.None
AUDIOTX:PHASE <Phase>Set Audio Gen Phase. Sets the relative phase of audio generation in rad.Number
AUDIOTX:PHASE?Read Audio Gen Phase. Reads the current audio gen phase setting.None

AUDIORX subsystem (17)

CommandWhat it doesArguments
AUDIORX:FILTER <Index>Set Audio RX Filter. Selects the audio RX filter: 0=LPF20k 1=LPF15k 2=LPF5k 3=LPF300Hz 4=300Hz-20k 5=300Hz-15k 6=300Hz-5k 7=300Hz-3.4k 8=LPF50Hz.Number: 0,1,2,3,4,5,6,7,8
AUDIORX:FILTER?Read Audio RX Filter. Reads the audio RX filter index.None
AUDIORX:LOAD <Load>Set Audio RX Impedance. Sets the audio RX input impedance: 600 ohm, 150 ohm or high impedance.Text: 600,150,HIGH
AUDIORX:LOAD?Read Audio RX Impedance. Reads the audio RX input impedance.None
AUDIORX:CHL <Range>Set Audio RX Range. Sets the audio RX range: 0=30V-5V 1=5V-500mV 2=500mV-50mV 3=<50mV or AUTO.Text: 0,1,2,3,AUTO
AUDIORX:CHL?Read Audio RX Range. Reads the audio RX range.None
AUDIORX:SNRFREQ <Freq>Set Audio RX Selected Frequency. Sets the selected (notch) frequency for audio distortion/SINAD/SNR measurement.Text
AUDIORX:SNRFREQ?Read Audio RX Selected Frequency. Reads the current audio RX selected frequency setting.None
AUDIORX:AUTOSNR ONAudio RX Auto Frequency On. Turns automatic distortion/SINAD/SNR frequency selection on.None
AUDIORX:AUTOSNR OFFAudio RX Auto Frequency Off. Turns automatic distortion/SINAD/SNR frequency selection off.None
AUDIORX:AUTOSNR?Read Audio RX Auto Frequency State. Reads whether automatic distortion/SINAD/SNR frequency selection is on or off.None
AUDIORX:SNRLOCKAudio RX SNR Reference Lock. Locks the SNR reference of the audio RX.None
AUDIORX:RDFREQ?Read Audio Frequency. Queries the measured audio frequency.None
AUDIORX:RDLEVEL?Read Audio Level. Queries the measured audio level.None
AUDIORX:RDDSTN?Read Audio Distortion. Queries the measured audio distortion.None
AUDIORX:RDSINAD?Read Audio SINAD. Queries the measured audio SINAD.None
AUDIORX:RDSNR?Read Audio SNR. Queries the measured audio SNR.None

BER subsystem (8)

CommandWhat it doesArguments
BER:LEN <Index>Set BER Length. Sets the BER data length: 0=1kb 1=10kb 2=100kb 3=1Mb 4=10Mb.Number: 0,1,2,3,4
BER:LEN?Read BER Length. Reads the BER data length index.None
BER:TYPE <Type>Set BER Input Level. Sets the BER signal input level type: TTL or RS-232.Text: TTL,232
BER:TYPE?Read BER Input Level. Reads the BER signal input level type.None
BER:REVE ONBER Data Inversion On. Turns BER data inversion on.None
BER:REVE OFFBER Data Inversion Off. Turns BER data inversion off.None
BER:REVE?Read BER Data Inversion State. Reads whether BER data inversion is on or off.None
BER:READ?Read BER. Queries the BER measurement result.None

ETEST subsystem (6)

CommandWhat it doesArguments
ETEST:BROADCAST <Model>Select Auto Test Radio Model. Selects the model of the radio to be tested, e.g. TBR371.Text
ETEST:RUN <Action>Auto Test Control. Starts the automatic test (START), continues from a prompt (CONTINUE) or exits (EXIT).Text: START,CONTINUE,EXIT
ETEST:STATUS?Read Auto Test Status. Reads the auto test status: 255 idle/completed, 254 paused for prompt, 0-100 progress.None
ETEST:PROMPTINFO?Read Auto Test Prompt. Reads the prompt information string while the test is paused.None
ETEST:TESTITEM <Items>Select Auto Test Items. Selects test items: DEFAULT (all, recommended) or a 32-bit hex bit mask (D0 frequency error ... D18 squelch hysteresis).Text
ETEST:RESAULT?Read Auto Test Results. Reads a string containing the results of all auto test items.None

POW subsystem (5)

CommandWhat it doesArguments
POW:FREQ <Freq>Set Power Meter Frequency. Sets the carrier frequency for the power measurement.Text
POW:FREQ?Read Power Meter Frequency. Reads the current power meter frequency setting.None
POW:AMPLUNIT <Unit>Set Power Meter Unit. Sets the amplitude unit in which power results are returned.Text
POW:AMPLUNIT?Read Power Meter Unit. Reads the current power meter unit setting.None
POW:READ?Read Power. Queries the power measurement result in the set unit (dBm by default).None

REFOUTPUT subsystem (3)

CommandWhat it doesArguments
REFOUTPUT ONReference Output On. Turns the reference signal output on.None
REFOUTPUT OFFReference Output Off. Turns the reference signal output off.None
REFOUTPUT?Read Reference Output State. Reads whether the reference signal output is on or off.None

RUNMODE subsystem (2)

CommandWhat it doesArguments
RUNMODE <Function> ONOpen Function Window. Opens/activates a function window: SEND=RF TX, RECV=RX performance test, NML=swept spectrum, REL=real-time spectrum, AUDIORX/AUDIOTX=audio analysis/generation, OSC=oscilloscope, BER=bit error rate, POW=power meter, ETEST=automatic radio test.Text: SEND,RECV,NML,REL,AUDIORX,AUDIOTX,OSC,BER,POW,ETEST
RUNMODE <Function> OFFClose Function Window. Closes/deactivates the selected function window (e.g. RUNMODE RECV OFF turns off the RF RX function).Text: SEND,RECV,NML,REL,AUDIORX,AUDIOTX,OSC,BER,POW,ETEST

RFIN subsystem (2)

CommandWhat it doesArguments
RFIN <Port>Set RF Input Port. Selects the RF input connector: ANT port or T/R port.Text: ANT,TR
RFIN?Read RF Input Port. Reads the selected RF input connector.None

RFOUT subsystem (2)

CommandWhat it doesArguments
RFOUT <Port>Set RF Output Port. Selects the RF output connector: GEN port or T/R port.Text: GEN,TR
RFOUT?Read RF Output Port. Reads the selected RF output connector.None

REF subsystem (1)

CommandWhat it doesArguments
REF <Source>Set Reference Source. Selects the internal (INT) or external (EXT) frequency reference.Text: INT,EXT

Other subsystem (1)

CommandWhat it doesArguments
<Output Variable>=<Equation>Math. Variable equals an equation like (${Var_name}= ${Var_name}/2)Number; Text

WAIT subsystem (1)

CommandWhat it doesArguments
wait(<ms>)Wait. Waits for number of millisecondsNumber

SAVE subsystem (1)

CommandWhat it doesArguments
save2var <Variable_name>Save2Variable. Saves last measurement to a variableText

IEEE 488.2 common commands (2)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification (machine number).None
*RSTReset. Resets the instrument to its default state.None

Where these commands come from

This reference is generated from TestFlow's instrument library, which is drafted from Ceyear's programming documentation for the 4945B and 4945C and checked when the agent runs it. Ranges, timing, and option-dependent commands are defined by Ceyear's programming manual: check it before you rely on an edge case. Last updated September 27, 2026.

Frequently asked questions

Does the Ceyear 4945B support SCPI remote control?

Yes. The Ceyear 4945B accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 299 SCPI commands for it: 133 queries that read values or state, and 166 settings and actions.

How do I control the Ceyear 4945B from Python?

Install PyVISA and a VISA backend, find the instrument's address with ResourceManager().list_resources(), open it, then send commands with write() and read values with query(). The example on this page sends *IDN?, REFOUTPUT ON and REFOUTPUT?.

Which command reads a value from the Ceyear 4945B?

REFOUTPUT? (read reference output state). Reads whether the reference signal output is on or off. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Ceyear 4945B without writing code?

Yes. TestFlow is an AI agent for electronics testing: you describe the test, and it builds the automation from this command library, runs it on the Ceyear 4945B through the TestFlow desktop app, and writes the report from the measured results.

Your next test, automated today

Describe the test. TestFlow builds the workflow, runs it on your instruments, and writes the report. See it on a bench like yours.