VNA Master™Programming Manual : VNA Commands : :CALCulate Subsystem
 
:CALCulate Subsystem
The commands in this subsystem process data that have been collected via the :CALCulate subsystem.
:CALCulate Subsystem 
Keyword
Parameter Data or Units
:CALCulate{1-4}
 
:FORMat
:LIMit
:MARKer
:MATH
:SMOothing
:TRANsform
 
Trace Data Transfer
:CALCulate<Tr>:DATA?
Description
Transfers the given trace data specified by <Tr> from the instrument to the controller. <Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1.
FDATa: Formatted (or Final) data. The returned data are based on the Graph Type that is associated with the trace. For graph types that use only one number per point (such as Log Mag, SWR, Phase, Real, Imaginary, Group Delay, Log Mag /2), the command returns one number per data point. For graph types that use two numbers per point (such as Smith Chart), the command returns two numbers per data point. Following is a list of the returned values for each Graph Type:
Graph Type
Returned Units
Log Magnitude
dB
Log Magnitude /2
dB
Phase
degree
SWR
unitless
Real
unitless
Imaginary
unitless
Group Delay
ns (nanosecond)
Smith Chart
R + jX ohm
Linear Polar
unitless, degree
Log Polar
dB, degree
Real Impedance
ohm
Imaginary Impedance
ohm
SDATa: Complex measurement data. The returned numbers (which are independent of the Graph Type that is associated with the trace) are the complex measurement data (Real and Imaginary) for each point of the trace. A 551 point trace therefore has a total of 1102 points that get transferred.
FMEM: Formatted (or Final) Memory data. Similar to FDATa, but for memory data.
SMEM: Complex memory data. Similar to SDATa, but for memory data.
Note that in order to get valid data when querying for memory data, you must first store a trace into memory using the command CALC:MATH:MEMorize. The format of the block data that is returned can be specified by the command :FORMat:DATA. The response begins with an ASCII header that specifies the number of data bytes. It appears in the format #AX, where A is the number of digits in X, and X is the number of bytes that follow the header. Each data point is separated by a comma delimiter.
Trace Data Transfer (continued)
Syntax
:CALCulate<Tr>:DATA? FDATa|SDATa|FMEM|SMEM
:CALCulate{1‑4}:DATA? FDATa|SDATa|FMEM|SMEM
Cmd Parameter
NA (query only)
Query Parameter
<char> FDATa|SDATa|FMEM|SMEM
Query Response
<block> (returns block data)
Related Command
:FORMat:DATA
Front Panel Access
NA