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

Object type

Property (Read Only)

Syntax

All revision:

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

 

In revision A.9.60 and above, the following syntax is also supported:

Data = SCPI.CALCulate(Ch).TRACe(Tr).MSTatistics.DATA

Description

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

 

In revision A.9.60 and above, you can select the trace and read the statistics values of the trace just by executing the above TRACe(Tr) command. You do not need to execute SCPI.CALCulate(Ch).PARameter(Tr).SELect.

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

All revision:

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

 

In revision A.9.60 and above, the following syntax is also supported:

:CALCulate{[1]-160}:TRACe{[1]-16}:MSTatistics:DATA?

Query response

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

 

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