Marker Object


Description

Contains the methods and properties that control Markers.

There are two ways to control markers through COM.

  1. The Measurement object has properties that apply to ALL of the markers for that measurement.

  2. The properties on the Marker object override the Measurement object properties. For example, you can then override the format setting for an individual marker by specifying mark.Format = naLogMag on the marker object.

Marker-related commands on the Measurement Object:

Important: Learn about programming the Reference marker.

Accessing the Marker object

To turn ON a marker, get a handle to the marker through the measurement object. If not already activated, this command will turn ON marker 1.

Dim app As AgilentPNA835x.Application
Set app = CreateObject("AgilentPNA835x.Application", <analyzerName>)
app.ActiveMeasurement.marker(1).Format = naLinMag

You can also set the marker object to an object variable:

Dim m1 As Marker
Set m1 = app.ActiveMeasurement.Marker(1)
m1.Format = naMarkerFormat_LinMag

See Also:

Methods

Interface

 

Description

Activate

IMarker

Makes an object the Active Object.

Shared with the Marker Object

BandnoiseData

IMarker6

Returns the Y-axis data from the bandnoise marker.

BandpowerData

IMarker6

Returns the Y-axis data from the bandpower marker.

SearchCompressionPoint

IMarker4

Searches the marker domain for the compression level.

SearchMax

IMarker

Searches the marker domain for the maximum value.

SearchMin

IMarker

Searches the marker domain for the minimum value.

SearchNextPeak

IMarker

Searches the marker's domain for the next largest peak value.

SearchPeakLeft

IMarker

Searches the marker's domain for the next VALID peak to the left of the marker.

SearchPeakRight

IMarker

Searches the marker's domain for the next VALID peak to the right of the marker.

SearchTarget

IMarker

Searches the marker's domain for the target value.

SearchTargetLeft

IMarker

Moving to the left of the marker position, searches the marker's domain for the target value.

SearchTargetRight

IMarker

Moving to the right of the marker position, searches the marker's domain for the target value.

SetCenter

IMarker

Changes the analyzer's center frequency to the X-axis position of the marker.

SetCW

IMarker

Changes the sweep type to CW mode and makes the CW frequency the marker's frequency.

SetCWFreq

IMarker3

Changes the CW frequency to the frequency of the active marker.

SetElectricalDelay

IMarker

Changes the measurement's electrical delay to the marker's delay value.

SetReferenceLevel

IMarker

Changes the measurement's reference level to the marker's Y-axis value.

SetStart

IMarker

Changes the analyzer's start frequency to the X-axis position of the marker.

SetStop

IMarker

Changes the analyzer's stop frequency to the X-axis position of the marker.

toSA Method

IMarker6

Creates an SA channel with a marker at the same CW frequency.

Properties

 

Description

BandNoisedBmpHz

IMarker7

Returns the Y-axis data from the bandnoise marker.

BandnoiseSpan

IMarker6

Sets and reads the frequency span of the band noise marker.

BandnoiseState

IMarker6

Sets and reads the state of the band noise marker.

BandPowerdBm

IMarker7

Returns the Y-axis data from the bandpower marker.

BandpowerSpan

IMarker6

Sets and reads the frequency span of the band power marker.

BandpowerState

IMarker6

Sets and reads the state of the band power marker.

Bucket Number

IMarker

Marker data point number.

CompressionLevel

IMarker4

Set and read the marker compression level.

CompressionPin

IMarker4

Reads the input power at the marker compression level.

CompressionPout

IMarker4

Reads the output power at the marker compression level.

DeltaMarker

IMarker

Makes a marker relative to the reference marker.

Distance

IMarker2

Sets or reads distance value for time domain trace.

Format

IMarker

Linear, SWR, and so forth.

Interpolated

IMarker

Turn marker interpolation ON and OFF.

Number

IMarker

Read the number of the active marker.

OccupiedBandCenter

IMarker7

Read the occupied bandwidth center frequency.

OccupiedBandPercent

IMarker7

Sets and reads the percentage of the band span to measure.

OccupiedBandPowerdBm

IMarker7

Read the occupied bandwidth power.

OccupiedBandSpan

IMarker7

Read the span of the occupied bandwidth.

OccupiedBandState

IMarker7

Sets and reads the occupied bandwidth on/off state.

PeakExcursion

IMarker

Sets and reads the peak excursion value for the specified marker.

PeakThreshold

IMarker

Sets peak threshold for the specified marker.

SearchFunction

IMarker

Emulates the Tracking function in the marker search dialog box.

Stimulus

IMarker

Sets and reads the X-Axis value of the marker.

Target Value

IMarker

Sets the target value for the marker when doing Target Searches.

Tracking

IMarker

The tracking function finds the selected search function every sweep.

Type

IMarker

Sets and reads the marker type.

UserRange

IMarker

Assigns the marker to the specified User Range.

UserRangeMax

IMarker

Sets the stimulus stop value for the specified User Range.

UserRangeMin

IMarker

Sets the stimulus start value for the specified User Range.

Value

IMarker

Reads the Y-Axis value of the marker.

 

Marker History

Interface

Introduced with PNA Rev:

IMarker

1.0

IMarker2

4.2

IMarker3

8.33

IMarker4

8.50

IMarker5

 

IMarker6

10.30

IMarker7

10.60