S331P Site Master™ Programming Manual : Cable & Antenna Analyzer Mode Commands
 
Cable & Antenna Analyzer Mode Commands
 
:CALCulate#:LIMit:LOWer:SEGMent:ADD <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:LOWer:SEGMent:DELete
:CALCulate#:LIMit:LOWer:SEGMent:EDIT <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:LOWer:SEGMent:STARt:X <value>
:CALCulate#:LIMit:LOWer:SEGMent:STARt:Y <amplitude>
:CALCulate#:LIMit:LOWer:SEGMent:STOP:X <value>
:CALCulate#:LIMit:LOWer:SEGMent:STOP:Y <amplitude>
:CALCulate#:LIMit:LOWer:Y <amplitude>{dB,s|ms|ns|ps}
:CALCulate#:LIMit:LOWer[:STATe] OFF|ON|0|1
:CALCulate#:LIMit:UPPer:SEGMent:ADD <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:UPPer:SEGMent:DELete
:CALCulate#:LIMit:UPPer:SEGMent:EDIT <StartX><StopX><StartY><StopY>
:CALCulate#:LIMit:UPPer:SEGMent:STARt:X <value>
:CALCulate#:LIMit:UPPer:SEGMent:STARt:Y <amplitude>
:CALCulate#:LIMit:UPPer:SEGMent:STOP:X <value>
:CALCulate#:LIMit:UPPer:SEGMent:STOP:Y <amplitude>
:CALCulate#:LIMit:UPPer:Y <amplitude>{dB,s|ms|ns|ps}
:CALCulate#:LIMit:UPPer[:STATe] OFF|ON|0|1
:CALCulate:LIMit:ALARm OFF|ON|0|1
:CALCulate:LIMit:LOWer:SEGMent:ACTive <Index>
:CALCulate:LIMit:MESSage OFF|ON|0|1
:CALCulate:LIMit:MODe
:CALCulate:LIMit:PRESet
:CALCulate:LIMit:TYPE 0|1
:CALCulate:LIMit:UPPer:SEGMent:ACTive <Index>
:CALCulate:LIMit:VALue <amplitude>{dB}
:CALCulate:LIMit[:STATe] OFF|ON|0|1
:CALCulate:MARKer#:PEAK
:CALCulate:MARKer#:PEAK:BOUNded
:CALCulate:MARKer#:TRACking PEAK|VALLey|BNDPeak|BNDValley|OFF
:CALCulate:MARKer#:TYPE REFerence|DELTa
:CALCulate:MARKer#:VALLey
:CALCulate:MARKer#:VALLey:BOUNded
:CALCulate:MARKer#:X <value>{Hz|kHz|MHz|GHz,m|cm|mm,ft,ps|ns|us|ms|s}
:CALCulate:MARKer#[:STATe] OFF|ON|0|1
:CALCulate:MARKer:DISPlay MKRTable|MKRonly|AOFF
:CALCulate:MARKer:PRESet
:CALCulate:MATH:FUNCtion NONE|SUBTraction|ADDition|AVERage
:CALCulate:MATH:MEMorize
:CALCulate:TRANsform:DISTance:CABLoss <cable-loss>{ dB/m,dB/ft}
:CALCulate:TRANsform:DISTance:PVELocity <propagation-velocity>
:CALCulate:TRANsform:DISTance:STARt <distance>{ m|cm|mm,ft}
:CALCulate:TRANsform:DISTance:STOP <distance>{ m|cm|mm,ft}
:CALCulate:TRANsform:DISTance:UNIT METers|FEET
:CALCulate:TRANsform:DISTance:WINDow RECTangular|MSLobe|NSLobe|LSLobe
:CAPTure:STARt
:CAPTure:STOP
:CAPTure:TRACe#:DATA? FDATa|SDATa|FMEM|SMEM
:CONFigure:MEASure:DISPlay SINGle|DUAL
:CONFigure:MEASure:MODe RLFReq|RLDTf|SWRFreq|SWRDtf|CLFReq|TRES|SMITh|PHASe
:DISPlay:UPDate ON|OFF|1|0
:DISPlay:WINDow:TRACe:STATe TRACe|MEMory|BOTH
:DISPlay:WINDow:TRACe:Y[:SCALe]:AUToscale
:DISPlay:WINDow:TRACe:Y[:SCALe]:BOTTom <amplitude>{dB}
:DISPlay:WINDow:TRACe:Y[:SCALe]:FULLscale
:DISPlay:WINDow:TRACe:Y[:SCALe]:TOP <amplitude>{dB}
:FORMat[:READings][:DATA] ASCii|INTeger,32|REAL,32
:FORMat[:READings][:DATA]:MULTiplier 1|1M
:INITiate#:DATA? FDATa|SDATa|FMEM|SMEM
:INITiate:CONTinuous OFF|ON|0|1
:INITiate:HOLD OFF|ON|0|1
:INITiate[:IMMediate]
[:SENSe]:CORRection:COLLect:ABORt
[:SENSe]:CORRection:COLLect:INITialize
[:SENSe]:CORRection:COLLect:LOAD
[:SENSe]:CORRection:COLLect:OPEN
[:SENSe]:CORRection:COLLect:SAVe
[:SENSe]:CORRection:COLLect:SHORt
[:SENSe]:CORRection:COLLect:THRU
[:SENSe]:CORRection:COLLect:TYPE RFP1|TRES
[:SENSe]:CORRection:COLLect:ZERO
[:SENSe]:CORRection:TYPE STANdard|FLEX
[:SENSe]:CORRection[:STATe] ON|OFF|1|0
[:SENSe]:FREQuency:CABLe <cable-list-index>
[:SENSe]:FREQuency:CABLe:NAMe <"cable-name">
[:SENSe]:FREQuency:STARt <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:FREQuency:STOP <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:SWEep:RESolution 130|259|517|1033|2065
[:SENSe]:SWEep:RFIMmunity HIGH|LOW|1|0
[:SENSe]:SWEep:TYPE CONTinuous|SINGle|EXTernal
[:SENSe]:TRACe:SELect 1|2
The commands in this section apply to the Cable and Antenna Analysis mode.

:CALCulate#:DATA? FDATa|SDATa|FMEM|SMEM
Query Description
Query returns formatted data block of the specified trace.
Param Range
FDATa|SDATa|FMEM|SMEM
Example
To query trace 1 S-data:
:CALC1:DATA? SDATA
:CALCulate#:LIMit:LOWer:SEGMent:ADD <StartX><StopX><StartY><StopY>
Cmd Description
Command adds a segment to the lower limit line.
Param Type
Float
Default Units
X units: Hz for Frequency domain, m or ft for Distance domain; Y units: same as current active trace y-axis units
Example
To add a lower limit segment from 1MHz to 1GHz with value 20 dB for trace 1:
:CALC1:LIM:LOW:SEGM:ADD 1e6,1e9,20,20
:CALCulate#:LIMit:LOWer:SEGMent:DELete
Cmd Description
Command deletes the active lower segment.
Example
To delete the active lower segment for trace 1
:CALC1:LIM:LOW:SEGM:DEL
:CALCulate#:LIMit:LOWer:SEGMent:EDIT <StartX><StopX><StartY><StopY>
Cmd Description
Command edits the lower limit active segment. The active segment index must be updated when adding/deleting a segment.
Param Type
Float
Default Units
X units: Hz for Frequency domain, m or ft for Distance domain; Y units: same as current active trace y-axis units
Example
To edit the active segment and set it to 1MHz to 1GHz with value 20 dB for trace 1:
:CALC1:LIM:LOW:SEGM:EDIT 1e6,1e9,20,20
:CALCulate#:LIMit:LOWer:SEGMent:STARt:X <value>
:CALCulate#:LIMit:LOWer:SEGMent:STARt:X?
Cmd Description
Command sets the lower limit line X start value for current segment.
Query Description
Query returns the lower limit line X start value for active segment.
Param Type
Float
Default Units
Hz for Frequency domain, m or ft for Distance domain, s for Time domain
Example
To set limit X start value to 1 MHz for trace 1:
:CALC1:LIM:LOW:SEGM:STAR:X 1000000
:CALCulate#:LIMit:LOWer:SEGMent:STARt:Y <amplitude>
:CALCulate#:LIMit:LOWer:SEGMent:STARt:Y?
Cmd Description
Command sets the lower limit line Y start value for active segment.
Query Description
Query returns the lower limit line Y start value for active segment.
Param Type
Float
Default Units
Current active trace y-axis units
Example
To set limit start amplitude to 20 dB for trace 1:
:CALC1:LIM:LOW:SEGM:STAR:Y 20
:CALCulate#:LIMit:LOWer:SEGMent:STOP:X <value>
:CALCulate#:LIMit:LOWer:SEGMent:STOP:X?
Cmd Description
Command sets the lower limit line X stop value for active segment. Time units are available only if option 2 is installed.
Query Description
Query returns the upper limit line X stop value for active segment.
Param Type
Float
Default Units
Hz for Frequency domain, m or ft for Distance domain, s for Time domain
Example
To set limit X stop value to 1 MHz for trace 1:
:CALC1:LIM:LOW:SEGM:STOP:X 1000000
:CALCulate#:LIMit:LOWer:SEGMent:STOP:Y <amplitude>
:CALCulate#:LIMit:LOWer:SEGMent:STOP:Y?
Cmd Description
Command sets the lower limit line Y stop value for active segment.
Query Description
Query returns the lower limit line Y stop value for active segment.
Param Type
Float
Default Units
Current active trace y-axis units
Example
To set limit stop amplitude to 20 dB for trace 1:
:CALC1:LIM:LOW:SEGM:STOP:Y 20
:CALCulate#:LIMit:LOWer:SEGMent:TOTal?
Query Description
Query returns the total segments in the lower limit for the given trace.
Example
To query how many lower limit segments are currently available for trace 1:
:CALC:LIM:LOW:SEGM:TOT?
:CALCulate#:LIMit:LOWer:Y <amplitude>{dB,s|ms|ns|ps}
:CALCulate#:LIMit:LOWer:Y?
Cmd Description
Command sets the lower limit line value. In group delay mode, the value is in units of time.
Query Description
Query returns the lower limit line value.
Param Range
x[,dB]
Default Units
Current active trace y-axis units
Example
To set limit amplitude to 20 dB for trace 1:
:CALC1:LIM:LOW:Y 20
:CALCulate#:LIMit:LOWer[:STATe] OFF|ON|0|1
:CALCulate#:LIMit:LOWer[:STATe]?
Cmd Description
Command sets the low limit line state for the specified trace.
Query Description
Query returns the lower 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:LOW ON
:CALCulate#:LIMit:UPPer:SEGMent:ADD <StartX><StopX><StartY><StopY>
Cmd Description
Command adds a segment to the upper limit line.
Param Type
Float
Default Units
X units: Hz for Frequency domain, m or ft for Distance domain; Y units: same as current active trace y-axis units
Example
To add an upper limit segment from 1MHz to 1GHz with value 20 dB for trace 1:
:CALC1:LIM:UPP:SEGM:ADD 1e6,1e9,20,20
:CALCulate#:LIMit:UPPer:SEGMent:DELete
Cmd Description
Command deletes the active upper segment.
Example
To delete the active upper segment for trace 1
:CALC1:LIM:UPP:SEGM:DEL
:CALCulate#:LIMit:UPPer:SEGMent:EDIT <StartX><StopX><StartY><StopY>
Cmd Description
Command edits the upper limit active segment. The active segment index must be updated when adding/deleting a segment.
Param Type
Float
Default Units
X units: Hz for Frequency domain, m or ft for Distance domain; Y units: same as current active trace y-axis units
Example
To edit the active segment and set it to 1MHz to 1GHz with value 20 dB for trace 1:
:CALC1:LIM:UPP:SEGM:EDIT 1e6,1e9,20,20
:CALCulate#:LIMit:UPPer:SEGMent:STARt:X <value>
:CALCulate#:LIMit:UPPer:SEGMent:STARt:X?
Cmd Description
Command sets the upper limit line X start value for active segment. Time units are available only if option 2 is installed.
Query Description
Query returns the upper limit line X start value for active segment.
Param Type
Float
Default Units
Hz for Frequency domain, m or ft for Distance domain, s for Time domain
Example
To set limit X start value to 1 MHz for trace 1:
:CALC1:LIM:UPP:SEGM:STAR:X 1000000
:CALCulate#:LIMit:UPPer:SEGMent:STARt:Y <amplitude>
:CALCulate#:LIMit:UPPer:SEGMent:STARt:Y?
Cmd Description
Command sets the upper limit line Y start value for active segment.
Query Description
Query returns the upper limit line Y start value for active segment.
Param Type
Float
Default Units
Current active trace y-axis units
Example
To set limit start amplitude to 20 dB for trace 1:
:CALC1:LIM:UPP:SEGM:STAR:Y 20
:CALCulate#:LIMit:UPPer:SEGMent:STOP:X <value>
:CALCulate#:LIMit:UPPer:SEGMent:STOP:X?
Cmd Description
Command sets the upper limit line X stop value for active segment. Time units are available only if option 2 is installed.
Query Description
Query returns the upper limit line X stop value for active segment.
Param Type
Float
Default Units
Hz for Frequency domain, m or ft for Distance domain, s for Time domain
Example
To set limit X stop value to 1 MHz for trace 1:
:CALC1:LIM:UPP:SEGM:STOP:X 1000000
:CALCulate#:LIMit:UPPer:SEGMent:STOP:Y <amplitude>
:CALCulate#:LIMit:UPPer:SEGMent:STOP:Y?
Cmd Description
Command sets the upper limit line Y stop value for active segment.
Query Description
Query returns the upper limit line Y stop value for active segment.
Param Type
Float
Default Units
Current active trace y-axis units
Example
To set limit stop amplitude to 20 dB for trace 1:
:CALC1:LIM:UPP:SEGM:STOP:Y 20
:CALCulate#:LIMit:UPPer:SEGMent:TOTal?
Query Description
Query returns the total segments in the upper limit for the given trace.
Example
To query how many upper limit segments are currently available for trace 1:
:CALC:LIM:UPP:SEGM:TOT?
:CALCulate#:LIMit:UPPer:Y <amplitude>{dB,s|ms|ns|ps}
:CALCulate#:LIMit:UPPer:Y?
Cmd Description
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:
:CALC:MARK5:PEAK:BOUN
:CALCulate:MARKer#:TRACking PEAK|VALLey|BNDPeak|BNDValley|OFF
:CALCulate:MARKer#:TRACking?
Cmd Description
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:
:CALC:MARK5:VALL:BOUN
:CALCulate:MARKer#:X <value>{Hz|kHz|MHz|GHz,m|cm|mm,ft,ps|ns|us|ms|s}
:CALCulate:MARKer#:X?
Cmd Description
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.
Param Range
MKRTable|MKRonly|AOFF
Default Value
MKRTable
Example
To set marker display to marker only:
:CALC:MARK:DISP MKR
:CALCulate:MARKer:PRESet
Cmd Description
Presets markers.
Example
To preset markers:
:CALC:MARK:PRES
:CALCulate:MATH:FUNCtion NONE|SUBTraction|ADDition|AVERage
:CALCulate:MATH:FUNCtion?
Cmd Description
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’.
Default Units
dB
Example
To query cable loss average:
:CALC:TRAN:CLAV?
:CALCulate:TRANsform:DISTance:CABLoss <cable-loss>{ dB/m,dB/ft}
:CALCulate:TRANsform:DISTance:CABLoss?
Cmd Description
Command sets the cable loss. Verify that the appropriate unit is used.
Query Description
Query returns the cable loss based on the current units.
Param Type
Float
Default Value
0
Default Units
dB/m
Example
To set cable loss to 2:
:CALC:TRAN:DIST:CABL 2
:CALCulate:TRANsform:DISTance:DMAX?
Query Description
Query returns max distance in the current units.
Example
To query max distance:
:CALC:TRAN:DIST:DMAX?
:CALCulate:TRANsform:DISTance:PVELocity <propagation-velocity>
:CALCulate:TRANsform:DISTance:PVELocity?
Cmd Description
Command sets the propagation velocity.
Query Description
Query returns the propagation velocity.
Param Type
Float
Default Value
1
Example
To set propagation velocity to 0.05:
:CALC:TRAN:DIST:PVEL 0.05
:CALCulate:TRANsform:DISTance:RESolution?
Query Description
Query returns distance resolution in the current units for reflection.
Example
To query distance resolution:
:CALC:TRAN:DIST:RESolution?
:CALCulate:TRANsform:DISTance:STARt <distance>{ m|cm|mm,ft}
:CALCulate:TRANsform:DISTance:STARt?
Cmd Description
Command sets the start distance. Verify the appropriate unit is used.
Query Description
Query returns the start distance in the current units.
Param Type
Float
Param Description
Distance
Default Units
m(meter)
Example
To set start distance to 1 m:
:CALC:TRAN:DIST:STAR 1
:CALCulate:TRANsform:DISTance:STOP <distance>{ m|cm|mm,ft}
:CALCulate:TRANsform:DISTance:STOP?
Cmd Description
Command sets the stop distance. Verify the appropriate unit is used.
Query Description
Query returns the stop distance in the current units.
Param Type
Float
Param Description
Distance
Default Units
m(meter)
Example
To set stop distance to 2 m:
:CALC:TRAN:DIST:STOP 2 M
:CALCulate:TRANsform:DISTance:UNIT METers|FEET
:CALCulate:TRANsform:DISTance:UNIT?
Cmd Description
Command sets the distance unit.
Query Description
Query returns the current distance units.
Param Range
METers|FEET
Default Value
METers
Example
To set distance unit to feet:
:CALC:TRAN:DIST:UNIT FEET
:CALCulate:TRANsform:DISTance:WINDow RECTangular|MSLobe|NSLobe|LSLobe
:CALCulate:TRANsform:DISTance:WINDow?
Cmd Description
Command sets the window type for time domain.
Query Description
Query returns the window type for time domain.
Param Type
Character
Param Range
RECTangular|MSLobe|NSLobe|LSLobe
Default Value
NSLobe
Example
To set time domain window type to rectangular:
:CALC:TRAN:DIST:WIND RECT
:CAPTure:STARt
Cmd Description
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.
Param Range
SINGle|DUAL
Default Value
SINGle
Example
To set display format to dual traces:
:CONF:MEAS:DISP DUAL
:CONFigure:MEASure:MODe RLFReq|RLDTf|SWRFreq|SWRDtf|CLFReq|TRES|SMITh|PHASe
:CONFigure:MEASure:MODe?
Cmd Description
Command sets the active trace measurement mode.
Query Description
Query returns the current measurement mode.
Param Description
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.
Example
To perform auto-scale:
:DISP:WIND:TRAC:Y:AUT
:DISPlay:WINDow:TRACe:Y[:SCALe]:BOTTom <amplitude>{dB}
:DISPlay:WINDow:TRACe:Y[:SCALe]:BOTTom?
Cmd Description
Command sets the display bottom value.
Query Description
Query returns the display bottom value.
Param Type
Float
Default Value
Return Loss = 60dB; DTF Return Loss = 60dB; Cable Loss = 30dB; VSWR = 1; DTF VSWR = 1; Transmission = -90dB; Phase=-225
Default Units
dB
Example
To set trace bottom value in Return Loss to 40 dB:
:DISP:WIND:TRAC:Y:BOTT 40
:DISPlay:WINDow:TRACe:Y[:SCALe]:FULLscale
Cmd Description
Sets the top and bottom to their maximum values.
Example
To perform full-scale:
:DISP:WIND:TRAC:Y:FULL
:DISPlay:WINDow:TRACe:Y[:SCALe]:TOP <amplitude>{dB}
:DISPlay:WINDow:TRACe:Y[:SCALe]:TOP?
Cmd Description
Command sets the display top value.
Query Description
Query returns the display top value.
Param Type
Float
Default Value
Return Loss = 0dB; DTF Return Loss = 0dB; Cable Loss = 0dB; VSWR = 3; DTF VSWR = 3; Transmission = 10dB; Phase = 225
Default Units
dB
Example
To set trace top value in Return Loss to 10 dB:
:DISP:WIND:TRAC:Y:TOP 10
:FORMat[:READings][:DATA] ASCii|INTeger,32|REAL,32
:FORMat[:READings][:DATA]?
Cmd Description
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:
:CORR:COLL:SAV
[:SENSe]:CORRection:COLLect:SHORt
Cmd Description
Perform ’Short’ step of calibration.
Example
To measure short:
:CORR:COLL:SHOR
[:SENSe]:CORRection:COLLect:STATus? {INITialize|OPEN|SHORt|LOAD|SAVE|ALL|THRU|ZERO}
Query Description
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.
Param Range
INITialize|OPEN|SHORt|LOAD|SAVE|ALL|THRU|ZERO
Example
To query calibration step ’Open’ status:
:CORR:COLL:STAT? OPEN
[:SENSe]:CORRection:COLLect:THRU
Cmd Description
Perform ’Thru’ step of calibration.
Example
To measure Thru:
:CORR:COLL:THRU
[:SENSe]:CORRection:COLLect:TYPE RFP1|TRES
[:SENSe]:CORRection:COLLect:TYPE?
Cmd Description
Command sets calibration collection type.
Query Description
Query returns calibration collection type.
Param Range
RFP1|TRES
Default Value
RFP1
Example
To set collection type to RFP1:
:CORR:COLL:TYPE RFP1
[:SENSe]:CORRection:COLLect:ZERO
Cmd Description
Perform ’Zero Sensor’ step of calibration.
Example
To zero sensor:
:CORR:COLL:ZERO
[:SENSe]:CORRection:TYPE STANdard|FLEX
[:SENSe]:CORRection:TYPE?
Cmd Description
Command sets correction type.
Query Description
Query returns correction type. Query returns STAN|FLEX.
Param Range
STANdard|FLEX
Default Value
STANdard
Example
To set correction type to flex:
:CORR:TYPE FLEX
[:SENSe]:CORRection[:STATe] ON|OFF|1|0
[:SENSe]:CORRection[:STATe]?
Cmd Description
Command sets correction status.
Query Description
Query returns correction status. Query returns 1 if RF cal is on. Otherwise, it returns 0.
Param Range
ON|OFF|1|0
Default Value
OFF|0
Example
To turn calibration correction on:
:CORR:STAT ON
[:SENSe]:FREQuency:CABLe <cable-list-index>
[:SENSe]:FREQuency:CABLe?
Cmd Description
Command selects a cable with the index number from the sorted cable list.
Query Description
Query returns the index number of the selected cable based on the sorted cable list.
Param Type
Integer
Param Description
Index number from cable list
Default Value
0
Example
To set the cable index to 10:
:FREQ:CABL 10
[:SENSe]:FREQuency:CABLe:CATalog:FULL?
Query Description
Query returns the entire cable list that is stored in memory.
Example
To get the cable list:
:FREQ:CABL:CAT:FULL?
[:SENSe]:FREQuency:CABLe:NAMe <"cable-name">
[:SENSe]:FREQuency:CABLe:NAMe?
Cmd Description
Command sets the cable name.
Query Description
Query returns the cable name.
Param Type
String
Param Description
Cable name
Default Value
NONE
Example
To set the cable to "AVA5-50 7/8":
:FREQ:CABL:NAM "AVA5-50 7/8"
[:SENSe]:FREQuency:STARt <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:FREQuency:STARt?
Cmd Description
Command sets the start frequency.
Query Description
Query returns the start frequency in Hertz.
Param Type
Float
Param Description
Start frequency
Default Value
Model-dependent
Default Units
Hz
Example
To set the start frequency to 2 GHz:
:FREQ:STAR 2 GHZ
[:SENSe]:FREQuency:STOP <frequency>{ Hz|kHz|MHz|GHz}
[:SENSe]:FREQuency:STOP?
Cmd Description
Command sets the stop frequency.
Query Description
Query returns the stop frequency in Hertz.
Param Type
Float
Param Description
Stop frequency
Default Value
Model-dependent
Default Units
Hz
Example
To set the stop frequency to 2 GHz:
:FREQ:STOP 2 GHZ
[:SENSe]:SWEep:RESolution 130|259|517|1033|2065
[:SENSe]:SWEep:RESolution?
Cmd Description
Command sets the data points.
Query Description
Query returns the data points as a number.
Param Range
130|259|517|1033|2065
Default Value
259
Example
To set data points to 1033:
:SWE:RES 1033
[:SENSe]:SWEep:RFIMmunity HIGH|LOW|1|0
[:SENSe]:SWEep:RFIMmunity?
Cmd Description
Command sets the RF immunity state.
Query Description
Query returns the RF immunity state, 1 for low immunity and 0 for high immunity.
Param Range
HIGH|LOW|1|0
Default Value
LOW|1
Example
To set RF immunity to low:
:SWE:RFIM LOW
[:SENSe]:SWEep:TYPE CONTinuous|SINGle|EXTernal
Cmd Description
Command sets the sweep trigger type to be Internal (Continuous or Single) or External.
Param Range
CONTinuous|SINGle|EXTernal
Default Value
CONTinuous
Example
To set the sweep trigger type to internal single sweep:
:SWE:TYPE SING
[:SENSe]:TRACe:SELect 1|2
[:SENSe]:TRACe:SELect?
Cmd Description
Command sets the active trace.
Query Description
Query returns the active trace.
Param Range
1|2
Default Value
1
Example
To set active trace to trace 2:
:TRAC:SEL 2