Calculate:Custom Commands


Creates and modifies application measurements.

These commands are Superseded by the CALCulate:MEASure:DEFine and CALCulate:MEASure:PARameter commands.

 

Note: For setting up a TDR measurement class, use SYSTem:TDR:INITialize.

 

CALCulate:CUSTom:

DEFine

MODify

See Also


CALCulate<cnum>:CUSTom:DEFine <Mname>, <type> [,param]

Applicable Models: All

(Write-only)  Creates a custom measurement depending on the . The custom measurement is not automatically displayed. You must also do the following:

Parameters

 

<cnum>

Any existing channel number. If unspecified, value is set to 1.

<Mname>

Name of the measurement. Any non-empty, unique string, enclosed in quotes.

<type>

(string) - Choose from the following (click or scroll down to view valid <params> for each type)

[param]

(variant) Measurement names to create:

Meas Class

Measurement Name

Description

"Standard"

"S11", "S21", and so forth

"A_1","A_2", and so forth

S-parameter name

Unratioed parameter names with notation: "receiver_source port"

See Balanced S-parameter measurement names

"Scalar Mixer/Converter"

For input port X and output port Y:

"SCXY"

"SCYX"

"SXX"

"SYY"

"Ipwr"

"RevIPwr"

"Opwr"

"RevOPwr"

Learn about SMC parameters

Note: Input and output ports are set up using the Mixer Setup dialog. If the ports are not set up using the Mixer Setup dialog, then ports 1 and 2 are the default input and output ports and the only ports that can be used.

"Gain Compression"

Learn more

"Gain Compression Converters"

Learn more

GCA :

"CompIn21"

Input power at the compression point.

"CompOut21"

Output power at the compression point.

"CompGain21"

Gain at the compression point.

"CompS11"

 Input Match at the compression point

"RefS21"

Linear Gain

"DeltaGain21"

CompGain21 -Linear Gain

"S11", "S21", "S12", "S22"

Standard S-parameters; measured at port 1 and port 2

GCX - All Gain Compression parameters (except S21 and S12) plus the following:

"S11"

"SC21"

"SC12"

"S22"

"Ipwr"

"RevIPwr"

"Opwr"

"RevOPwr"

Mixer parameters

"Modulation Distortion"

Learn more

Modulation Distortion:

"PIn1"

Power In

"POut1"

Reflected Power In

"POut2"

Power Out

"PModFile"

Power of modulation file

"MSig2"

Modulation Signal Out

"MDist2"

Modulation Distortion Out

"MDistIR2"

Modulation Distortion Input-referred

"MGain21"

Modulation Gain

"MComp21"

Modulation Compression

"PGain21"

Power Gain

"LMatch2"

Load match of VNA port

"CarrIn1"

Input Band Power

"CarrOut2"

Output Band Power

"CarrGain21"

Band Power Gain

"NPRIn1"

NPR at Input

"NPROut2"

NPR at Output

"NPRDist21"

NPR Distortion, Added by DUT

"NPRPwrIn1"

NPR Input Power

"NPRPwrOut2"

NPR Output Power

"ACPIn1"

ACP at input

"ACPOut2"

ACP at output

"ACPDist21"

ACP distortion, Added by DUT

"ACPPwrIn1"

ACP Input Power

"ACPPwrOut2"

ACP Output Power

"EVMDistEq21"

EVM Equalized Distortion, Added by DUT

"EVMDistUn21"

EVM Unequalized Distortion, Added by DUT

"EVMPwrIn1"

EVM Input Power

"EVMPwrOut2"

EVM Output Power

"ModFilter"

Measurement Modulation Filter

"A", "b1"

Port 1 test port receiver

"B", "b2"

Port 2 test port receiver

"C", "b3"

Port 3 test port receiver

"D", "b4"

Port 4 test port receiver

"R1", "a1"

Port 1 reference receiver

"R2", "a2"

Port 2 reference receiver

"R3", "a3"

Port 3 reference receiver

"R4", "a4"

Port 4 reference receiver

"S11"

Linear Input Match

"S21"

Linear Gain

"LPIn1"

Linear Input Match

"LPOut1"

Linear Reflected Power In

"LPOut2"

Linear Power Out

"Noise Figure Cold Source"

Learn more

Noise Figure :

"NF"

Noise figure

"ENR"

Validate noise source measurements.

"T-Eff"

Effective noise temperature.

"DUTRNP"

"DUTRNPI"

DUT noise power ratio. (Noise power expressed in Kelvin divided by 290).

"SYSRNP"

"SYSRNPI"

System noise power ratio

"DUTNPD"

"DUTNPDI"

DUT noise power density. (Noise power expressed in dBm/Hz).

"SYSNPD"

"SYSNPDI"

System noise power density.  

"OvrRng"
(Opt 029 Only)

Indication that the noise receiver is being over powered.

"T-Rcvr"

(Opt 029 Only)

Temperature reading (in Kelvin) of the noise receiver board.

"S11", "S21", "S12", "S22"

Standard S-parameters; measured with the port1 and port2 noise switches set for noise mode.

"A_1","A_2" ...and so forth.

Unratioed parameters; with notation:
"receiver, source port"

"GammaOpt"

Optimum Complex Reflection Coefficient

"Rn"

Noise Resistance

"NFMin"

Minimum noise figure that occurs at GammaOpt

"Differential I/Q"

Learn more

Create custom parameters using Sens:DIQ:Par:Def, then specify your custom parameter name here.

The following are default parameters:

"IPwrF1"

"OPwrF1"

"GainF1"

Input Power over F1 range

Output Power over F1 range

Gain over F1 range

"Spectrum Analyzer"

Learn more

"a<n>"

"b<n>"

where <n> is the port number to measure

"ImageReject<n>"

where <n> is the image reject trace

Reference receiver

Test port receiver

Examples

CALC:CUST:DEF 'My VC21', 'Vector Mixer/Converter','S22'

calculate2:custom:define 'MyNF', 'NoiseFigure', 'NF'

CALC1:CUST:DEF 'MyAM', 'Phase Noise', 'AM' 'Defines an AM Noise measurement but doesn't display.
DISP:MEAS:FEED 1 'Displays AM Noise measurement in window number 1.

Query Syntax

Not applicable

Overlapped?

No

Default

Not applicable


CALCulate<cnum>:CUSTom:MODify <param>

Applicable Models: All

(Write-only)  Changes the selected custom measurement to a different parameter. This is dependent upon the configurations and options.

See an example using this command for a VMC and SMC measurement

Parameters

 

<cnum>

Channel of the custom measurement to be changed. First, select the measurement using CALC:PAR:SEL.

<param>

Parameter to change the custom measurement to. Select a parameter that is valid for the type of measurement. Choose from the same arguments as Calc:Cust:Def.

Examples

SYST:PRES

CALC2:CUST:DEF 'My VC21', 'Vector Mixer/Converter'

CALC:PAR:SEL 'My VC21'

CALC2:CUST:MOD 'S22'

CALC:CUST:DEF 'MyPN','Phase Noise','PN' 'Defines a Phase Noise measurement but doesn't display.
DISP:WIND1:TRAC1:FEED 'MyPN' 'Displays Phase Noise measurement in window number 1.
CALC:PAR:SEL 'MyPN' 'Selects the 'MyPN' measurement.
CALC:CUST:MOD 'AM' 'Changes the Phase Noise parameter to AM.

Query Syntax

Not applicable

Overlapped?

No

Default

Not applicable