Remote Control Commands
R&S
®
SMW200A
975User Manual 1175.6632.02 ─ 16
Example: How the CONTROL LENGTH tag influences the processing of the
traces
For the example on Figure 13-7, use the same marker traces and set the CONTROL
LENGTH tag, e.g. {CONTROL LENGTH: 150}.
Figure 13-8: Example: Processing of control signals if the CONTROL LENGTH tag is used
The length of all control signals is determined by the CONTROL LENGTH. Observe how
the marker traces are processed. In this example, both marker traces are repeated
each 150 samples.
How to Manually Create a Waveform Using Tag File Format
As described in Chapter 4.7.2.1, "Waveform Files Sources", on page 301, you can
generate waveform files internally, with the built-in function, and externally. For
description on how to generate waveform files internally, see Chapter 4.7.4.2, "How to
Create Waveform Files with the Built-In "Generate Waveform File" Function",
on page 317. This section provides an example on how to create a waveform exter-
nally. The waveform file is created manually; the tag-oriented file format is used.
The provided example uses a sine function in the I channel and a cosine function in the
Q channel, each with 20 points. The example uses a short program written in the pro-
gramming language C to calculate the sine and cosine values (see Example "C-pro-
gram for creating a waveform file" on page 978). They are stored in the file
SICO.txt. The decimal values in SICO.txt are normalized such that they are
between –1.0 and +1.0. The data is converted into binary format. The appropriate man-
datory tags are added and the data is packed into the WAVEFORM tag. As result, the
waveform file SICO.wv is generated.
This example follows the general principle of creating of a waveform manually, using
the tag file format. The Figure 13-9 illustrates this general workflow.
SOURce Subsystem