Marker Data

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

Attribute Detail
Object Type Property (read only)
Data Type Variant (array of 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 response value of the marker. If the reference marker is turned ON, the values of the markers from 1 to 15 are read out as relative values to the reference marker.
The array includes 2 elements:
Data(0) real number in rectangular format, real part in polar and Smith chart formats;
Data(1) 0 in rectangular format, imaginary part in polar and Smith chart formats.
Syntax Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).Y
Equivalent Softkeys None

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

Attribute Detail
Object Type Property (read only)
Data Type Variant (array of double)
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The data array of all turned ON markers. The array size is 3N + 1, where N is the number of turned ON markers including the reference marker. If reference marker is turned ON the last three elements of array contain the reference marker data and the rest elements of array contain the relative values.
For the n–th marker, where n from 1 to N:
Data(0) the number of turned ON markers including the reference marker;
Data(3n–2) the stimulus value of the n–th marker;
Data(3n–1) the real data in rectangular format, real part in polar and Smith chart formats of the n–th marker;
Data(3n–0) 0 in rectangular format, imaginary part in polar and Smith chart formats of the n–th marker;
Syntax Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.MARKer.DATA
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).BWIDth.DATA

Attribute Detail
Object Type Property (read only)
Data Type Variant (array of 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 bandwidth search result. The bandwidth search can be performed relatively to the marker Mk, or relatively to the absolute maximum value of the trace (in this case the marker number is ignored), what is set by the SCPI.CALCulate(Ch).SELected.MARKer(Mk).BWIDth.REFerence property.
The array contains 4 elements:
Data(0) Bandwidth;
Data(1) Center frequency;
Data(2) Q value;
Data(3) Loss.
Notes If the bandwidth search is impossible, all the read out values are 0. If the search is performed relatively to a maker, which is OFF, an error occurs (error code 204).
Syntax Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.MARKer(Mk).BWIDth.DATA
Equivalent Softkeys None

SCPI.CALCulate(Ch).SELected.MSTatistics.DATA

Attribute Detail
Object Type Property (read only)
Data Type Variant (array of double)
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The math statistics data array. The statistics function is applied either over the whole range (for all the trace), or within the range specified by the SCPI.CALCulate(Ch).SELected.MSTatistics.DOMain.STATe property (the range limits are determined by two markers).
The array includes 3 elements:
Data(0) Mean value;
Data(1) Standard deviation;
Data(2) Peak–to–peak (difference between the maximum value and the minimum value).
Syntax Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.MSTatistics.DATA
Equivalent Softkeys None

SCPI.CALCulate(Ch).SELected.MARKer(1).MATH.FLATness.DATA

Attribute Detail
Object Type Property (read only)
Data Type Variant (array of double)
Target The active trace of channel Ch,
Ch: channel number 1–16 (see Table 1 on page 25)
Description The FLATNESS function data array. The FLATNESS function is applied within the range determined by two markers (see SCPI.CALCulate(Ch).SELected.MARKer.MATH.FLATness.DOMain.STARt and SCPI.CALCulate(Ch).SELected.MARKer.MATH.FLATness.DOMain.STOP properties).
The array includes 4 elements:
Data(0) Span;
Data(1) Gain;
Data(2) Slope;
Data(3) Flatness.
Syntax Dim Data As Variant
Data = app.SCPI.CALCulate(Ch).SELected.MARKer.MATH.FLATness.DATA
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