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

Object type

Property (Read-Write)

Syntax

All revision:

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

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

 

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

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

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

Description

This command sets/gets the corrected memory array, for the active trace of selected channel (Ch).

For more information on the corrected memory array, see Section Internal Data Processing.

In revision A.9.60 and above, you can select the trace and set/get the corrected memory array for 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 the array data (corrected memory array) of NOP (number of measurement points)x2. Where n is an integer between 1 and NOP.

  • Data(nx2-2) :Real part of the data (complex number) at the n-th measurement point.

  • Data(nx2-1) :Imaginary part of the data (complex number) at the n-th measurement point.

The index of the array starts from 0.

Data type

Variant type (Variant)

Note

If there is no array data of NOP (number of measurement point))*2 when setting a corrected memory array, an error occurs when executed and the object is ignored.

Examples

Dim CorMem As Variant
SCPI.SENSe(1).SWEep.POINts = 201
CorMem = SCPI.CALCulate(1).SELected.DATA.SMEMory
SCPI.SENSe(2).SWEep.POINts = 201
SCPI.CALCulate(1).SELected.DATA.SMEMory = CorMem

Related objects

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

SCPI.SENSe(Ch).SWEep.POINts

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

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

Equivalent key

No equivalent key is available on the front panel.

Equivalent SCPI command

Syntax

All revision:

:CALCulate{[1]-160}[:SELected]:DATA:SMEMory <numeric 1>,… ,<numeric NOP*2>

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

 

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

:CALCulate{[1]-160}:TRACe{[1]-16}:DATA:SMEMory <numeric1>,… ,<numeric NOP*2>

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

Query response

<numeric 1>,… ,<numeric NOP*2><^END>

Example of use

10 DIM A(1:201,1:2)
20 OUTPUT 717;":CALC1:DATA:SMEM?"
30 ENTER 717;A(*)