Remote Control Commands
R&S
®
SMBV100A
526Operating Manual 1176.8016.02 ─ 17
7.4.3 How to Manually Create a Waveform Using Tag File Format
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 529). 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 7-6 illustrates this general workflow.
Figure 7-6: Principle of creating a waveform manually
The following steps outline how to create the waveform file
SICO.wv:
1. Calculate the sine and cosine values, e.g. use the SICO.cpp program.
The result is stored in the file SICO.txt.
Waveform and List Format