-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 12:56:43 2023 UTC
-- File 20220610_130938_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 5.040683 to 53.580036
-each separately from 5s to 53s and from 40683us to 980303us.
   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, ...
      12.079769 in 1 packets: 18
      21.858984 in 1 packets: 36
      14.599444 in 1 packets: 54
MIU packet time from 2022-06-10T13:09:46.040.683.000 to 2022-06-10T13:10:34.580.036.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, ...
      12.079769 in 1 packets: 18
      21.858984 in 1 packets: 36
      14.599444 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 6.6579964 to 54.6578281
   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, ...
      11.9999579 in 1 packets: 18
      20.9999264 in 1 packets: 36
      14.9999474 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 72 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220610_130938_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.6986808 to 6.6989698
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0797270  -- OK for SL --
   MIU time from 2022-06-10T13:09:46.040.683.000 to 2022-06-10T13:09:46.040.972.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.079769

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.7786968 to 18.7789858
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8589110  -- OK for SL --
   MIU time from 2022-06-10T13:09:58.120.741.000 to 2022-06-10T13:09:58.121.030.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.858984

 - 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 40.6378968 to 40.6381858
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5993910  -- OK for SL --
   MIU time from 2022-06-10T13:10:19.980.014.000 to 2022-06-10T13:10:19.980.303.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.599444

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.2375768 to 55.2378658
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-10T13:10:34.579.747.000 to 2022-06-10T13:10:34.580.036.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 = 5, 32bit 10MHz counter = 6.698680800 corrected by 40bit 10MHz counter of 6.657996400 obtained at 1Hz counter of 5. Result: 5.040684542
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-06-10T13:09:46.040.542.725
   Max 1st sample MIU time among all SL packets: 2022-06-10T13:10:34.579.895.725
   Min 1st sample XO time among all SL packets: 5.040544267
   Max 1st sample XO time among all SL packets: 53.579899455
   TM values from -255 to 244 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-10T13:09:46.040.542.725 (XO: 5.040544267 - 5.040850268, t=42.0 degC)  Rank: 00076
   TM values: Max =   215  Min =  -255  Ave =    -4.60  Std =    30.41
   Min TM value:-255 at an offset of 127.788 usec -> 2022-06-10T13:09:46.040.670.512 (XO: 5.040672055)
   Max TM value:215 at an offset of 160.238 usec -> 2022-06-10T13:09:46.040.702.963 (XO: 5.040704505)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 160.088 usec -> 2022-06-10T13:09:46.040.702.813 (XO: 5.040704355)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 127.625 usec -> 2022-06-10T13:09:46.040.670.350 (XO: 5.040671892)

 - Block number: 2 starting at 2022-06-10T13:09:58.120.600.725 (XO: 17.120602647 - 17.120908648, t=42.0 degC)  Rank: 00085
   TM values: Max =   192  Min =  -215  Ave =    -4.57  Std =    24.75
   Min TM value:-215 at an offset of 157.701 usec -> 2022-06-10T13:09:58.120.758.425 (XO: 17.120760348)
   Max TM value:192 at an offset of 157.951 usec -> 2022-06-10T13:09:58.120.758.675 (XO: 17.120760598)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 128.625 usec -> 2022-06-10T13:09:58.120.729.350 (XO: 17.120731273)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 160.338 usec -> 2022-06-10T13:09:58.120.761.063 (XO: 17.120762985)

 - Block number: 3 starting at 2022-06-10T13:10:19.979.873.725 (XO: 38.979879255 - 38.980185256, t=42.0 degC)  Rank: 00079
   TM values: Max =   244  Min =  -240  Ave =    -4.46  Std =    29.48
   Min TM value:-240 at an offset of 128.363 usec -> 2022-06-10T13:10:19.980.002.087 (XO: 38.980007618)
   Max TM value:244 at an offset of 130.738 usec -> 2022-06-10T13:10:19.980.004.462 (XO: 38.980009993)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 130.588 usec -> 2022-06-10T13:10:19.980.004.312 (XO: 38.980009843)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 128.213 usec -> 2022-06-10T13:10:19.980.001.937 (XO: 38.980007468)

 - Block number: 4 starting at 2022-06-10T13:10:34.579.606.725 (XO: 53.579610454 - 53.579916455, t=42.0 degC)  Rank: 00087
   TM values: Max =   213  Min =  -229  Ave =    -4.61  Std =    32.45
   Min TM value:-229 at an offset of 168.726 usec -> 2022-06-10T13:10:34.579.775.450 (XO: 53.579779179)
   Max TM value:213 at an offset of 166.851 usec -> 2022-06-10T13:10:34.579.773.575 (XO: 53.579777304)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 171.026 usec -> 2022-06-10T13:10:34.579.777.750 (XO: 53.579781479)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 99.025 usec -> 2022-06-10T13:10:34.579.705.750 (XO: 53.579709479)
