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

Object type

Property (Read-Write)

Syntax

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

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

Description

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

For more information on the corrected data array, see Internal Data Processing

Variable

Parameter

Data

Description

Indicates the array data (corrected data array) of NOP (number of measurement points)×2. Where n is an integer between 1 and NOP.

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

  • Data(n×2-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 data array, an error occurs when executed and the object is ignored.

Examples

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

Related objects

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

SCPI.SENSe(Ch).SWEep.POINts

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

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

Equivalent key

No equivalent key is available on the front panel.

Equivalent SCPI command

Syntax

:CALCulate{[1]-4}[:SELected]:DATA:SDATa <numeric 1>,… ,<numeric NOP×2>

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

Query response

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

Example of use

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