Write-only
About Differential IQ

DefineParameter Method


Description

Create a new parameter for Differential IQ channel. Use CreateCustomMeasurementEx Method to create a new trace with the new parameter.

Use Change Parameter Method to change the parameter of one of the existing traces to the new parameter.

 VB Syntax

DIQ.DefineParameter (name, expression)

Variable

(Type) - Description

DIQ

A DIQ Object

name

(String) Parameter name.

Note: Do not use underscores in the parameter name. For example, b2_f1 cannot be used as a parameter name. However, b2f1 is a valid parameter name.

expression

(String) Parameter expression using receiver names and mathematical expressions.

Return Type

Not Applicable

Default

Not Applicable

Examples

Diq.DefineParameter "myNewParam","(a1_F1+b1_F2)/c1"

app.ActiveMeasurement.ChangeParameter "myNewParam",1

See example program

C++ Syntax

HRESULT DefineParameter(BSTR name,BSTR expression);

Interface

IDIQ