Calculate:Parameter Commands


Lists, creates, selects, and deletes measurements.

CALCulate:PARameter:

CATalog

| EXTended

COUNt

DELete

| ALL

 

CALCulate:MEASure:

DEFine

| EXTended

 

PARameter

MNUMber

       | [SELect]

Click on a Red keyword to view the command details.

See Also



CALCulate<cnum>:PARameter:CATalog:EXTended?

Applicable Models: E5080A, M9485A

(Read-only) Returns the names and parameters of existing measurements for the specified channel. This command lists receiver parameters with "_" such that R1,1 is reported as R1_1. This makes the returned string a true "comma-delimited" list all the time.

The returned string of this command is easily parsed and used to create measurements using the CALC:PAR:EXT command.

Parameters

 

<cnum>

Channel number of the measurements to be listed. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

Examples

CALC:PAR:CAT:EXT?

calculate2:parameter:catalog:extended?

Return Type

String - "<measurement name>,<parameter>,[<measurement name>,<parameter>...]"

Default

"CH1_S11_1,S11"


CALCulate<cnum>:PARameter:COUNt <value>

Applicable Models: E5080A, M9485A

(Write-only) Sets or gets the number of traces of selected channel.

Parameters

 

<cnum>

Channel number of the measurements to be listed. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<value>

Number of traces that should be present on the selected channel. Varies depending on the upper limit setting for the channel/trace number.

Note: This command will delete measurements if the specified value is less than the current value.

Examples

CALC:PAR:COUN 1

Query Syntax

Numeric

Default

1


CALCulate<cnum>:):PARameter:DELete:ALL

 (Write-only) Deletes all measurements on the VNA.

See Critical Note

Parameters

 

<cnum>

Channel number of the measurements to be listed. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<mnum>

Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1.

Examples

CALC:PAR:DEL:ALL

Query Syntax

Not Applicable

Default

Not Applicable


CALCulate<cnum>:PARameter[:DEFine]:EXTended <Mname>,<param>

Note: This command replaces CALC:PAR:DEF as it allows the creating of measurements using external multiport testsets.

(Write-only) Creates a measurement but does NOT display it.

There is no limit to the number of measurements that can be created. However, there is a limit to the number of measurements that can be displayed. See Traces, Channels, and Windows on the VNA.

Note: For Application Measurements see CALC:CUST:DEF

You must select the measurement using CALC:PAR:SELect before making additional settings.

See Critical Note

Parameters

 

<cnum>

Channel number of the new measurement. If unspecified, value is set to 1.

<Mname>

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

<param>

 

(String ) Measurement Parameter to create. Case sensitive.

For S-parameters:

Any S-parameter available in the VNA

Single-digit port numbers CAN be separated by "_" (underscore). For example: "S21" or "S2_1"

Double-digit port numbers MUST be separated by underscore. For example: "S10_1"

For ratioed measurements:

Any two VNA physical receivers separated by forward slash '/' followed by comma and source port.

For example: "A/R1, 3"

Learn more about ratioed measurements

See a block diagram showing the receivers in YOUR VNA.

For non-ratioed measurements:

Any VNA physical receiver followed by comma and source port.

For example: "A, 4"

Learn more about unratioed measurements.

See the block diagram showing the receivers in YOUR VNA.

With VNA Rev 6.2, Ratioed and Unratioed measurements can also use logical receiver notation to refer to receivers. This notation makes it easy to refer to receivers with an external test set connected to the VNA. You do not need to know which physical receiver is used for each test port. Learn more.

For ADC measurements:

Any ADC receiver in the VNA followed by a comma, then the source port.

For example: "AI1,2" indicates the Analog Input1 with source port of 2.

Learn more about ADC receiver measurements.

For Balanced Measurements:

First create an S-parameter measurement, then change the measurement using CALC:FSIM:BAL "define" commands. See an example.

Note: For Application Measurements see CALC:CUST:DEF

Examples

CALC4:PAR:EXT 'ch4_S33', 'S33' 'Defines an S33 measurement

calculate2:parameter:define:extended 'ch1_a', 'b9, 1' 'logical receiver notation for unratioed meas of test port 9 receiver with source port 1.

calculate2:parameter:define:extended 'ch1_a', 'b9/a10,1' 'logical receiver notation for ratioed meas of test port 9 receiver divided by the reference receiver for port 10 using source port 1

Query Syntax

Not Applicable; see Calc:Par:Cat?

Default

Not Applicable


CALCulate<cnum>:MEASure<mnum>:DEFine <string>]

Applicable Models: E5080A, M9485A

 

(Write-only) Creates a measurement but does NOT display it, on an existing or new channel. When a new channel is created, any licensed measurement class can be used. Up to 580 measurements can be created.

Note that each display window can only display a limited number of traces. See Traces, Channels, and Windows on the VNA.

This command replaces the following commands:

CALCulate:PARameter[:DEFine]

CALCulate:PARameter[:DEFine]:EXTended

CALCulate:CUSTom:DEFine

Parameters

 

<cnum>

Channel number of the new measurement. If unspecified, value is set to 1.

If the specified channel does not exist, then a channel of the specified type will be created. If no type of channel is specified, then a standard channel will be created.

If the specified channel exists, then the parameter will be added to the channel provided the existing channel supports the parameter (otherwise, an error will be generated).

<mnum>

Measurement number for the new measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1.

If the specified measurement number is already in use, an error will be generated.

<string>

 

(String ) Measurement Parameter and optional measurement class name separated by a ":" (colon). For example, "S21:Gain Compression" creates an S21 measurement and selects the Gain Compression measurement class for the channel.

Note: If a measurement class of a channel does not support the defined measurement parameter, an error is generated.

Case sensitive.

For S-parameters:

Any S-parameter available in the VNA

Single-digit port numbers CAN be separated by "_" (underscore). For example: "S21" or "S2_1"

Double-digit port numbers MUST be separated by underscore. For example: "S10_1"

For ratioed measurements:

Any two VNA physical receivers separated by forward slash '/' followed by comma and source port.

For example: "A/R1, 3"

Learn more about ratioed measurements

See a block diagram showing the receivers in YOUR VNA.

For non-ratioed measurements:

Any VNA physical receiver followed by comma and source port.

For example: "A, 4"

Learn more about unratioed measurements.

See the block diagram showing the receivers in YOUR VNA.

Ratioed and Unratioed measurements can also use logical receiver notation to refer to receivers. This notation makes it easy to refer to receivers with an external test set connected to the VNA. You do not need to know which physical receiver is used for each test port. Learn more.

For ADC measurements:

Any ADC receiver in the VNA followed by a comma, then the source port.

For example: "AI1,2" indicates the Analog Input1 with source port of 2.

Learn more about ADC receiver measurements.

 

(string) - Choose from the following (click or scroll down to view valid measurement parameters for each measurement class)

(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 parameter names

"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

Examples

CALC1:MEAS2:DEF "S11" 'Defines an S11 measurement for channel 1, measurement number 2.

CALC4:MEAS3:DEF "S21:Gain Compression" 'Defines an S21 measurement for channel 4, measurement number 3, and creates a GCA channel.

CALC2:MEAS:DEF "R1,1:Standard" 'Defines an R1,1 measurement for channel 2, measurement number 1 (default), and creates a Standard channel.

Query Syntax

Not Applicable

Default

Not Applicable

 


ALCulate<cnum>:MEASure<mnum>:PARameter <string>

 (Read-Write) To be extended to accept the balanced measurement parameters.

This extension will replace the following commands:

CALC:FSIM:BAL:PAR:SBAL[:DEF]

CALC:FSIM:BAL:PAR:SSB[:DEF]

CALC:FSIM:BAL:PAR:BBAL[:DEF]

CALC:FSIM:BAL:PAR:BALS[:DEF]

CALC:FSIM:BAL:PAR:BAL[:DEF]

See Critical Note

Parameters

 

<cnum>

Channel number of the measurements to be listed. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<mnum>

Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1.

<string>

For 1 port balanced measurement, choose from:

Sdd11, Scd11, Sdc11, Scc11

 

For Balanced - Single-ended measurement, choose from:

Sdd11, Scd11, Sdc11, Scc11, Ssd21, Ssc21, Sds12, Scs12, Sss22, Imb, CMMR1, CMMR2

  • Imb = - S_1pos_2/S_1neg_2

  • CMMR1 = Ssd21/Ssc21

  • CMMR2 = Sds12/Scs12

For Single-ended - Balanced measurement, choose from:

Sss11, Sds21, Scs21, Ssd12, Ssc12, Sdd22, Scd22, Sdc22, Scc22, Imb, CMMR1, CMMR2

  • Imb = - S_2pos_1/S_2neg_1

  • CMMR1 = Sds21/Scs21

  • CMMR2 = Ssd12/Ssc12

For Balanced - Balanced measurement, choose from:

Sdd11, Sdd21, Sdd12, Sdd22, Scd11, Scd21, Scd12, Scd22, Sdc11, Sdc21, Sdc12, Sdc22,

Scc11, Scc21, Scc12, Scc22, Imb1, Imb2, CMMR

  • Imb1 = - (S_1pos_2pos – S_1pos_2neg)/(S_1neg_2pos – S_1neg_2neg)

  • Imb2 = - (S_2pos_1pos – S_2pos_1neg)/(S_2neg_1pos – S_2neg_1neg)

  • CMMR = - Sdd21/Scc21

For Single-ended - Single-ended - Balanced measurement, choose form:

Sss11, Sss21, Sss12, Sss22, Sds31, Scs31, Sds32, Scs32, Ssd13, Ssd23, Ssc13, Ssc23,

Sdd33, Scd33, Sdc33, Scc33, Imb1, Imb2, CMMR1, CMMR2

  • Imb1 = - (S_1pos_2pos – S_1pos_2neg)/(S_1neg_2pos – S_1neg_2neg)

  • Imb2 = - (S_2pos_1pos – S_2pos_1neg)/(S_2neg_1pos – S_2neg_1neg)

  • Imb3 = - S_3pos_1/S_3neg_1

  • Imb4 = - S_3pos_2/S_3neg_2

  • CMMR1 = Sds31/Scs31

  • CMMR2 = Sds32/Scs32

Note: The right definition for SSB imbalance is added as Imb3, 4. The definition for SSB Imb1, 2 seem a mistake, but keep it remained for backward compatibility.

Examples

CALC:MEAS:PAR "Sdd11"

calculate2:measure2:parameter "Sdd11"

Query Syntax

CALCulate<cnum>:MEASure<mnum>:PARameter?

Return Type

String

Default

"Sdd11"


CALCulate<cnum>:PARameter:MNUMber[:SELect] <n>[,fast]

(Read-Write) Sets and returns the selected measurement for the channel using the Tr#. Most CALC: commands require that this, or CALC:PAR:SEL, be sent before a setting change is made to that measurement. Each channel can have one selected measurement.

Parameters

 

<cnum>

Channel number of the measurement to be selected. If unspecified, <cnum> is set to 1.

<n>

Numeric - Measurement number. These are the same numbers you see in the “Tr1”, “Tr2”  annotation next to the parameter name on the VNA screen.

[fast]

Optional. The VNA display is NOT updated. Therefore, do not use this argument when an operator is using the VNA display. Otherwise, sending this argument results in much faster sweep speeds. There is NO other reason to NOT send this argument.

Examples

CALC:PAR:MNUM 2

calculate2:parameter:mnumber:select 3,fast

Query Syntax

CALCulate<cnum>:PARameter:MNUMber[:SELect]?

There is NO query available to determine if the FAST argument has been set.

Return Type

Numeric

Default

None


CALCulate<cnum>:PARameter:TAG:NEXT?

Applicable Models: E5080A, M9485A

(Read-only)

Parameters

 

<cnum>

Channel number of the measurement. The selected measurement on that channel will be changed. If unspecified, <cnum> is set to 1.

Examples

CALC:PAR:TAG:NEXT

Query Syntax

Not Applicable

Default

Not Applicable


Last modified:

18-May-2016

First Release