SCPI.CALCulate(Ch).PARameter(Tr).DEFine

Object type

Property (Read-Write)

Syntax

SCPI.CALCulate(Ch).PARameter(Tr).DEFine = Param

Param = SCPI.CALCulate(Ch).PARameter(Tr).DEFine

Description

This command sets/gets the measurement parameter of the selected trace (Tr), for the selected channel (Ch).

Variable

Parameter

Param

Description

Measurement parameter

Data Type

Character string type (String)

Range

Select either one of the following:

  • S-Parameter:

  • S11|S21|S12|S22

  • A|B|R1|R2

  • Gain-Phase

  • TR|T|R

  • Z (Impedance Measurement)

Preset Value

"S11"

Examples

Dim MeasPara As String
SCPI.CALCulate(1).PARameter(1).DEFine = "s21"
MeasPara = SCPI.CALCulate(1).PARameter(1).DEFine

 

Related Objects

SCPI.CALCulate(Ch).SELected.ZPARameter.DEFine

SCPI.CALCulate(Ch).SELected.FORMat

 

Equivalent key

Meas > S<XY> {X=1-2;Y=1-2}

Meas > Absolute > R1|R2|A|B

Meas > Gain-Phase > T/R|R|T

Meas > Impedance Analysis Menu

Equivalent SCPI command

Syntax

:CALCulate{[1]-4}:PARameter{[1]-4}:DEFine {S11|S21|S12|S22|A|B|R1|R2|TR|T|R}

:CALCulate{[1]-4}:PARameter{[1]-4}:DEFine?

Query response

{S11|S21|S12|S22|A|B|R1|R2|TR|T|R}<newline><^END>

Example of use

10 OUTPUT 717;":CALC1:PAR1:DEF S21"
20 OUTPUT 717;":CALC1:PAR1:DEF?"
30 ENTER 717;A$