UpdateTracesContextAndSweeps

Edits sweeps and context of multiple traces without affecting their component expressions.

UI Access Modify Report with multiple traces selected.
Parameters
Name Type Description
<ReportName> String Name of Report.

<TraceNames>

Array Array of strings containing trace names.
<SolutionName> String Name of the solution as listed in the Modify Report dialog box.

For example: "Setup1 : Last Adaptive"

<ContextArray> Array Context for which the expression is being evaluated. This can be an empty string if there is no context.

ex. "Sweep" or "Time"

<PointSet> Array Point set for the selected traces, for example, X and Y values for the plot.
Return Value None

 

Python Syntax UpdateTracesContextAndSweeps(<ReportName>, <TraceNames>, <SolutionName>, <ContextArray>, <PointSet>)
Python Example

oModule.UpdateTracesContextAndSweeps_

("Active S Parameter Quick Report",

["dB(ActiveS(Port1:1))", "dB(ActiveS(Port2:1))"],

"Setup1 : Sweep1", [],

["Freq:=", ["9GHz", "9.05GHz", "9.1GHz",

"9.15GHz", "9.2GHz",

"9.25GHz", "9.3GHz", "9.35GHz",

"9.4GHz", "9.45GHz", "9.5GHz",

"9.55GHz",

"9.6GHz", "9.65GHz", "9.7GHz",

"9.9GHz", "9.95GHz", "10GHz"],

"off­set:=",["All"]])