14-28 Remote control
14.6.4 Sweep
Structure
The PMM 9010, in order to optimize memory, stores measures (sweeps) in dynamic
mode. This means that a single sweep does not have a fixed size but it varies
depending on the sweep itself. Moreover, in order to have a sweep made of
different steps (as for example band A and band B), often sweeps are split into two
single sweeps. Basically, the higher the span, the wider the size of sweeps. Here
below there is a comprehensive description of the structure in which a sweep is
stored by the PMM 9010.
The full structure is obtained by the reply to the command “?FSF n”.
The PMM9010 replies by first sending a Little Endian 32 bit long representing the
size of the array, then a 512 bytes main header plus an additional 512 bytes
sweeps header followed by a variable size array of integer (the size depends on
frequency settings) as follows:
ID Byte Mnemonic Meaning
1 Size of data Little Endian 32 bit long representing the size in byte of full sweep
2
3
4
Main Header
ID Byte Mnemonic Meaning
1 Start
Frequency
Little Endian 32 bit Float figure representing the start frequency of full
sweep
2
3
4
5 Stop
Frequency
Little Endian 32 bit Float figure representing the Stop frequency of full
sweep
6
7
8
9 NumSweep Little Endian 16 bit integer representing the number of single sub-sweeps
forming the full sweep
10
11 Detector Little Endian 16 bit integer representing the detector used
12
13
…
498
Reserved
….
…
499
…
512
Conversion
Fatctor
Null terminated string containing the name of the conversion factor used
********** End of Main Header **********