ITPSDFINAL
Processed power spectral density
Platform: 
OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2 
The ITPSDFINAL log contains the samples for the spectral analysis. The rate and size is set by the update period and the FFT size respectively when issuing the ITSPECTRALANALYSIS command.
PSD samples are compressed into 2 byte samples to reduce log sizes. The range of values that can be displayed is 200 dBm to +56 dBm with a 1/256 resolution. The following steps should be performed on the PSD samples in this log to convert them back into dBm units for display purposes:

Divide the sample by 256.0

Subtract 200
The number of samples are calculated according to the following table. The maximum number of samples in one ITPSDFINAL log is 1024. That means if the number of samples is less than 1024, one log is enough to output them. However, if the number of samples is larger than 1024, more than one ITPSDFINAL log is needed. For example, in postdecimation mode with the FFT size of 8K and subcarrier integration of 5, there is one log with 1024 samples and another log with 614 samples. The output logs can be grouped together through the sequence number of the log header.
Data Source 
Number of Samples 

PREDECIMATION 
FFTsize/(2*subcarrier_integration ) 
POSTDECIMATION 
FFTsize/subcarrier_integration 
POSTFILTER 
FFTsize/subcarrier_integration 
As the data rate for the ITPSDFINAL log is dictated by the updateperiod parameter in the ITSPECTRALANALYSIS command, do not use ONTIME or ONCE to log this message. Instead use ONNEW to log ITPSDFINAL.
The predecimation spectrum shows the absolute power in dBm which is proportional to the resolution bandwidth (RBW). The postdecimation and postfilter spectrum shows the signal magnitude in relative power (dB).
To view the samples for the spectral analysis for the secondary antenna of dual antenna receivers (OEM7720, PwrPak7D, PwrPak7DE1, PwrPak7DE2 and CPT7), log ITPSDFINAL_1.
Message ID: 1968
Log Type: Asynch
Recommended Input:
log itpsdfinala onnew
ASCII Example
#ITPSDFINALA,USB1,0,52.5,FINESTEERING,2209,507969.564,12000020,b79a,16809;26142860,1562.561,122070.313,204,29796,29396,29720,29568,30272,29991,30321,29749,29482,29315,29754,29329,29859,29839,29366,29818,30178,30317,29421,30146,29896,30144,30760,30315,29564,30139,30164,30667,30943,29849,30659,30339,30895,30267,30462,29965,30541,30240,30712,30883,30523,30596,30775,30638,30753,30839,29860,31314,31508,30487,30353,28644,26580,26452,27765,29511,30887,31557,31096,31549,31135,31567,31193,31756,31568,31470,31732,31118,31946,31416,31526,31193,31882,31454,31379,31558,31555,31972,32125,31970,31384,31204,32437,31611,31551,32050,31730,31969,31871,31232,31584,32252,31373,32220,32198,32189,33447,32370,33055,33660,33182,33203,33523,33306,32746,33764,33909,33424,33019,33953,32423,33388,33055,32483,33109,32435,32411,32205,32338,32310,32051,32228,31851,32049,31698,31584,31816,31821,31399,32122,32096,32253,31889,32050,31787,31575,31775,31363,31556,31593,31216,30940,31538,31570,31529,31265,31295,31518,31361,29133,27947,25797,26746,29320,30342,30694,31279,31063,31655,30911,30762,30625,30845,30991,30900,30946,30847,30441,30702,31092,31097,30364,31093,30439,31202,30641,30051,29842,30629,30676,30082,30466,30499,30363,30245,30515,30441,30365,30217,30359,29207,30538,30327,30162,30518,29656,29978,30273,30084,30297,30136,30172,29755,29455*40f7bd2d
Field 
Field Type 
Description 
Format 
Binary Bytes 
Binary Offset 

1 
Log header 
ITPSDFINAL header For information about log headers, see ASCII, Abbreviated ASCII or Binary. 
 
H 
0 
2 
status word 
Status word containing information about the configuration of the spectral analysis (see Table: Spectral Analysis Status Word) 
Ulong 
4 
H 
3 
frequency start 
Frequency represented by first data sample (MHz) 
Float 
4 
H+4 
4 
resolution bandwidth 
The resolution bandwidth (Hz) 
Float 
4 
H+8 
5 
# samples 
Number of spectral density samples 
Ulong 
4 
H+12 
6 
sample 
Power spectral density sample 
Ushort 
2 
H+16 
7 
Next sample = H+16+(2*#samples) 

8 
xxxx 
32bit CRC (ASCII and Binary only) 
Ulong 
4 
H+16+ 
9 
[CR][LF] 
Sentence terminator (ASCII only) 
 
 
 
Nibble 
Bit 
Mask 
Description 
Range Value 

N0 
0 
0x00000001 
Frequency 
0 – 20 
1 
0x00000002 

2 
0x00000004 

3 
0x00000008 

N1 
4 
0x00000010 

5 
0x00000020 
Data Source 
0 – 3 

6 
0x00000040 

7 
0x00000080 

N2 
8 
0x00000100 
FFT Size 
0 – 6 See Table: FFT Sizes 
9 
0x00000200 

10 
0x00000400 

11 
0x00000800 
Integration Window 
1 – 1024 samples 

N3 
12 
0x00001000 

13 
0x00002000 

14 
0x00004000 

15 
0x00008000 

N4 
16 
0x00010000 

17 
0x00020000 
Time Average Window 
0 – 100 seconds 

18 
0x00040000 

19 
0x00080000 

N5 
20 
0x00100000 

21 
0x00200000 

22 
0x00400000 

23 
0x00800000 

N6 
24 
0x01000000 

25 
0x02000000 
Reserved 

26 
0x04000000 

27 
0x08000000 

N7 
28 
0x10000000 
Reserved 

29 
0x20000000 

30 
0x40000000 

31 
0x80000000 