The Trace object controls how the measurement data is displayed. You can control scale, reference position, and value from the Trace Object.
There are several ways to get a handle to a trace.
Dim app As AgilentPNA835x.Application
Set app = CreateObject("AgilentPNA835x.Application", <analyzerName>)
Dim trace As Trace
Then you can do any of the following:
Set trace = app.NAWindows(1).traces(1)
set trace = app.NAWindows.item(1).ActiveTrace
set trace = app.ActiveNAWindow.traces.item(1)
set trace = app.ActiveNAWindow.ActiveTrace
Set trace = app.Measurements(1).trace
Set trace = app.ActiveMeasurement.trace
Methods |
Interface |
Description |
---|---|---|
ITrace |
Autoscales the trace or all of the traces in the selected window. Shared with the NAWindow Object |
|
ITrace3 |
Moves a trace from one window to another. |
|
Property |
|
Description |
ITrace2 |
Returns a measurement handle from trace object. |
|
ITrace |
Sets or returns the trace name |
|
ITrace |
Sets or returns the Reference Position of the active trace. |
|
ITrace |
Sets or returns the value of the Y-axis Reference Level of the active trace. |
|
ITrace |
Sets or returns the Y-axis Per-Division value of the active trace. |
Interface |
Introduced with VNA Rev: |
ITrace |
1.0 |
ITrace2 |
9.40 |
ITrace3 |
9.50 |