Markers and display preferences

SCPI.CALCulate(Ch).SELected.MARKer(1).COUNt

Attribute Detail
Object Type Property (read/write)
Data Type Long
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The number of the turned ON markers. Writing value from 1 to 15 will turn ON regular markers. Writing value 16 will turn ON 15 regular markers and the reference marker. Turning ON the reference marker switches all markers to the relative measurement mode.
Range from 0 to 16
Out of Range Sets the value of the limit, which is closer to the specified value.
Preset Value 0
Syntax Dim MarkerCnt As Long
MarkerCnt = app.SCPI.CALCulate(Ch).SELected.MARKer.COUNt
app.SCPI.CALCulate(Ch).SELected.MARKer.COUNt = 5
Warning Object MARKer has an index. In Visual Basic the index is 1 by default when it is omitted. The index can not be omitted in other programming languages.
Equivalent Softkeys None

SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe

Attribute Detail
Object Type Property (read/write)
Data Type Boolean
Target Marker Mk of the active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Mk: marker number 1–15, or reference marker number 16 (see Table 4 on page 74)
Description The ON/OFF state of a marker. Turning ON a marker with the number from 1 to 15 will turn ON all the markers of smaller numbers. Turning OFF a marker with the number from 1 to 15 will turn OFF all the markers of greater numbers (except for the reference marker). Turning ON/OFF the reference marker with number 16 does not turn ON/OFF the markers with the numbers from 1 to 15, but switches these markers to the relative measurement mode.
Allowable Values True: Marker ON
False: Marker OFF
Preset Value False
Syntax Dim Status As Boolean
Status = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe
app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).STATe = true
Equivalent Softkeys Markers > Add Marker / Remove Marker
Markers > Reference Marker

SCPI.CALCulate(Ch).SELected.MARKer(1).REFerence.STATe

Attribute Detail
Object Type Property (read/write)
Data Type Boolean
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The ON/OFF state of the reference marker. When the reference marker is turned ON, all the values of the other markers turn to relative values.
Allowable Values True: Reference marker ON
False: Reference marker OFF
Preset Value False
Syntax Dim Status As Boolean
Status = app.SCPI.CALCulate(Ch).SELected.MARKer.REFerence.STATe
app.SCPI.CALCulate(Ch).SELected.MARKer.REFerence.STATe = true
Warning Object MARKer has an index. In Visual Basic the index is 1 by default when it is omitted. The index can not be omitted in other programming languages.
Equivalent Softkeys Markers > Reference Marker

SCPI.CALCulate(Ch).SELected.MARKer(Mk).ACTivate

Attribute Detail
Object Type Method
Target Marker Mk of the active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Mk: marker number 1–15, or reference marker number 16 (see Table 4 on page 74)
Description Sets the active marker. If a marker is OFF this function will turn it ON.
Turning ON a marker with the number from 1 to 15 will turn ON all the markers of smaller numbers. Turning ON the reference marker with number 16 does not turn ON the markers with the numbers from 1 to 15, but switches these markers to the relative measurement mode.
Syntax app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).ACTivate
Equivalent Softkeys Markers > Select > Marker n
Markers > Reference Marker
Table 4. Mk: Marker Number
Data Type Long
Description Marker number. Numbers from 1 to 15 are for regular markers, number 16 is for the reference marker.
Range from 1 to 16
Out of Range An error occurs. Error code: 203.
Notes If the marker number is not specified, it is taken as equal to 1.

SCPI.SERVice.CHANnel(Ch).TRACe(Tr).MARKer.ACTive

Attribute Detail
Object Type Property (read only)
Data Type Long
Target The specified trace Tr of channel Ch,
Tr: trace number 1–16 (see Table 3 on page 33)
Ch: channel number 1–16 (see Table 1 on page 25)
Description The active marker number of the specified trace of the specified channel.
Syntax Dim Value As Long
Value = app.SCPI.SERVice.CHANnel(Ch).TRACe.ACTive
Equivalent Softkeys None

SCPI.CALCulate(Ch).SELected.MARKer(Mk).X

Attribute Detail
Object Type Property (read/write)
Data Type Double
Target Marker Mk of the active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Mk: marker number 1–15, or reference marker number 16 (see Table 4 on page 74)
Description The stimulus value of the marker.
Range From the stimulus current start value to the stimulus current stop value.
Out of Value Sets the value of the limit, which is closer to the specified value.
Preset Value Stimulus center value
Unit Hz (Hertz) / s (second) / dBm (decibels above 1 milliwatt)
Syntax Dim Value As Double
Value = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).X
app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).X = 1e9
Equivalent Softkeys Markers > Edit Stimulus

See the Marker Search subchapter.

Marker Math

See the Marker Math subchapter.

Marker Functions

See the Marker Functions subchapter.

Marker Properties

See the Marker Properties subchapter.