SCPI.CALCulate(Ch).SELected.EQUation.TEXT

Object type

Property (Read-Write)

Syntax

All revision:

SCPI.CALCulate(Ch).SELected.EQUation.TEXT = Data

Data = SCPI.CALCulate(Ch).SELected.EQUation.TEXT

 

In revision A.9.60 and above, the following syntax is also supported:

SCPI.CALCulate(Ch).TRACe(Tr).EQUation.TEXT = Data

Data = SCPI.CALCulate(Ch).TRACe(Tr).EQUation.TEXT

Description

This command sets/gets the equation in the Equation Editor. For valid parameters that can be used in this equation, refer to the Equation Editor.

 

In revision A.9.60 and above, you can select the trace and set/get the equation in the Equation Editor for the trace just by executing the above TRACe(Tr) command. You do not need to execute SCPI.CALCulate(Ch).PARameter(Tr).SELect.

Variable

Parameter

Ch

Description

Channel Number

Range

1 to 36

 

Parameter

Data

Description

Sets/Gets the equation in the Equation Editor

Data type

Character string type (String)

Examples

Dim strEq As String

SCPI.CALCulate(1).SELected.EQUation.TEXT = “Example=S21/(1-S11)”
strEq = SCPI.CALCulate(1).SELected.EQUation.TEXT

Related objects

SCPI.CALCulate(Ch).SELected.EQUation.STATE

SCPI.CALCulate(Ch).SELected.EQUation.VALid

Equivalent key

No equivalent key is available on the front panel for Equation Text but Equation Editor can be accessed through Display > Equation Editor.

Equivalent SCPI command

Syntax

All revision:

:CALCulate{[1]-160}[:SELected]:EQUation:TEXT <string1>

:CALCulate{[1]-160}[:SELected]:EQUation:TEXT?

 

In revision A.9.60 and above, the following syntax is also supported:

:CALCulate{[1]-160}:TRACe{[1]-16}:EQUation:TEXT <string1>

:CALCulate{[1]-160}:TRACe{[1]-16}:EQUation:TEXT?

Query response

<string 1><^END>

Example of use

10 OUTPUT 717;":CALC1:SELected:EQUation:TEXT?"
30 ENTER 717;A$