-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Sun May  7 00:21:40 2023 UTC
-- File 20230507_000332_1228.dat, 36  packets found.
APID:
      1228 (EB) in 36 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 36 packets (all packets)
Total number of packets: 
      36 in 36 packets (all packets)
Packet No from 1 to 36
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.005551 to 0.005551
-each separately from 0s to 0s and from 5551us to 5551us.
   Differences in neigboring packets: 
      0.000000 in 35 packets (all packets)
MIU packet time from 2023-05-07T00:03:35.005.551.000 to 2023-05-07T00:03:35.005.551.000
   Differences in neigboring packets: 
      0.000000 in 35 packets (all packets)
MIU orbit number: 
      60000 in 36 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 36 packets (all packets)
MIU orbit information / number of events: 
      0 in 36 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 36 packets (all packets)
Instrument anomalies: 
      0 (OK) in 36 packets (all packets)
FPGA configuration version: 
      211 in 36 packets (all packets)
10 MHz counter at the last 1Hz pulse from 0.0000000 to 0.0000000
   Differences in neigboring packets: 
      0.0000000 in 35 packets (all packets)
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets (all packets)
Temperature XO: 
      00 -> -273.1 degC in 36 packets (all packets)
Temperature ant 3: 
      00 -> 115.9 degC in 36 packets (all packets)
Temperature ant 4: 
      00 -> 115.9 degC in 36 packets (all packets)
Number of external events: 
      1 in 36 packets (all packets)
Number of generated alerts: 
      0 in 36 packets (all packets)
Survey memory error: 
      0 in 36 packets (all packets)
Event memory error: 
      0 in 36 packets (all packets)
Configuration error: 
      1 in 36 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 36 packets (all packets)
Radio gain: 
      0 in 36 packets (all packets)
Radio bandwidth: 
      3 in 36 packets (all packets)
Digital gain: 
      0 in 36 packets (all packets)
Analog gain: 
      8 in 36 packets (all packets)

EVENT DATA READER
-- File 20230507_000332_1228.dat, 12 EB pages found. Extra packets: 0.
   Design version: 211 => Data interpreted as:   Pre-final (EM4-FM1) data structure with variable 32bit C10MHz in the event data descriptor
--
Data structure of all event data packets in the sequence read from file:
   Event numbers from 1 to 1
      1 in 36 packets (all packets)
   LS 32 bits of C10MHz from descriptor (period 430s)  from 0.0020943 to 429.4967295
      Difference between the neighboring packets: 
      0.0013560 in 16 packets: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23
      0.0007560 in 7 packets: 3, 6, 9, 12, 15, 18, 21
      -197.7214471 in 1 packets: 24
      -17.0561186 in 1 packets: 25
      -214.7482463 in 1 packets: 26
      -0.0294912 in 1 packets: 27
      16.8067137 in 1 packets: 28
      -159.9427990 in 1 packets: 29
      -71.3582218 in 1 packets: 30
      214.5237919 in 1 packets: 31
      -0.4464710 in 1 packets: 32
      0.6570119 in 1 packets: 33
      -151.1886820 in 1 packets: 34
      164.6096356 in 1 packets: 35
   Memory page number from 0 to 7611
      Difference between the neighboring packets: 
      0 in 24 packets: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, ...
      1 in 10 packets: 3, 6, 9, 12, 15, 18, 21, 27, 30, 33
      7601 in 1 packets: 24
   Event page number from 1 to 12
      Difference between the neighboring packets: 
      0 in 24 packets: 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, ...
      1 in 10 packets: 3, 6, 9, 12, 15, 18, 21, 27, 30, 33
      -11 in 1 packets: 24
   MIU event flag 
      1 in 36 packets (all packets)
   Time triggered event flag 
      0 in 36 packets (all packets)
   Absolute time of the 1st EB sample = header abs. time + offset - one page (3.468 ms) - 1.6 us delay
   Min EB event (1st sample) abs. time found among all events: 2023-05-07T00:03:35.002.081.387
   Min EB header abs. time found among all events            : 2023-05-07T00:03:35.005.551.000
   Max EB event (1st sample) abs. time found among all events: 2023-05-07T00:03:35.002.081.387
   Max EB header abs. time found among all events            : 2023-05-07T00:03:35.005.551.000
   TM values from 0 to 4095 median:1232.00
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 36
    Page no. 1:  3 packets  -- OK;  memory page(s):
      7608 in 3 packets (all packets)  --OK-- 
    Page no. 2:  3 packets  -- OK;  memory page(s):
      7609 in 3 packets (all packets)  --OK-- 
    Page no. 3:  3 packets  -- OK;  memory page(s):
      7610 in 3 packets (all packets)  --OK-- 
    Page no. 4:  3 packets  -- OK;  memory page(s):
      7611 in 3 packets (all packets)  --OK-- 
    Page no. 5:  3 packets  -- OK;  memory page(s):
      0 in 3 packets (all packets)  --OK-- 
    Page no. 6:  3 packets  -- OK;  memory page(s):
      1 in 3 packets (all packets)  --OK-- 
    Page no. 7:  3 packets  -- OK;  memory page(s):
      2 in 3 packets (all packets)  --OK-- 
    Page no. 8:  3 packets  -- OK;  memory page(s):
      3 in 3 packets (all packets)  --OK-- 
    Page no. 9:  3 packets  -- OK;  memory page(s):
      4 in 3 packets (all packets)  --OK-- 
    Page no. 10:  3 packets  -- OK;  memory page(s):
      5 in 3 packets (all packets)  --OK-- 
    Page no. 11:  3 packets  -- OK;  memory page(s):
      6 in 3 packets (all packets)  --OK-- 
    Page no. 12:  3 packets  -- OK;  memory page(s):
      7 in 3 packets (all packets)  --OK-- 
   Event no. 1 pages: 12  ordered packets: 36
   TM values from 0 to 4095 median: 1026.00
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=0 C1MHz=0.005551
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      412.4406110 in 1 packets: 1
      214.7484833 in 1 packets: 2
      429.4672384 in 1 packets: 3
      16.8067137 in 1 packets: 4
      269.5539306 in 1 packets: 5
      358.1385078 in 1 packets: 6
      214.5237919 in 1 packets: 7
      429.0502586 in 1 packets: 8
      0.6570119 in 1 packets: 9
      278.3080476 in 1 packets: 10
      164.6096356 in 1 packets: 11
      415.8673359 in 1 packets: 12
      0.0013560 in 16 packets: 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35
      0.0007560 in 7 packets: 15, 18, 21, 24, 27, 30, 33
      -- ERROR -- incorrect differences for packets of this event. 
   Event type -- OK -- (constant for all packets of this event): External
   Gain -- OK -- (constant for all packets of this event): 1/2x(ant3)
   Header abs. time  -- OK -- (constant for all packets of this event): 2023-05-07T00:03:35.005.551.000
   Event 1st sample abs. time : 2023-05-07T00:03:35.002.081.387)
   --- Rel. time correction for 1 points based on 134 XO calibration points at 1Hz counter from 0 to 133
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 231.804364800 corrected by 40bit 10MHz counter of 1.615633700 obtained at 1Hz counter of 0. Result: 230.189605821
   XO time of the 1st EB sample = data descriptor XO time - 1.6 us delay
   Event 1st sample XO time (reconstructed seconds from XP start):             230.189604220
   Event data descriptor XO time (reconstructed seconds from XP start)    :             230.189605821
   Sampling frequency correction factor for this event:     0.999996200
--
Extremes in separate events:

 - Event number: 1 from 2023-05-07T00:03:35.002.081.387 to 2023-05-07T00:03:35.043.697.545 (XO: 230.189604220 - 230.231220379)
   Channel 12: Min TM value:0 at an offset of 12.000 usec -> 2023-05-07T00:03:35.002.093.387 (XO: 230.189616)
               Max TM value:4095 at an offset of 1128.004 usec -> 2023-05-07T00:03:35.003.209.391 (XO: 230.190732)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:1853.00
   Channel 11: Min TM value:0 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Max TM value:4095 at an offset of 1044.004 usec -> 2023-05-07T00:03:35.003.125.390 (XO: 230.190648)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:1893.00
   Channel 10: Min TM value:0 at an offset of 12.000 usec -> 2023-05-07T00:03:35.002.093.387 (XO: 230.189616)
               Max TM value:4095 at an offset of 1080.004 usec -> 2023-05-07T00:03:35.003.161.391 (XO: 230.190684)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:1782.00
   Channel 09: Min TM value:0 at an offset of 84.000 usec -> 2023-05-07T00:03:35.002.165.387 (XO: 230.189688)
               Max TM value:4095 at an offset of 1008.004 usec -> 2023-05-07T00:03:35.003.089.390 (XO: 230.190612)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:1540.00
   Channel 08: Min TM value:0 at an offset of 12.000 usec -> 2023-05-07T00:03:35.002.093.387 (XO: 230.189616)
               Max TM value:4095 at an offset of 1044.004 usec -> 2023-05-07T00:03:35.003.125.390 (XO: 230.190648)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:1192.00
   Channel 07: Min TM value:0 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Max TM value:4095 at an offset of 1032.004 usec -> 2023-05-07T00:03:35.003.113.390 (XO: 230.190636)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:1037.00
   Channel 06: Min TM value:0 at an offset of 24.000 usec -> 2023-05-07T00:03:35.002.105.387 (XO: 230.189628)
               Max TM value:4095 at an offset of 1032.004 usec -> 2023-05-07T00:03:35.003.113.390 (XO: 230.190636)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:705.000
   Channel 05: Min TM value:0 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Max TM value:4095 at an offset of 1032.004 usec -> 2023-05-07T00:03:35.003.113.390 (XO: 230.190636)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:846.000
   Channel 04: Min TM value:0 at an offset of 12.000 usec -> 2023-05-07T00:03:35.002.093.387 (XO: 230.189616)
               Max TM value:4095 at an offset of 1104.004 usec -> 2023-05-07T00:03:35.003.185.391 (XO: 230.190708)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:677.000
   Channel 03: Min TM value:0 at an offset of 48.000 usec -> 2023-05-07T00:03:35.002.129.387 (XO: 230.189652)
               Max TM value:4095 at an offset of 1008.004 usec -> 2023-05-07T00:03:35.003.089.390 (XO: 230.190612)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:630.000
   Channel 02: Min TM value:0 at an offset of 72.000 usec -> 2023-05-07T00:03:35.002.153.387 (XO: 230.189676)
               Max TM value:4095 at an offset of 1008.004 usec -> 2023-05-07T00:03:35.003.089.390 (XO: 230.190612)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:644.000
   Channel 01: Min TM value:0 at an offset of 84.000 usec -> 2023-05-07T00:03:35.002.165.387 (XO: 230.189688)
               Max TM value:4095 at an offset of 1068.004 usec -> 2023-05-07T00:03:35.003.149.391 (XO: 230.190672)
               Max dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Min dTM/dt [1/us]:0.00e+00 at an offset of 0.000 usec -> 2023-05-07T00:03:35.002.081.387 (XO: 230.189604)
               Median TM value:526.000
