poIScalarDefine SetComplexFilter

Sets the complex filter.

Syntax

poIScalarDefine_handle SetComplexFilter filter

Application

HyperView Tcl Modify

Description

This command, valid only in Upfront Data Loading Mode, sets the complex filter for the result definition.
Note: The result definition can only be modified if it is not cached.

Inputs

filter
The new complex filter. It must be one of the following: “mag * cos(wt-phase)”, “mag * cos(wt+phase)”, “mag”, “phase”, “real” or “imaginary”.

Example

To set the complex filter to "phase" for a result definition:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetComplexFilter phase
hwi CloseStack

Errors

None.

Related Topics

See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.