-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 08:57:34 2021 UTC
-- File 20210803_223640_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 14.725578 to 46.105733
-each separately from 14s to 46s and from 45424us to 725867us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.359711 in 1 packets: 18
      20.959557 in 1 packets: 36
      6.059731 in 1 packets: 54
MIU packet time from 2021-08-03T22:36:57.725.578.000 to 2021-08-03T22:37:29.105.733.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.359711 in 1 packets: 18
      20.959557 in 1 packets: 36
      6.059731 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 15.8287302 to 47.8286238
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.9999833 in 1 packets: 18
      20.9999303 in 1 packets: 36
      5.9999800 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20210803_223640_1227.dat, 4 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.5543089 to 16.5545979
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.3596950  -- OK for SL --
   MIU time from 2021-08-03T22:36:57.725.578.000 to 2021-08-03T22:36:57.725.867.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.359711

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.9142929 to 20.9145819
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.9594870  -- OK for SL --
   MIU time from 2021-08-03T22:37:02.085.578.000 to 2021-08-03T22:37:02.085.867.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.959557

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.8740689 to 41.8743579
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.0597110  -- OK for SL --
   MIU time from 2021-08-03T22:37:23.045.424.000 to 2021-08-03T22:37:23.045.713.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.059731

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.9340689 to 47.9343579
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T22:37:29.105.444.000 to 2021-08-03T22:37:29.105.733.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 16.554308900 corrected by 40bit 10MHz counter of 15.828730200 obtained at 1Hz counter of 14. Result: 14.725581167
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-03T22:36:57.725.437.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T22:37:29.105.592.725
   Min 1st sample XO time among all SL packets: 14.725440891
   Max 1st sample XO time among all SL packets: 46.105594173
   TM values from -277 to 226 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T22:36:57.725.437.725 (XO: 14.725440891 - 14.725746893, t=37.2 degC)  Rank: 00083
   TM values: Max =   205  Min =  -274  Ave =    -4.47  Std =    30.18
   Min TM value:-274 at an offset of 124.713 usec -> 2021-08-03T22:36:57.725.562.437 (XO: 14.725565604)
   Max TM value:205 at an offset of 124.388 usec -> 2021-08-03T22:36:57.725.562.112 (XO: 14.725565279)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 127.100 usec -> 2021-08-03T22:36:57.725.564.825 (XO: 14.725567992)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 124.488 usec -> 2021-08-03T22:36:57.725.562.212 (XO: 14.725565379)

 - Block number: 2 starting at 2021-08-03T22:37:02.085.437.725 (XO: 19.085439407 - 19.085745408, t=37.2 degC)  Rank: 00084
   TM values: Max =   226  Min =  -277  Ave =    -4.48  Std =    33.22
   Min TM value:-277 at an offset of 112.675 usec -> 2021-08-03T22:37:02.085.550.400 (XO: 19.085552082)
   Max TM value:226 at an offset of 112.438 usec -> 2021-08-03T22:37:02.085.550.162 (XO: 19.085551845)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 110.463 usec -> 2021-08-03T22:37:02.085.548.187 (XO: 19.085549870)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 112.575 usec -> 2021-08-03T22:37:02.085.550.300 (XO: 19.085551982)

 - Block number: 3 starting at 2021-08-03T22:37:23.045.283.725 (XO: 40.045284979 - 40.045590980, t=37.2 degC)  Rank: 00079
   TM values: Max =   196  Min =  -239  Ave =    -4.52  Std =    18.83
   Min TM value:-239 at an offset of 124.213 usec -> 2021-08-03T22:37:23.045.407.937 (XO: 40.045409192)
   Max TM value:196 at an offset of 126.925 usec -> 2021-08-03T22:37:23.045.410.650 (XO: 40.045411904)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 126.788 usec -> 2021-08-03T22:37:23.045.410.512 (XO: 40.045411767)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 124.000 usec -> 2021-08-03T22:37:23.045.407.725 (XO: 40.045408979)

 - Block number: 4 starting at 2021-08-03T22:37:29.105.303.725 (XO: 46.105305173 - 46.105611174, t=37.2 degC)  Rank: 00076
   TM values: Max =   206  Min =  -227  Ave =    -4.47  Std =    24.52
   Min TM value:-227 at an offset of 123.063 usec -> 2021-08-03T22:37:29.105.426.787 (XO: 46.105428235)
   Max TM value:206 at an offset of 125.713 usec -> 2021-08-03T22:37:29.105.429.437 (XO: 46.105430885)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 125.550 usec -> 2021-08-03T22:37:29.105.429.275 (XO: 46.105430723)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 181.951 usec -> 2021-08-03T22:37:29.105.485.675 (XO: 46.105487123)
