Calculate:Custom Commands


Creates and modifies application measurements:

CALCulate:CUSTom:

DEFine

MODify

See Also


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

(Write-only)  Creates a custom measurement. 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. The type of custom measurement.  Click each to see an example program. Choose from:

  • "Vector Mixer/Converter"

  • "Scalar Mixer/Converter"

  • "Noise Figure Cold Source"

  • "Noise Figure Converters"

  • "Gain Compression"

  • "Gain Compression Converters"

  • "Swept IMD"

  • "IM Spectrum"

  • "Swept IMD Converters"

  • "IM Spectrum Converters"

[param]

String. Optional parameter specifies the measurement to create:

Meas Class

Measurement Name

Description

Vector Mixer/Converter

"S11"

"VC21"

"S22"

Learn about VMC parameters

Scalar Mixer/Converter

"S11"

"SC21"

"SC12"

"S22"

"Ipwr"

"RevIPwr"

"Opwr"

"RevOPwr"

Learn about SMC parameters

Gain Compression

Learn more

 

Gain Compression Converters

Learn more

GCA and GCX:

"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

Noise Figure Cold Source

Learn more

 

Noise Figure Converters

Learn more

Noise Figure AND NFX:

"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.

Noise Figure ONLY - NOT NFX:

"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"

NFX ONLY:

"S11"

"SC21"

"SC12"

"S22"

"Ipwr"

"RevIPwr"

"Opwr"

"RevOPwr"

Mixer parameters

"ALO1"," BLO1" ...and so forth.

Test port receiver at LO1 frequency

"R1_1", "B_2" ..and so forth.

Unratioed parameters with notation:

"receiver_source port"

Swept IMD

Swept IMD Converters

Learn more

There are over 150 possible Swept IMD parameters, too many to list here.

Build the parameters with the Swept IMD Parameter dialog, then copy the parameter name to the remote command.

The following are a few example parameters:

"PwrMainLo"

Absolute power of the Low tone at the DUT output.

"IM3"

Power of the third product relative to the average power of the f1 and f2 tones measured at the DUT output.

"OIP3"

Theoretical power level at which the third product will be the same power level as the average of the main tones at the output of the DUT.

IM Spectrum

Learn more

"Output"

View signals OUT of the DUT and into VNA port 2 (B receiver).

"Input"

View signals IN to the DUT (R1 receiver).

"Reflection"

View signals reflected off the DUT input and back into VNA port 1 (A receiver)

IMx Spectrum Converters

Learn more

"Output"

View signals OUT of the DUT and into VNA port 2 (B receiver

Examples

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

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

Query Syntax

Not applicable

Overlapped?

No

Default

Not applicable


CALCulate<cnum>:CUSTom:MODify <param>

(Write-only)  Changes the selected custom measurement to a different parameter.

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'

Query Syntax

Not applicable

Overlapped?

No

Default

Not applicable


Last Modified:

14-Sep-2012

Fixed unratioed notation

27-Sep-2011

Added (Opt 029 Only)

2-Mar-2010

Fixed IM spectrum converters

27-Feb-2009

Added IMD Converters and Noise

8-Sep-2008

Added IMD arguments

23-Aug-2007

Added Noise and GC Arguments