VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : SCPI Commands : :CALCulate{1-16}:FCW Subsystem
 
:CALCulate{1-16}:FCW Subsystem
The :CALCulate{1-16}:FCW subsystem provides remote commands to control Standard Fast CW measurements.
FCW uses the standard MS464XX IF system which allows maximum acquisition rates of ~200,000 measurements/sec (and as slow as 1 measurement/sec). This mode is only available remotely to maximize speed and the display does not update in this mode.
There are two main sub-modes: real-time streaming over the remote interface with unlimited data collection capabilities, and a buffered collection with a maximum buffer size of ~100 million measurements (dependent on available memory) for a single S-parameter.
 
:CALCulate{1-16}:FCW:CPCount?
Description
Query only. Returns the count of the number of points that has been collected so far in the internal buffer for the selected channel
Cmd Parameters:
NA
Query Parameters
NA
Query Output
<NR1> The number of data points captured thus far
Range
0 – (Maximum storage)
Default
0
Syntax Example
:CALC1:FCW:CPC?
 
:CALCulate{1-16}:FCW:DATA?
Description
Query only. The query outputs the data collected thus far in the form set by the current mode.
Cmd Parameters:
NA
Query Parameters
NA
Query Output
<arbitrary block data> formatted with the real and imaginary values as 4 byte floating point numbers:
Header example: #9000000008. The header starts with an octothorpe or pound sign, #. Then follows a number telling how many more digits to follow, in this case 9, then the number of bytes that are to be read, in this case 8.
S-Parameter mode: The header, then sets of 2 floating point numbers, with each number being 4 bytes long.
Receiver mode: The header, then sets of 6 floating point numbers (two for each receiver), with each number being 4 bytes long.
Range
NA
Default
NA
Syntax Example
:CALC1:FCW:DATA?
:CALCulate{1-16}:FCW:DCOLlect <char>
:CALCulate{1-16}:FCW:DCOLlect?
Description
This command sets whether the system should start, stop, or pause (hold) collecting Fast CW data.
The query outputs the current data collection setting.
Note that this setting must be set to CONT for data to be collected.
Setting Definitions:
CONT = Start or continue collecting data
HOLD = Pause collecting data
STOP = Stop collecting data
STREAM = Constantly collect and transmit data
Cmd Parameters:
<char> CONT | HOLD | STOP | STREAM
Query Parameters
NA
Query Output
<char> CONT | HOLD | STOP | STREAM
Range
NA
Default
STOP
Syntax Example
:CALC1:FCW:DCOL CONT
:CALC1:FCW:DCOL?
:CALCulate{1-16}:FCW:DTYPe <char>
:CALCulate{1-16}:FCW:DTYPe?
Description
The command sets the type of data to be collected in the internal buffer.
The query outputs the type of data that will be collected
Definitions:
CORR = Corrected data
FIN = Final data
RAW = Raw data
Cmd Parameters:
<char> CORRected | FINal | RAW
Query Parameters
NA
Query Output
<char> CORR | FIN | RAW
Range
NA
Default
FIN
Syntax Example
:CALC1:FCW:DTYP RAW
:CALC1:FCW:DTYP?
:CALCulate{1-16}:FCW:IBUF:POINts <NRf>
:CALCulate{1-16}:FCW:IBUF:POINts?
Description
The command sets the selected number of points for internal buffer mode of FastCW in the indicated channel.
The query outputs the selected number of points for internal buffer mode of FastCW in the indicated channel.
Cmd Parameters:
<NRf> The input parameter is a unitless number.
Query Parameters
NA
Query Output
<NR1> The output parameter is an integer.
Range
Limited by system memory
Default
1,000,000
Syntax Example
:CALC1:FCW:IBUF:POIN 1000000
:CALC1:FCW:IBUF:POIN?
:CALCulate{1-16}:FCW:MARK <char>
Description
This command inserts a marker in the collected data to allow for periodic measurements to be identified. The parameter is inserted as an 8-byte element in the real part of the nearest available data point position and the imaginary part of that point is filled with a 0.
No query.
Cmd Parameters:
NA
Range
NA
Default
NA
Syntax Example
:CALC1:FCW:MARK
:CALCulate{1-16}:FCW:MODE <char>
:CALCulate{1-16}:FCW:MODE?
Description
The command sets whether Fast CW will return the S-parameter data, or the receiver data.
SPAR returns the complex data corresponding the response parameter in the first trace (S-parameter or user defined).
The RCVR mode will return 3 complex variables per point (both test receivers and the reference receiver corresponding to the driving port of the response parameter in the first trace).
The query returns the current Fast CW mode.
Definitions:
SPAR = S-parameter data
RCVR = receiver data
Cmd Parameters:
<char> SPARameter | RCVR
Query Parameters
NA
Query Output
<char> SPAR | RCVR
Range
NA
Default
SPAR
Syntax Example
:CALC1:FCW:MODE RCVR
:CALC1:FCW:MODE?
 
:CALCulate{1-16}:FCW:MPCount?
Description
Query only. Returns the maximum amount of points that can be collected in Fast CW mode by this channel.
Query Output
<NR1> The maximum number of points that can be collected on this channel
Range
Limited by system memory
Default
1,000,000
Syntax Example
:CALC1:FCW:MPC?
:CALCulate{1-16}:FCW[:STATe] <char>
:CALCulate{1-16}:FCW[:STATe]?
Description
The command enables Fast CW mode on the selected channel.
The query returns the state of Fast CW mode on the selected channel.
Cmd Parameters:
<char> 1 | 0 | ON | OFF
Query Parameters
NA
Query Output
<char> 1 | 0
Range
NA
Default
0
Syntax Example
:CALC:FCW 1
:CALC:FCW?
:CALCulate{1-16}:FCW:STReam:POINts <NRf>
:CALCulate{1-16}:FCW:STReam:POINts?
Description
The command sets the selected number of points for streaming mode of FastCW in the indicated channel.
The query outputs the selected number of points for streaming mode of FastCW in the indicated channel
Cmd Parameters:
<NRf> The input parameter is a unitless number.
Query Parameters
NA
Query Output
<NR1> The output parameter is an integer.
Range
1 to 500
Default
1 content
Syntax Example
:CALC1:FCW:STR:POIN 51
:CALC1:FCW:STR:POIN?