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

Object type

Property (Read Only)

Syntax

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

Description

This command reads the statistics values of the active trace of t selected channel (Ch). The statistical values contain: mean value, standard deviation and the difference between the maximum value and the minimum value.

Variable

Parameter

Data

Description

Indicates 3-element array data (statistics value).

  • Data(0) :Mean value

  • Data(1) :Standard deviation

  • Data(2) :Difference between the maximum value and the minimum value (Peak to Peak)

The index of the array starts from 0.

Data type

Variant type (Variant)

Examples

Dim MstData As Variant
SCPI.CALCulate(1).PARameter(1).SELect
MstData = SCPI.CALCulate(1).SELected.MSTatistics.DATA

Related objects

SCPI.CALCulate(Ch).PARameter(Tr).SELect

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

Equivalent key

No equivalent key is available on the front panel.

Equivalent SCPI command

Syntax

:CALCulate{[1]-4}[:SELected]:MSTatistics:DATA?

Query response

{numeric 1},{numeric 2},{numeric 3}<newline><^END>

Parameter

Description

{numeric 1}

Mean value

{numeric 2}

Standard deviation

{numeric 3}

Difference between the maximum value and the minimum value (Peak to Peak)

Example of use

10 OUTPUT 717;":CALC1:MST:DATA?"
20 ENTER 717;A,B,C