Phase Noise Analyzer · SCPI command reference

Ceyear 4141B, 4141E, 4141F, and 4141H SCPI commands

The Ceyear 4141B, 4141E, 4141F, and 4141H phase noise analyzer is controlled remotely with SCPI commands. TestFlow's instrument library holds 164 commands for it, 22 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 4141B on a real bench.

Commands
164
Queries
22
Subsystems
15
Models covered
4

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Ceyear 4141B, 4141E, 4141F, or 4141H and writes the report from the measured results.

Get started

Control the Ceyear 4141B 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 4141B's VISA address

# Paste the address of your Ceyear 4141B (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(":DISPlay:PN:Y:SCALe:AUTO")  # PN Y Auto Scale
print(inst.query(":SENSe:PN:CORRelation:COUNt?"))  # Read PN Correlation Count

inst.close()

Run this on your bench

Describe the test; TestFlow's agent uses this command set to drive your Ceyear 4141B, 4141E, 4141F, or 4141H and writes the report from the measured results.

Get started

Run a 4141B test without writing code

Describe the test in a sentence, for example “pn y auto scale on the 4141B, then read pn correlation count 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

164 commands in 15 groups. A ? marks a query that returns a value. Placeholders in angle brackets take the listed values. The 4141B, 4141E, 4141F, and 4141H share this command set in TestFlow's library.

Calculate (CALCulate) (66)

CommandWhat it doesArguments
:CALCulate:PN:SMOothing:STATe ONPN Smoothing On. Turns phase noise trace smoothing on.None
:CALCulate:PN:SMOothing:STATe OFFPN Smoothing Off. Turns phase noise trace smoothing off.None
:CALCulate:PN:SMOothing:APERture <Aperture>Set PN Smoothing Aperture. Sets the smoothing aperture in percent (0.05 to 25).Number: 0.05,25
:CALCulate:PN:SPURious:POWer ONPN Spur Power On. Turns spur display in power units (dBc); OFF with omission OFF = normalized dBc/Hz on.None
:CALCulate:PN:SPURious:POWer OFFPN Spur Power Off. Turns spur display in power units (dBc); OFF with omission OFF = normalized dBc/Hz off.None
:CALCulate:PN:SPURious:OMISsion ONPN Spur Omission On. Turns spur omission (ignore spurs) on.None
:CALCulate:PN:SPURious:OMISsion OFFPN Spur Omission Off. Turns spur omission (ignore spurs) off.None
:CALCulate:PN:TRACe<Trace>:STATe ONPN Trace On. Turns the phase noise trace on.Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:STATe OFFPN Trace Off. Turns the phase noise trace off.Number: 1,2,3,4,5
:CALCulate:PN:ALLTrace:ACTive <Trace>Set PN Active Trace. Selects the active trace (1 to 5).Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:MATH:OFFSet <Offset>Set PN Trace Offset. Sets the offset of the trace.Number: 1,2,3,4,5; Number
:CALCulate:PN:TRACe<Trace>:HOLD <Hold>Set PN Trace Hold. Sets the trace data hold mode (off, min hold, max hold, hold current).Number: 1,2,3,4,5; Text: OFF,MINimum,MAXimum,CURRent
:CALCulate:PN:DATA:CARRier?Read PN Carrier. Returns the carrier data (frequency and power of the input signal).None
:CALCulate:PN:TRACe<Trace>:DATA:FDATa?Read PN Trace Y. Returns the formatted trace data (y-axis values, dBc/Hz).Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:DATA:XDATa?Read PN Trace X. Returns the trace x-axis data (offset frequencies).Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:STATe ONPN Marker On. Turns the marker on the trace on.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:STATe OFFPN Marker Off. Turns the marker on the trace off.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:ALLMarker:ACTive <Marker>Set PN Active Marker. Selects the active marker on the trace (1 to 9).Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:X <Offset>Set PN Marker X. Sets the marker x position (offset frequency).Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9; Number
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:X?Read PN Marker X. Returns the marker x position (offset frequency).Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:Y?Read PN Marker Y. Returns the marker value (e.g. dBc/Hz).Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer:REFerence:STATe ONPN Reference Marker On. Turns the reference marker on.Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:MARKer:REFerence:STATe OFFPN Reference Marker Off. Turns the reference marker off.Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:MARKer:REFerence:X <Offset>Set PN Ref Marker X. Sets the reference marker x position.Number: 1,2,3,4,5; Number
:CALCulate:PN:TRACe<Trace>:MARKer:REFerence:Y?Read PN Ref Marker Y. Returns the reference marker value.Number: 1,2,3,4,5
:CALCulate:PN:ALLTrace:MARKer:DISCrete:STATe ONPN Marker Discrete On. Turns discrete mode for all markers of all traces on.None
:CALCulate:PN:ALLTrace:MARKer:DISCrete:STATe OFFPN Marker Discrete Off. Turns discrete mode for all markers of all traces off.None
:CALCulate:PN:BDMarker:X:STATe ONPN Cursor X On. Turns the X-axis cursor on.None
:CALCulate:PN:BDMarker:X:STATe OFFPN Cursor X Off. Turns the X-axis cursor off.None
:CALCulate:PN:BDMarker:X:STARt <Value>Set PN Cursor X Start. Sets the X-axis cursor start position.Number
:CALCulate:PN:BDMarker:X:STOP <Value>Set PN Cursor X Stop. Sets the X-axis cursor stop position.Number
:CALCulate:PN:BDMarker:X:CENTer <Value>Set PN Cursor X Center. Sets the X-axis cursor center position.Number
:CALCulate:PN:BDMarker:X:SPAN <Value>Set PN Cursor X Span. Sets the X-axis cursor span.Number
:CALCulate:PN:ALLTrace:FUNCtion:DOMain:X <Range>Set PN Analysis Range X. Sets the X-axis analysis range (cursor range or full range).Text: BDMarker,FRANge
:CALCulate:PN:BDMarker:Y:STATe ONPN Cursor Y On. Turns the Y-axis cursor on.None
:CALCulate:PN:BDMarker:Y:STATe OFFPN Cursor Y Off. Turns the Y-axis cursor off.None
:CALCulate:PN:BDMarker:Y:STARt <Value>Set PN Cursor Y Start. Sets the Y-axis cursor start position.Number
:CALCulate:PN:BDMarker:Y:STOP <Value>Set PN Cursor Y Stop. Sets the Y-axis cursor stop position.Number
:CALCulate:PN:BDMarker:Y:CENTer <Value>Set PN Cursor Y Center. Sets the Y-axis cursor center position.Number
:CALCulate:PN:BDMarker:Y:SPAN <Value>Set PN Cursor Y Span. Sets the Y-axis cursor span.Number
:CALCulate:PN:ALLTrace:FUNCtion:DOMain:Y <Range>Set PN Analysis Range Y. Sets the Y-axis analysis range (cursor range or full range).Text: BDMarker,FRANge
:CALCulate:PN:ALLTrace:FUNCtion:TYPE <Type>Set PN Analysis Type. Sets the analysis type (off or statistics).Text: OFF,STATistics
:CALCulate:PN:ALLTrace:FUNCtion:STATistics?Read PN Statistics. Returns the statistical analysis values of the active trace.None
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:MAXimumPN Marker Search Max. Searches the maximum on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:MINimumPN Marker Search Min. Searches the minimum on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:PEAKPN Marker Search Peak. Searches a peak on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:LPEakPN Marker Search Left Peak. Searches the next peak to the left on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:RPEakPN Marker Search Right Peak. Searches the next peak to the right on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:TARGetPN Marker Search Target. Searches the target value on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:LTARgetPN Marker Search Left Target. Searches the target value to the left on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:EXECute:RTARgetPN Marker Search Right Target. Searches the target value to the right on the trace with the marker.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9
:CALCulate:PN:TRACe<Trace>:ALLMarker:SEARch:PEAKPN Search All Peaks. Searches all peaks on the trace that meet the peak criteria.Number: 1,2,3,4,5
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:PEAK:EXCursion <Excursion>Set PN Peak Excursion. Sets the peak excursion for the marker peak search.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9; Number
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:PEAK:POLarity <Polarity>Set PN Peak Polarity. Sets the peak polarity for the marker peak search.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9; Text: POSitive,NEGative,BOTH
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:TARGet:Y <Value>Set PN Target Value. Sets the target value for the marker target search.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9; Number
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:TARGet:TRANsition <Transition>Set PN Target Transition. Sets the target transition for the marker target search.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9; Text: POSitive,NEGative,BOTH
:CALCulate:PN:TRACe<Trace>:MARKer<Marker>:SEARch:TRACking:TYPE <Type>Set PN Marker Tracking. Sets the marker tracking type.Number: 1,2,3,4,5; Number: 1,2,3,4,5,6,7,8,9; Text: OFF,MAXimum,MINimum,PEAK,TARGet
:CALCulate:PN:TRACe<Trace>:ALLMarker:SEARch:DOMain:X <Range>Set PN Search Range X. Sets the x-axis search range (cursor range or full range).Number: 1,2,3,4,5; Text: BDMarker,FRANge
:CALCulate:PN:TRACe<Trace>:ALLMarker:SEARch:DOMain:Y <Range>Set PN Search Range Y. Sets the y-axis search range (cursor range or full range).Number: 1,2,3,4,5; Text: BDMarker,FRANge
:CALCulate:AM:DATA:CARRier?Read AM Carrier. Returns the carrier data (frequency and power) of the AM noise measurement.None
:CALCulate:AM:TRACe<Trace>:DATA:FDATa?Read AM Trace Y. Returns the formatted AM noise trace data.Number: 1,2,3,4,5
:CALCulate:AM:TRACe<Trace>:DATA:XDATa?Read AM Trace X. Returns the AM noise trace x-axis data.Number: 1,2,3,4,5
:CALCulate:BB:TRACe<Trace>:DATA:FDATa?Read BB Trace Y. Returns the formatted baseband noise trace data.Number: 1,2,3,4,5
:CALCulate:BB:TRACe<Trace>:DATA:XDATa?Read BB Trace X. Returns the baseband noise trace x-axis data.Number: 1,2,3,4,5
:CALCulate:FP<Window>:TRACe<Trace>:DATA:FDATa?Read FP Trace Y. Returns the formatted frequency/power trace data.Number: 1,2,3,4; Number: 1,2,3,4,5
:CALCulate:FP<Window>:TRACe<Trace>:DATA:XDATa?Read FP Trace X. Returns the frequency/power trace x-axis data (voltages).Number: 1,2,3,4; Number: 1,2,3,4,5

Sense (SENSe) (28)

CommandWhat it doesArguments
:SENSe:PN:FBANd <Band>Set PN Band. Selects the frequency band for the phase noise measurement (*RST BAND4).Text: BAND1,BAND2,BAND3,BAND4,BAND5
:SENSe:PN:FREQuency:TARGet <Frequency>Set PN Target Frequency. Sets the target frequency in Hz (only needed for BAND5; 6 GHz to the upper frequency limit).Number
:SENSe:PN:FREQuency:STARt <Offset>Set PN Start Offset. Sets the start offset of the phase noise measurement (*RST 10HZ).Text: 1HZ,10HZ,100HZ,1KHZ
:SENSe:PN:FREQuency:STOP <Offset>Set PN Stop Offset. Sets the stop offset of the phase noise measurement (*RST 100MHZ).Text: 100KHZ,1MHZ,5MHZ,10MHZ,20MHZ,40MHZ,100MHZ
:SENSe:PN:AVERage:CLEarRestart PN Average. Clears the current result and restarts averaging.None
:SENSe:PN:AVERage:COUNt <Count>Set PN Average Count. Sets the number of averages (1 to 999).Number: 1,999
:SENSe:PN:AVERage:STATe ONPN Average On. Turns phase noise averaging on.None
:SENSe:PN:AVERage:STATe OFFPN Average Off. Turns phase noise averaging off.None
:SENSe:PN:CORRelation:COUNt <Count>Set PN Correlation Count. Sets the number of cross-correlations (1 to 10000).Number: 1,10000
:SENSe:PN:CORRelation:COUNt?Read PN Correlation Count. Returns the number of cross-correlations.None
:SENSe:PN:IFGain <Gain>Set PN IF Gain. Sets the IF gain in dB for the phase noise measurement (0 to 50; *RST 20).Number: 0,50
:SENSe:PN:CRANge <Range>Set PN Capture Range. Sets the capture range (normal or wide).Text: NORMal,WIDE
:SENSe:PN:SEGTable:MEASurement:QUALity <Quality>Set PN Quality. Sets the measurement quality (normal or fast).Text: NORMal,FAST
:SENSe:AM:FBANd <Band>Set AM Band. Selects the frequency band for the AM noise measurement.Text: BAND1,BAND2,BAND3,BAND4
:SENSe:AM:FREQuency:STARt <Offset>Set AM Start Offset. Sets the start offset of the AM noise measurement.Text: 1HZ,10HZ,100HZ,1KHZ
:SENSe:AM:FREQuency:STOP <Offset>Set AM Stop Offset. Sets the stop offset of the AM noise measurement.Text: 100KHZ,1MHZ,5MHZ,10MHZ,20MHZ,40MHZ
:SENSe:AM:AVERage:COUNt <Count>Set AM Average Count. Sets the number of averages for the AM noise measurement (1 to 999).Number: 1,999
:SENSe:AM:CORRelation:COUNt <Count>Set AM Correlation Count. Sets the number of cross-correlations for the AM noise measurement.Number
:SENSe:BB:FREQuency:STARt <Offset>Set BB Start Offset. Sets the start offset of the baseband noise measurement.Text: 1HZ,10HZ,100HZ,1KHZ
:SENSe:BB:FREQuency:STOP <Offset>Set BB Stop Offset. Sets the stop offset of the baseband noise measurement.Text: 100KHZ,1MHZ,5MHZ,10MHZ,20MHZ,40MHZ,100MHZ
:SENSe:BB:AVERage:COUNt <Count>Set BB Average Count. Sets the number of averages for the baseband noise measurement (1 to 999).Number: 1,999
:SENSe:BB:CORRelation:COUNt <Count>Set BB Correlation Count. Sets the number of cross-correlations for the baseband noise measurement (1 to 10000).Number: 1,10000
:SENSe:BB:IFGain <Gain>Set BB IF Gain. Sets the IF gain in dB for the baseband noise measurement (0 to 50).Number: 0,50
:SENSe:BB:COFRequency <Cutoff>Set BB Cutoff. Sets the baseband noise cutoff frequency (low or high).Text: LOW,HIGH
:SENSe:BB:DISChargeBB Discharge. Discharges the DC module capacitor.None
:SENSe:FP<Window>:FBANd <Band>Set FP Band. Selects the frequency band for the frequency/power measurement.Number: 1,2,3,4; Text: BAND1,BAND2,BAND3
:SENSe:FP<Window>:SWEep:DWELl <Time>Set FP Dwell. Sets the point delay in s (0 to 1).Number: 1,2,3,4; Number: 0,1
:SENSe:FP<Window>:FREQuency:RESolution <Resolution>Set FP Freq Resolution. Sets the frequency resolution.Number: 1,2,3,4; Text: 1HZ,10HZ,100HZ,1KHZ,10KHZ,100KHZ,1MHZ

Source (SOURce) (21)

CommandWhat it doesArguments
:SOURce:FP<Window>:SWEep:PARameter <Source>Set FP Sweep Source. Selects the swept DC source (supply or tuning voltage).Number: 1,2,3,4; Text: POWer,CONTrol
:SOURce:FP<Window>:VOLTage:POWer:STARt <Voltage>Set FP Supply Start. Sets the sweep start voltage of the supply source in V (0 to 16).Number: 1,2,3,4; Number: 0,16
:SOURce:FP<Window>:VOLTage:POWer:STOP <Voltage>Set FP Supply Stop. Sets the sweep stop voltage of the supply source in V (0 to 16).Number: 1,2,3,4; Number: 0,16
:SOURce:FP<Window>:VOLTage:CONTrol:STARt <Voltage>Set FP Tune Start. Sets the sweep start voltage of the tuning source in V (-15 to 35).Number: 1,2,3,4; Number: -15,35
:SOURce:FP<Window>:VOLTage:CONTrol:STOP <Voltage>Set FP Tune Stop. Sets the sweep stop voltage of the tuning source in V (-15 to 35).Number: 1,2,3,4; Number: -15,35
:SOURce:FP<Window>:SWEep:POINts <Points>Set FP Sweep Points. Sets the number of sweep points (2 to 1001).Number: 1,2,3,4; Number: 2,1001
:SOURce:VOLTage:POWer:LEVel:STATe ONSupply Output On. Turns the supply voltage output on.None
:SOURce:VOLTage:POWer:LEVel:STATe OFFSupply Output Off. Turns the supply voltage output off.None
:SOURce:VOLTage:POWer:LEVel:AMPLitude <Voltage>Set Supply Voltage. Sets the supply output voltage in V (0 to 16).Number: 0,16
:SOURce:VOLTage:POWer:DELay <Delay>Set Supply Delay. Sets the supply output delay in s (0 to 1).Number: 0,1
:SOURce:VOLTage:POWer:LIMit:LOW <Voltage>Set Supply Min. Sets the minimum supply voltage in V (0 to 16).Number: 0,16
:SOURce:VOLTage:POWer:LIMit:HIGH <Voltage>Set Supply Max. Sets the maximum supply voltage in V (0 to 16).Number: 0,16
:SOURce:VOLTage:CONTrol:LEVel:STATe ONTune Output On. Turns the tuning voltage output on.None
:SOURce:VOLTage:CONTrol:LEVel:STATe OFFTune Output Off. Turns the tuning voltage output off.None
:SOURce:VOLTage:CONTrol:LEVel:AMPLitude <Voltage>Set Tune Voltage. Sets the tuning output voltage in V (-15 to 35).Number: -15,35
:SOURce:VOLTage:CONTrol:DELay <Delay>Set Tune Delay. Sets the tuning output delay in s (0 to 1).Number: 0,1
:SOURce:VOLTage:CONTrol:LIMit:LOW <Voltage>Set Tune Min. Sets the minimum tuning voltage in V (-15 to 35).Number: -15,35
:SOURce:VOLTage:CONTrol:LIMit:HIGH <Voltage>Set Tune Max. Sets the maximum tuning voltage in V (-15 to 35).Number: -15,35
:SOURce:VOLTage:CONTrol:CORRection:COLLect:ACQuireCalibrate Tune Voltage. Performs the tuning voltage calibration.None
:SOURce:VOLTage:CONTrol:CORRection:STATe ONTune Correction On. Turns use of the tuning voltage calibration values on.None
:SOURce:VOLTage:CONTrol:CORRection:STATe OFFTune Correction Off. Turns use of the tuning voltage calibration values off.None

Display (DISPlay) (10)

CommandWhat it doesArguments
:DISPlay:PN:Y:SCALe:AUTOPN Y Auto Scale. Performs a y-axis auto scale.None
:DISPlay:PN:Y:SCALe:DIVisions <Divisions>Set PN Y Divisions. Sets the number of y-axis divisions (4 to 30).Number: 4,30
:DISPlay:PN:Y:SCALe:PDIVision <Scale>Set PN Y Per Division. Sets the y-axis scale per division.Number
:DISPlay:PN:Y:SCALe:RPOSition <Position>Set PN Y Ref Position. Sets the y-axis reference position (0 to number of divisions).Number
:DISPlay:PN:Y:SCALe:RLEVel <Level>Set PN Y Ref Level. Sets the y-axis reference value (*RST -20).Number
:DISPlay:PN:X:SCALe:AUTO ONPN X Auto Scale On. Turns automatic x-axis scaling on.None
:DISPlay:PN:X:SCALe:AUTO OFFPN X Auto Scale Off. Turns automatic x-axis scaling off.None
:DISPlay:PN:X:SCALe:STARt <Start>Set PN X Start. Sets the x-axis start value (1 to 99.9999999M).Number: 1,99999999.9
:DISPlay:PN:X:SCALe:STOP <Stop>Set PN X Stop. Sets the x-axis stop value (1.1 to 100M).Number: 1.1,100000000
:DISPlay:PN:ANNotation:MARKer:POSition <Position>Set PN Marker Info Position. Sets the display position of the marker information.Text: LEFT,RIGHt

Initiate (INITiate) (7)

CommandWhat it doesArguments
:INITiate:PN:CONTinuous OFFPN Single Mode. Sets the phase noise measurement to single mode.None
:INITiate:PN:CONTinuous ONPN Continuous Mode. Sets the phase noise measurement to continuous mode.None
:INITiate:PN:IMMediatePN Start Single. Starts a single phase noise measurement.None
:INITiate:PN:RESTartPN Restart. Clears the current result and restarts the phase noise measurement.None
:INITiate:AM:IMMediateAM Start Single. Starts a single AM noise measurement.None
:INITiate:BB:IMMediateBB Start Single. Starts a single baseband noise measurement.None
:INITiate:FP<Window>:IMMediateFP Start Single. Starts a single frequency/power measurement.Number: 1,2,3,4

Status (STATus) (7)

CommandWhat it doesArguments
STATus:OPERation?Read Operation Status. Returns and clears the operation status event register.None
STATus:OPERation:CONDition?Read Operation Condition. Returns the operation status condition register.None
STATus:OPERation:ENABle <Value>Set Operation Enable. Sets the operation status enable register (0 to 32767).Number: 0,32767
STATus:QUEStionable?Read Questionable Status. Returns and clears the questionable status event register.None
STATus:QUEStionable:CONDition?Read Questionable Condition. Returns the questionable status condition register.None
STATus:QUEStionable:ENABle <Value>Set Questionable Enable. Sets the questionable status enable register (0 to 32767).Number: 0,32767
STATus:PRESetPreset Status. Presets the status reporting structure enable registers.None

Mass memory (MMEMory) (6)

CommandWhat it doesArguments
:MMEMory:STORe:USER:STATeSave User State. Saves the current state as the user preset state.None
:MMEMory:LOAD:USER:STATeLoad User State. Recalls the user preset state.None
:MMEMory:STORe:STATe <FileName>Save State. Saves the instrument state to a file (quoted path).Text
:MMEMory:LOAD:STATe <FileName>Load State. Loads the instrument state from a file (quoted path).Text
:MMEMory:STORe:TRACe <FileName>Save Trace. Saves trace data to a .csv file (quoted path).Text
:MMEMory:STORe:IMAGe <FileName>Save Screenshot. Saves a screenshot to a file (quoted path).Text

System (SYSTem) (4)

CommandWhat it doesArguments
:SYSTem:COMMunicate:GPIB:ADDRess <Address>Set GPIB Address. Sets the GPIB address (0 to 30; default 18).Number: 0,30
:SYSTem:ERRor:NEXT?Read Error. Returns the next entry in the error queue.None
:SYSTem:PRESet:TYPE <Type>Set Preset Type. Selects factory or user preset for the Preset key.Text: FACTory,USER
:SYSTem:PRESetPreset. Presets the instrument.None

Trigger (TRIGger) (3)

CommandWhat it doesArguments
:TRIGger:MODE <Mode>Select Measurement Mode. Selects the measurement mode (PN1 phase noise, SP1 spectrum, FP1 frequency/power, TR1 transient, AM1 AM noise, BB1 baseband noise).Text: PN1,SP1,FP1,TR1,AM1,BB1
:TRIGger:MODE PN1Select Phase Noise Mode. Enters the phase noise measurement mode.None
:TRIGger:PN:SOURce <Source>Set PN Trigger Source. Selects the phase noise trigger source.Text: INTernal,EXTernal,MANual,BUS

FORM subsystem (2)

CommandWhat it doesArguments
:FORMat:DATA <Format>Set Data Format. Selects the data transfer format (ASCII or 64-bit real).Text: ASCii,REAL
:FORMat:BORDer <Order>Set Byte Order. Selects the byte order of binary data.Text: NORMal,SWAPped

HCOP subsystem (1)

CommandWhat it doesArguments
:HCOPy:IMMediatePrint Screen. Prints the screen.None

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 (6)

CommandWhat it doesArguments
*IDN?Identify. Returns the instrument identification string (manufacturer, model, serial, firmware).None
*RSTReset. Resets the instrument to its default state.None
*CLSClear Status. Clears all event registers and the error queue.None
*OPC?Operation Complete. Returns 1 when all pending operations are complete.None
*WAIWait To Continue. Waits until all pending operations are complete before continuing.None
*TRGTrigger Bus. Executes a trigger.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 4141B, 4141E, 4141F, and 4141H 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 26, 2026.

Frequently asked questions

Does the Ceyear 4141B support SCPI remote control?

Yes. The Ceyear 4141B accepts SCPI commands over its remote interfaces. TestFlow's instrument library holds 164 SCPI commands for it: 22 queries that read values or state, and 142 settings and actions.

How do I control the Ceyear 4141B 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?, :DISPlay:PN:Y:SCALe:AUTO and :SENSe:PN:CORRelation:COUNt?.

Which command reads a value from the Ceyear 4141B?

:SENSe:PN:CORRelation:COUNt? (read pn correlation count). Returns the number of cross-correlations. The full list of queries is in the command reference on this page, grouped by subsystem.

Can I automate the Ceyear 4141B 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 4141B 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.