Command sets the upper limit line value. In group delay mode, the value is in units of time.
Query Description
Query returns the upper limit line value.
Param Type
Float
Default Units
Current active trace y-axis units
Example
To set limit amplitude to 20 dB for trace 1:
:CALC1:LIM:UPP:Y 20
:CALCulate#:LIMit:UPPer[:STATe] OFF|ON|0|1
:CALCulate#:LIMit:UPPer[:STATe]?
Cmd Description
Command sets the upper limit line state for the specified trace.
Query Description
Query returns the upper limit line state for the specified trace.
Param Range
OFF|ON|0|1
Default Value
OFF|0
Example
To set limit on for trace 1:
:CALC1:LIM:UPP ON
:CALCulate:LIMit:ALARm OFF|ON|0|1
:CALCulate:LIMit:ALARm?
Cmd Description
Command sets the limit alarm state. The device beeps if a trace point crosses the limit line.
Query Description
Query returns the limit alarm state.
Param Range
OFF|ON|0|1
Default Value
OFF|0
Example
To set limit alarm on:
:CALC:LIM:ALAR ON
:CALCulate:LIMit:LOWer:SEGMent:ACTive <Index>
Cmd Description
Command sets the given lower segment index active.
Param Type
int
Example
To set lower segment 1 active:
:CALC:LIM:LOW:SEGM:ACT 1
:CALCulate:LIMit:MESSage OFF|ON|0|1
:CALCulate:LIMit:MESSage?
Cmd Description
Command sets the limit message state. Displays a Pass/Fail message to indicate whether the trace crosses the limit line.
Query Description
Query returns the limit message state.
Param Range
OFF|ON|0|1
Default Value
OFF|0
Example
To set limit message on:
:CALC:LIM:MESS ON
:CALCulate:LIMit:MESSage:RESult?
Query Description
Query returns 0 if limit line says Fail. Otherwise, it returns 1 if limit line says Pass.
Example
To get limit line Pass/Fail result:
:CALC:LIM:MESS:RES?
:CALCulate:LIMit:MODe
Cmd Description
Command changes the limit line to either Line or Segmented mode.
Example
To change the limit line mode
:CALC:LIM:MOD SEGM
:CALCulate:LIMit:PRESet
Cmd Description
Command presets the limit line to its default state.
Example
To perform limit line preset:
:CALC:LIM:PRES
:CALCulate:LIMit:TYPE 0|1
:CALCulate:LIMit:TYPE?
Cmd Description
Command sets the active limit line type. 0 for upper limit and 1 for lower limit.
Query Description
Query returns the active limit line type.
Param Range
0|1
Default Value
0
Example
To set the active limit to lower limit:
:CALC:LIM:TYPE 1
:CALCulate:LIMit:UPPer:SEGMent:ACTive <Index>
Cmd Description
Command sets the given upper segment index active.
Param Type
int
Example
To set upper segment 1 active:
:CALC:LIM:UPP:SEGM:ACT 1
:CALCulate:LIMit:VALue <amplitude>{dB}
:CALCulate:LIMit:VALue?
Cmd Description
Command sets the limit line value.
Query Description
Query returns the limit line value.
Param Type
Float
Default Units
Current active trace y-axis units
Example
To set limit line to 20 dB:
:CALC:LIM:VAL 20
:CALCulate:LIMit[:STATe] OFF|ON|0|1
:CALCulate:LIMit[:STATe]?
Cmd Description
Command sets the limit line state.
Query Description
Query returns the limit line state.
Param Range
OFF|ON|0|1
Default Value
OFF|0
Example
To set limit on:
:CALC:LIM ON
:CALCulate:MARKer#:PEAK
Cmd Description
This command sets specified marker to the trace peak value.
Example
To set marker 5 to the peak of the trace:
:CALC:MARK5:PEAK
:CALCulate:MARKer#:PEAK:BOUNded
Cmd Description
This command sets specified marker to the trace peak value between two markers. Markers 5 and 7 will search for the peak between markers 1 and 2. Markers 6 and 8 will search for the peak between markers 3 and 4.
Example
To set marker 5 to the peak between markers 1 and 2:
Command sets the tracking mode of the specified marker.
Query Description
Query returns the tracking mode of the specified marker. Query returns PEAK for peak tracking, or returns VALL for valley tracking, or returns BNDP for bounded peak tracking, or returns BNDV for bounded valley tracking.
Param Range
PEAK|VALLey|BNDPeak|BNDValley|OFF
Default Value
OFF
Example
To set marker 2 to peak tracking:
:CALC:MARK2:TRAC PEAK
:CALCulate:MARKer#:TYPE REFerence|DELTa
:CALCulate:MARKer#:TYPE?
Cmd Description
Command sets the type of the specified marker.
Query Description
Query returns the type of the specified marker. Query returns REF if the specified marker is a reference marker, or returns DELT if the specified marker is a delta marker.
Param Range
REFerence|DELTA
Default Value
REF
Example
To set marker 2 type to delta:
:CALC:MARK2:TYPE DELT
:CALCulate:MARKer#:VALLey
Cmd Description
This command sets specified marker to the trace valley value.
Example
To set marker 5 to the valley of the trace:
:CALC:MARK5:VALL
:CALCulate:MARKer#:VALLey:BOUNded
Cmd Description
This command sets specified marker to the trace valley value between two markers. Markers 5 and 7 will search for the valley between markers 1 and 2. Markers 6 and 8 will search for the valley between markers 3 and 4.
Example
To set marker 5 to the valley between markers 1 and 2:
Command sets the position for the specified marker in the current sweep domain. For delta marker, it sets the relative position to the reference marker. Verify that the appropriate unit is used. Time units are available only if option 2 is installed.
Query Description
Query returns the marker position for the specified marker. For a delta marker, query returns the position relative to the reference marker.
Param Type
Float
Param Description
Frequency, distance, or time
Default Value
Model-dependent
Default Units
Hz
Example
To set marker 2 frequency to 1 GHz:
:CALC:MARK2:X 1 GHZ
:CALCulate:MARKer#:Y?
Query Description
Query returns the amplitude value for the specified marker.
Example
To query marker 3 amplitude value:
:CALC:MARK3:Y?
:CALCulate:MARKer#[:STATe] OFF|ON|0|1
:CALCulate:MARKer#[:STATe]?
Cmd Description
Command sets the state of the specified marker.
Query Description
Query returns the state of the specified marker. Query returns 1 if the specified marker is on, or returns 0 if the specified marker is off.
Param Range
OFF|ON|0|1
Default Value
OFF|0
Example
To set marker 1 state ON:
:CALC:MARK1 ON
:CALCulate:MARKer:ACTive?
Query Description
Query returns active marker number. Returns NONE if no markers are active.
Example
To get active marker
:CALC:MARK:ACT?
:CALCulate:MARKer:DISPlay MKRTable|MKRonly|AOFF
:CALCulate:MARKer:DISPlay?
Cmd Description
Command sets the marker display mode.
Query Description
Query returns the marker display mode. Query returns MKRT if the markers and marker table are displayed, returns MKR if only the markers are displayed, or returns AOFF if markers and marker table are not displayed.
Command sets the trace math function. NONE - no trace math applied; SUBT - memory trace subtracted from active trace; ADD - memory trace added to active trace; AVER - active and memory traces added and divided by 2.
Query Description
Query returns the trace math function.
Param Range
NONE|SUBTraction|ADDition|AVERage
Default Value
NONE
Example
To set trace math function to addition:
:CALC:MATH:FUNC ADD
:CALCulate:MATH:MEMorize
Cmd Description
Copies active trace into the memory buffer.
Example
To copy active trace into the memory buffer:
:CALC:MATH:MEM
:CALCulate:TRANsform:CLAVerage?
Query Description
Query returns cable loss average when the measurement mode is ’Cable Loss’.
Command starts the data capture for continuous sweeps. It does not work in single sweep and hold mode.
Example
To start data capture
:CAPT:STAR
:CAPTure:STOP
Cmd Description
Command stops the data capture for continuous sweeps. It does not work in single sweep and hold mode.
Example
To stop capture:
:CAPT:STOP
:CAPTure:TRACe#:DATA? FDATa|SDATa|FMEM|SMEM
Cmd Description
Command is used to return the data block of the specified trace at the end of a sweep, while the instrument is in continuous sweep mode. This command must follow the :CAPTure:STARt command. A :CAPTure:STOP command is used to end the capture session. If the system is in single sweep and hold mode, then this command is ignored.
Example
To trigger a sweep:
:CAPT:TRAC1:DATA? FDAT
:CONFigure:MEASure:DISPlay SINGle|DUAL
:CONFigure:MEASure:DISPlay?
Cmd Description
Command sets the display format to single or dual traces. Only supported in Advanced Cable & Antenna Analyzer mode.
Query Description
Query returns the display format. Only supported in Advanced Cable & Antenna Analyzer mode.
RLFReq: Return Loss (Frequency domain sweep); RLDTf: Return Loss(DTF); SWRFreq: SWR(Frequency domain sweep); SWRDtf: SWR(DTF); CLFReq: Cable Loss - One Port (Frequency domain sweep); TRES: Transmission - External Sensor; SMITh: Smith Chart; PHASe: One-Port Phase.
Example
To set measurement mode to Cable Loss:
:CONF:MEAS:MOD CLFR
:DISPlay:UPDate ON|OFF|1|0
:DISPlay:UPDate?
Cmd Description
Command sets the display update on/off.
Query Description
Query returns display update status. Query returns 1 if display update is on. Otherwise, it returns 0.
Param Range
ON|OFF|1|0
Default Value
OFF|0
Example
To turn display update off:
:DISP:UPD OFF
:DISPlay:WINDow:TRACe:STATe TRACe|MEMory|BOTH
:DISPlay:WINDow:TRACe:STATe?
Cmd Description
Command sets the trace display type for the active trace. TRAC - only active trace is shown; MEM - only memory trace is shown; BOTH - both active and memory traces are shown. Use :CALCulate:MATH:MEMorize before changing the display type.
Query Description
Query returns the trace display type.
Param Range
TRACe|MEMory|BOTH
Default Value
TRACe
Example
To show both active and memory trace on the display:
:DISP:WIND:TRAC:STAT BOTH
:DISPlay:WINDow:TRACe:Y[:SCALe]:AUToscale
Cmd Description
This command sets the top and bottom values such that the trace occupies a significant portion of the grid.
Command sets the data format type. ASCii and REAL returns data in current unit. INTeger returns data with mdBm unit. This command applies to :TRACe[:DATA]? and :CALCulate:DATA?.
Query Description
Query returns the data format type as ASC or INT, 32 or REAL, 32.
Param Range
ASCii|INTeger,32|REAL,32
Example
To set data format type to integer:
:FORM INT,32
:FORMat[:READings][:DATA]:MULTiplier 1|1M
:FORMat[:READings][:DATA]:MULTiplier?
Cmd Description
Command sets the data format multiplier factor.
Query Description
Query returns the data format multiplier factor. If ’1M’ is passed as argument, then query results for :TRACe[:DATA]? and :CALCulate:DATA? will specify readings multiplied by 10^6. If ’1’ is passed, then query results for :TRACe[:DATA]? and :CALCulate:DATA? will specify read.
Param Range
1|1M
Default Value
1M
Example
To set data format multiplier to 1:
:FORM:MULT 1
:INITiate#:DATA? FDATa|SDATa|FMEM|SMEM
Cmd Description
Command triggers a sweep and returns the data block of the specified trace at the end of sweep. If the system is in continuous mode, then this command is ignored.
Example
To trigger a sweep and wait for Formatted data to be returned:
:INIT1:DATA? FDAT
:INITiate:CONTinuous OFF|ON|0|1
:INITiate:CONTinuous?
Cmd Description
Command sets the sweep type between single sweep and continuous sweep.
Query Description
Query returns the sweep type, single or continuous. Query returns 1 for continuous sweep, and returns 0 for single sweep.
Param Range
OFF|ON|0|1
Default Value
ON|1
Example
To set the sweep type to single sweep:
:INIT:CONT OFF
:INITiate:HOLD OFF|ON|0|1
:INITiate:HOLD?
Cmd Description
Command sets the sweep state between run and hold. This command is ignored in external trigger mode.
Query Description
Query returns the sweep state, run or hold. Query returns 1 for hold mode, and returns 0 for run mode.
Param Range
OFF|ON|0|1
Default Value
OFF|0
Example
To set the sweep state to hold:
:INIT:HOLD ON
:INITiate[:IMMediate]
Cmd Description
Command triggers a single sweep if in single sweep mode. If the system is in continuous mode, then this command is ignored.
Example
To trigger a sweep:
:INIT
:STATus:OPERation?
Query Description
Queries sweep status. This is used in combination with :INITiate[:IMMediate]. Sweep complete bit is the bit 8. Query returns 256 if sweep has completed. Otherwise, it returns 0.
Example
To query sweep status:
:STAT:OPER?
:TRACe[:DATA]? {1|2}
Query Description
Query returns raw trace data in real and imaginary format.
Param Type
Integer
Param Description
Optional Param: Trace number, default is 1.
Param Range
1|2
Example
To get trace 1 data:
:TRAC?
[:SENSe]:APPLication:TST:RESult?
Query Description
Query returns self-test details. The self-test command (See [:SENSe]:APPLication:TST? [NORMal]) must be sent before getting the self-test details.
Example
To retrieve application self-test result:
:APPL:TST:RES?
[:SENSe]:APPLication:TST? {NORMal}
Query Description
Query returns 0 if self-test succeeds with no error. Otherwise, it returns 255.
Param Description
Optional Param: Self-test type, default is NORMal.
Param Range
NORMal
Example
To run an application self-test:
:APPL:TST?
[:SENSe]:CALibration:STATe?
Query Description
Query returns the state of calibrated measurements depending on the calibration collection type. 0 means no calibration was done. For calibration types RFP1 & RRP1, return value is 1. For calibration types TRFP & TRES, return value is 4. For calibration types 2PFP & 2PES, return value is 5.
Example
To query state after calibration is completed:
:CAL:STAT?
[:SENSe]:CORRection:COLLect:ABORt
Cmd Description
Aborts all steps of the RF calibration.
Example
To abort RF calibration:
:CORR:COLL:ABOR
[:SENSe]:CORRection:COLLect:INFO:STATus?
Query Description
Query returns 0 if calibration is not in progress, 1 if calibration is in progress, 2 if calibration was aborted, 3 if cal-coefficients are being calculated, or 4 if calibration has completed.
Example
To query calibration progress status:
:CORR:COLL:INFO:STAT?
[:SENSe]:CORRection:COLLect:INITialize
Cmd Description
Command to initialize an RF calibration with the current calibration type.
Example
To initialize RF calibration:
:CORR:COLL:INIT
[:SENSe]:CORRection:COLLect:LOAD
Cmd Description
Perform ’Load’ step of calibration.
Example
To measure load:
:CORR:COLL:LOAD
[:SENSe]:CORRection:COLLect:OPEN
Cmd Description
Perform ’Open’ step of calibration.
Example
To measure open:
:CORR:COLL:OPEN
[:SENSe]:CORRection:COLLect:SAVe
Cmd Description
Complete an RF Cal and perform coefficient calculation.
Example
To complete a RF calibration and perform coefficient calculation:
Query with step parameter returns 1 if a specified cal step is completed. Otherwise, it returns 0. Query without any parameter returns 0 if no cal started, 1 if cal already started, 2 if cal has been aborted, 3 if cal is calculating, or 4 if cal has been completed.