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

Object type

Property (Read-Write)

Syntax

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

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

Description

This command sets/gets the equation in the Equation Editor for selected channel (Ch). For valid parameters that can be used in this equation, refer to the Equation Editor.

Variable

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.STATE = True

EqState = SCPI.CALCulate(1).SELected.EQUation.State

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

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

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

Query response

<string 1><newline><^END>

Example of use

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