UpdateTraces

Update the traces in a report for which traces are not automatically updated by the Report Traces dialog box, Update Report, Real Time selection.

UI Access In Report dialog, click Apply Traces button
Parameters
Name Type Description
<ReportName> String Name of Report.
<TraceNames> Array Array of strings containing trace names.
<SolutionName> String Name of the solution.

<ContextArray>

Array

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

Array("Domain:=", <DomainType>)

<DomainType> ex. "Sweep" or "Time"

Array("Context:=", <GeometryType>)

<GeometryType> ex. "Infinite Spheren", "Spheren", "Polylinen"

<FamiliesArray>

Array

Contains sweep definitions for the report.

Array("<VariableName>:= ", <ValueArray>)

<ValueArray>

Array("All") or Array("Value1", "Value2", ..."Valuen")

examples of <VariableName> "Freq", "Theta", "Distance"

<ReportDataArray>

Array

This array contains the report quantity and X, Y, and (Z) axis definitions.

Array("X Component:=", <VariableName>,

"Y Component:=", <VariableName> | <ReportQuantityArray>)

<ReportQuantityArray> ex. Array("dB(S(Port1, Port1))")

<ExtTraceInfo> Array Optional. Array defines extended trace information.
Return Value None.

 

 

Python Syntax UpdateTraces(<ReportName>, <SolutionName>, <ContextArray >, <FamiliesArray>, <ReportDataArray>)
Python Example

oModule.UpdateTraces("XY Plot 1", ["NEG1.VAL"], "TR4",

[

"NAME:Context",

"SimValueContext:=", [2,0,2,0,False,False,

-1,1,0,1,1,"",0,0,"CG",False,"0","KP",False,"0","MH",False,

"100","TE",False,"100s","TH",False,"40",

"TS",False,"0ns","UF",False,

"0","WT",False,"0","WW",False,"100"]

],

[

"Spectrum:=", ["All"]

],

[

"X Component:=", "Spectrum",

"Y Component:=", ["mag(NEG1.VAL)"]

], [])