R&S AFQ100A Operating Manual page 280

I/q modulation generator
Hide thumbs Also See for AFQ100A:
Table of Contents

Advertisement

R&S AFQ100A
{TYPE: magic, xxxxxxxx} (mandatory, must be the first tag in the file)
The TYPE tag identifies the file as a valid instrument file. It must be present and must be the first in
the waveform. If a file of the same name already exists on the target medium, it is overwritten.
Note:
AMIQ waveforms can also be loaded on the R&S Signal Generator, where they are converted
internally into an R&S Signal Generator waveform.
'magic' designates the file type and has the following values:
magic
SMU-WV
xxxxxxxx:
'xxxxxxxx' is an ASCII-coded checksum of the data part of the WAVEFORM tag in
the file.
The checksum for waveforms is used for detecting transmission errors. If the
TYPE tag contains 0 or a non-numeric value for the checksum, it is ignored.
It is calculated in accordance with the following algorithm, where 'start' is a
pointer to the first byte after the '#' character in the WAVEFORM tag and 'length'
is the number of bytes between 'start' and the closing curly bracket (excluding the
latter; 'length' must be divisible by 4 without a remainder):
Example:
{TYPE: SMU-WV,106656}
IEC bus query:
"WAV:TAG? 'TYPE'"
Response: "'SMU-WV,106656'"
{CLOCK: frequency} (mandatory for waveforms)
The tag specifies the clock frequency at which the waveform has to be output, in Hz. A query of
CLOCk? after loading the waveform returns the value set using the CLOCK tag. This value can
subsequently be altered with the aid of the CLOCk command.
Example:
{CLOCK: 54000000}
IEC bus query:
"WAV:TAG? 'CLOCK'"
Response: "54000000"
1401.3084.32
The file contains a valid waveform.
UINT32 checksum(void *start, UINT32 length)
{
UINT32 i, result = 0xA50F74FF;
for(i=0; i < length/4; i++)
result = result ^ ((UINT32 *)start)[i];
return(result);
}
'queries the content of the 'TYPE' tag.
'this is a valid waveform.
'queries the content of the 'CLOCK' tag.
'the clock frequency is set to 54 MHz.
AFQ Commands - Signal Generation
6.19
E-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afq100b

Table of Contents