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

Object type

Property (Read-Write)

Syntax

All revision:

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

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

 

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

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

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

Description

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

The array data element varies in the data format (specified with the SCPI.CALCulate(Ch).SELected.FORMat object). For more information on the formatted memory array, see Internal Data Processing.

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

  • Data(n×2-2) :Data (primary value) at the n-th measurement point.

  • Data(n×2-1) :Data (secondary value) at the n-th measurement point. Always 0 when the data format is not the Smith chart format or the polar format.

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 formatted memory array, an error occurs when executed and the object is ignored.

Examples

Dim FmtMem As Variant
SCPI.SENSe(1).SWEep.POINts = 201
SCPI.CALCulate(1).PARameter(1).SELect
FmtMem = SCPI.CALCulate(1).SELected.DATA.FMEMory
SCPI.CALCulate(1).PARameter(2).SELect
SCPI.CALCulate(1).SELected.DATA.FMEMory = FmtMem

Related objects

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

SCPI.SENSe(Ch).SWEep.POINts

SCPI.CALCulate(Ch).SELected.FORMat

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

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

Equivalent key

No equivalent key is available on the front panel.

Equivalent SCPI command

Syntax

All revision:

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

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

 

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

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

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

Query response

{numeric 1},… ,{numeric NOP×2}<newline><^END>

Example of use

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