Equation Object


Description

Provide commands for creating an equation.

Learn more about Equation Editor

Accessing the Equation object

Dim app As AgilentPNA835x.Application
Set app = CreateObject("AgilentPNA835x.Application", <analyzerName>)

Dim eq As Equation
Set eq = app.ActiveMeasurement.Equation

See Also:

Methods

Interface

See History

Description

GetLibraryFunctions

IMeasurementEquation2

Returns the functions in an imported (loaded) DLL.

ImportLibrary

IMeasurementEquation2

Imports an Equation Editor DLL.

IsLibraryImported

IMeasurementEquation2

Returns whether a DLL has been imported into the PNA.

RemoveLibrary

IMeasurementEquation2

Removes an imported an Equation Editor DLL from the PNA.

Properties

Interface

See History

Description

Text

IMeasurementEquation

Sets the Equation

State

IMeasurementEquation

Sets the Equation enabled state

Valid

IMeasurementEquation

Returns whether the equation is presently valid.

Example Program using these commands:

Dim na

Dim meas

Set na = CreateObject("AgilentPNA835x.Application")

Set meas = na.ActiveMeasurement

'Define the measurement

meas.Equation.Text = "mysillyequ=sqrt(AR1_1)"

'Check to see if the equation is valid

valid_e = meas.Equation.Valid

MsgBox valid_e

'Turn on the Equation Editor

meas.Equation.State = True

IMeasurementEquation History

Interface

Introduced with PNA Rev:

IMeasurementEquation

6.03

IMeasurementEquation2

 


Last Modified:

1-Feb-2019

Changed IEquation to IMeasurementEquation

4-Dec-2007

Added example