Remote Commands for the I/Q Analyzer
R&S
®
FSWP
150User Manual 1177.5856.02 ─ 07
//--------------Performing the Measurement---------------------
INIT;*WAI
//Initiates a new measurement and waits until the sweep has finished.
//---------------Retrieving Results----------------------------
TRAC:DATA? TRACE1
TRAC:DATA? TRACE2
TRAC:DATA? TRACE3
//Returns the magnitude for each sweep point
LAY:REPL:WIND '1',RIMAG
//Changes the result display to Real/Imag (I/Q)
CALC:MARK:SEAR MAGN
//Configures searches to search both I and Q branches.
CALC:MARK:Y?
//Queries the result of the peak search on both branches.
TRAC:IQ:DATA:MEM? 0,500
//Returns the first 500 samples of the stored I/Q data for the measurement.
//For each sample, first the I-value, then the Q-value is listed.
TRAC:IQ:DATA:MEM? 500,500
//Returns the second half of the 1000 captured sample values.
8.10.2 Basic I/Q Analysis with Improved Performance
This example demonstrates how to configure and perform a basic I/Q data acquisition
and analyze the data using the I/Q Analyzer in a remote environment.
//--------------Activating the I/Q Analyzer application ---------------------
*RST
//Reset the instrument
INIT:CONT OFF
//Switches to single sweep mode
TRACE:IQ ON
//Switches the operating mode of the current measurement channel to I/Q Analyzer
//while retaining the relevant parameters from the Spectrum mode.
//--------------Configuring Data Acquisition-------------
TRACE:IQ:SET NORM,0,32000000,IQP,POS,0,1000
//Configures the sample rate as 32 MHz, IQP trigger, positive trigger slope,
//no pretrigger samples, 1000 samples to capture
FORM REAL,32
//The data is formatted as real values.
Programming Examples