Please enable JavaScript to view this site.

 Network Analyzers using TRVNA software

SCPI Command

CALCulate<Ch>[:SELected]:DATA:FMEMory <numeric list>

CALCulate<Ch>[:SELected]:DATA:FMEMory?

Or

CALCulate<Ch>:TRACe<Tr>:DATA:FMEMory <numeric list>

CALCulate<Ch>:TRACe<Tr>:DATA:FMEMory?

Description

Reads out or writes the formatted memory array.

The formatted memory array is the data, whose processing is completed including the formatting as the last step. Such data represent the memory trace values as they are shown on the screen.

The array size is 2N, where N is the number of measurement points.

For the n-th point, where n from 1 to N:

<numeric 2n–1> Value 1 depends on the trace format (see table below);

<numeric 2n> Value 2 depends on the trace format (see table below).

Trace Format

Value 1

Value 2

Log Mag

Logarithmic magnitude, dB

0

SWR

Voltage standing wave ratio

0

Phase

Phase, deg

0

Expand Phase

Expanded phase, deg

0

Group Delay

Group delay, sec

0

Lin Mag

Linear magnitude

0

Real

Real part

0

Imag

Imaginary part

0

Smith (Log/Phase)

Logarithmic magnitude, dB

Phase, deg

Smith (Lin/Phase)

Linear magnitude

Phase, deg

Smith (Real/Imag)

Real part

Imaginary part

Smith (R + jX)

Impedance (real part), Ohm

Impedance (imaginary part), Ohm

Smith (G + jB)

Admittance (real part), S

Admittance (imaginary part), S

Polar (Log/Phase)

Logarithmic magnitude, dB

Phase, deg

Polar (Lin/Phase)

Linear magnitude

Phase, deg

Polar (Real/Imag)

Real part

Imaginary part

Note: When data is being written it is recommended to hold the sweep before and update the screen after write.

command/query

 

Target

CALCulate<Ch>[:SELected] — active trace of channel <Ch>,

Or

CALCulate<Ch>:TRACe<Tr> — trace <Tr> of channel <Ch>,

<Tr>={[1]|2|...8}

<Ch>={[1]|2|...9}

Query Response

<numeric 1>, <numeric 2>, …<numeric 2N>

Related Commands

CALC:MATH:MEM

CALC:FORM

FORM:DATA

Equivalent Softkeys

None


Equivalent COM Command

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

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

Syntax

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

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

Data = app.SCPI.CALCulate(Ch).Trace(Tr).DATA.FMEMory

app.SCPI.CALCulate(Ch).Trace(Tr).DATA.FMEMory = Data

Type

Variant (array of Double) (read/write)


 

Back to CALCulate

Back to Command Finder

Back to Command Finder (From User Interface)

 

Rev.:  24.1