R&S AFQ100A
AFQ Commands - Signal Generation
1401.3084.32 6.24
E-3
To enter the TYPE tag in the SICO.WV file an ASCII editor which is able to handle
binary data as well, e.g. the Microsoft Windows editor
NOTEPAD.EXE,
must be
used.
Now the contents of the SICO.WV file read:
{TYPE: SMU-WV, 0}
{CLOCK: 10e6}
IQIQIQIQIQIQIQIQIQI ... IQ
Step 3
The binary data must now be packed into a WAVEFORM tag with the following
structure:
{WAVEFORM-Length: #
IQIQIQIQIQIQIQIQIQI ... IQ
}
The WAVEFORM tag consists of the following characters and data:
{
Opens each tag.
WAVEFORM
Name of the tag for waveform.
-
Separates the name from the length indication.
Length
Length of the data set
Length
indicates the number of bytes of the data set and
consists of:
+ length of ",#" (1 byte)
+ number of I/Q pairs * 4 (2 bytes per I and per Q value).
In our example containing a sine and a cosine with 20 pairs for
each wave, the resulting length is
81
.
:
Separates the name and length from the remainder of the data
set. The blank
can be omitted.
#
Indicates the beginning of the binary data.
IQIQIQ
Binary data set.
The binary data contain the I and Q values in alternate order,
the first value is an I value. Each value consists of 2 Bytes,
starting with the least significant bit.
}
Terminates each tag.
The editor mentioned above which can handle binary data is now used to place
the string "
{WAVEFORM-81: #
" in front and '
}
' at the end of the data set.