User Manual

Remote Commands
R&S
®
FPL1000
706User Manual 1178.3370.02 ─ 03
#4 Number of digits (= 4 in the example) of the following number of data bytes
1024 Number of following data bytes (= 1024 in the example)
<Value> 4-byte floating point value
Reading out data in binary format is quicker than in ASCII format. Thus, binary format
is recommended for large amounts of data.
8.8.7.6 Programming Example: Configuring a Spectrogram
This example demonstrates how to configure a spectrogram for a basic frequency
sweep in a remote environment. The spectrogram is displayed in addition to the spec-
trum display, in a new window. In addition, the usage of special spectrogram markers
is demonstrated (see Chapter 8.8.8.6, "Marker Search (Spectrograms)",
on page 728).
Basic trace settings are demonstrated in the Chapter 8.6.14, "Programming Example:
Performing a Basic Frequency Sweep", on page 629.
//-----------Preparing the Measurement ------------
*RST
//Resets the instrument
LAY:ADD? '1',BEL,SGR
//Displays a new window below window 1 and activates spectrogram display.
//The new window name is returned as a result: '2'.
//The spectrogram is updated with each new sweep.
INIT:CONT OFF
//Selects single sweep mode.
//--------------Configuring the Spectrogram--------------
CALC:SGR:CLE
//Clears the displayed spectrogram to start a new one.
CALC:SGR:CONT ON
//Configures a continuous spectrogram for a series of measurements.
//The display is not cleared when a new measurement is started.
CALC:SGR:FRAM:COUN 100
//Sets the number of frames to be recorded per sweep to 100.
CALC:SGR:HDEP 1000
//Sets the number of frames to be stored to 1000 (=10 sweeps)
CALC:SGR:TST ON
//Activates a time stamp for each frame.
//--------------Configuring the Color Map----------------
DISP:WIND:SGR:COL GRAY
//Defines a gray-scaled coloring: low values light gray, high values dark gray.
DISP:WIND:SGR:COL:LOW 30
DISP:WIND:SGR:COL:UPP 70
Setting Basic Spectrum RF Measurement Parameters