Trace Object


Description

The Trace object controls how the measurement data is displayed. You can control scale, reference position, and value from the Trace Object.

Accessing a 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

See Also:

 

Methods

Interface

See History

Description

Autoscale

ITrace

Autoscales the trace or all of the traces in the selected window.

Shared with the NAWindow Object

Move

ITrace3

Moves a trace from one window to another.

Property

 

Description

Measurement

ITrace2

Returns a measurement handle from trace object.

Name

ITrace

Sets or returns the trace name

ReferencePosition

ITrace

Sets or returns the Reference Position of the active trace.

ReferenceValue

ITrace

Sets or returns the value of the Y-axis Reference Level of the active trace.

YScale

ITrace

Sets or returns the Y-axis Per-Division value of the active trace.

 

ITrace History

Interface

Introduced with PNA Rev:

ITrace

1.0

ITrace2

9.40

ITrace3

9.50