Remote Commands for the I/Q Analyzer
R&S
®
FSWP
149User Manual 1177.5856.02 ─ 07
*RST does not influence the status registers.
8.10 Programming Examples
The following programming examples demonstrate how to capture I/Q data and per-
form I/Q data analysis using the I/Q Analyzer in a remote environment.
● I/Q Analysis with Graphical Evaluation................................................................. 149
● Basic I/Q Analysis with Improved Performance.................................................... 150
8.10.1 I/Q Analysis with Graphical Evaluation
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
INST:CRE IQ,'IQANALYZER'
//Creates a new measurement channel named 'IQANALYZER'.
INIT:CONT OFF
//Switches to single sweep mode
//--------------Configuring Data Acquisition-------------
TRAC:IQ:SRAT 32MHZ
//Defines the sample rate.
TRAC:IQ:RLEN 1000
//Sets the record length (number of samples to capture) to 1000 samples.
TRAC:IQ:BWID?
//Queries the bandwidth of the resampling filter, determined by the sample rate
FORM:DATA REAL,32
//Formats the data as 32-byte real values.
TRAC:IQ:DATA:FORM IQBL
//Lists all I values first, then all Q values in the trace results.
//--------------Configuring the Trace--------------------
TRAC:IQ:AVER ON
//Defines averaging for the I/Q trace.
TRAC:IQ:AVER:COUN 10
//Defines an average over 10 sweeps.
DISP:TRAC1:MODE WRIT
DISP:TRAC2:MODE MAXH
DISP:TRAC3:MODE MINH
//Changes the trace modes.
Programming Examples