SCPI.CALCulate(Ch).PARameter.TNAMe.DEFine(Name)

Object type

Property (Read-Write)

Syntax

SCPI.CALCulate(Ch).PARameter.TNAMe.DEFine(Name) = Param

Param = SCPI.CALCulate(Ch).PARameter.TNAMe.DEFine(Name)

Description

This command sets/gets the measurement parameter of the selected trace for the selected channel (Ch). The trace can be selected by the trace name once its defined earlier with SCPI.CALCulate(Ch).PARameter(Tr).TNAMe.DATA command.

Variable

Parameter

Name

Description

Trace Name

Data type

Character string type (String)

 

Parameter

Param

Description

Measurement parameter

Data type

Character string type (String)

Range

Select either one of the following:

  • "S<XY>"
    Where:
    x=1to 2
    Y=1to 2

  • A|B

  • R<X> (X=1-4)

  • AUX1 or AUX2

Preset value

"S11"

Examples

Dim MeasPara As String
SCPI.CALCulate(1).PARameter(1).TNAMe.DATA = "duptrace"
SCPI.CALCulate(1).PARameter.TNAMe.DEFine("duptrace") = "S21"
MeasPara = SCPI.CALCulate(1).PARameter.TNAMe.DEFine("duptrace")

 

 

Related objects

SCPI.CALCulate(Ch).PARameter(Tr).TNAMe.DATA

SCPI.CALCulate(Ch).PARameter.TNAME.SELect

SCPI.CALCulate(Ch).PARameter.TNAME.SPORt

Equivalent key

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

Meas > Absolute > R<X> {X=1-2}|A|B

Meas > Aux Input 1|Aux Input 2

Equivalent SCPI command

Syntax

:CALCulate{[1]-160}:PARameter:TNAMe:DEFine <string>, {S11|S21|S12|S22|A|B|R1|R2|Aux1|AUX2}

:CALCulate{[1]-160}:PARameter:TNAMe:DEFine? <string>

Query response

{S11|S21|S12|S22|A|B|R1|R2|Aux1|AUX2}<newline><^END>

Example of use

10 OUTPUT 717;":CALC1:PAR1:TNAM:DATA ""DUPTRACE"""

20 OUTPUT 717;":CALC1:PAR:TNAM:DEF ""DUPTRACE"", S21"
30 OUTPUT 717;":CALC1:PAR:TNAM:DEF? ""DUPTRACE"""
40 ENTER 717;A$