-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Tue May 23 19:38:02 2023 UTC
-- File 20230523_191857_1229.dat, 7344  packets found.
APID:
      1229 (EW) in 7344 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 7344 packets (all packets)
Total number of packets: 
      7344 in 7344 packets (all packets)
Packet No from 1 to 7344
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.005551 to 99.047009
-each separately from 0s to 99s and from 5551us to 762161us.
   Differences in neigboring packets: 
      0.000000 in 7339 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      99.041458 in 1 packets: 1632
      -74.284848 in 1 packets: 1836
      74.284848 in 1 packets: 4284
      -99.041458 in 1 packets: 6528
MIU packet time from 2023-05-23T19:19:00.005.551.000 to 2023-05-23T19:20:39.047.009.000
   Differences in neigboring packets: 
      0.000000 in 7339 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      99.041458 in 1 packets: 1632
      -74.284848 in 1 packets: 1836
      74.284848 in 1 packets: 4284
      -99.041458 in 1 packets: 6528
MIU orbit number: 
      60000 in 7344 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 7344 packets (all packets)
MIU orbit information / number of events: 
      0 in 7344 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 7344 packets (all packets)
Instrument anomalies: 
      0 (OK) in 7344 packets (all packets)
FPGA configuration version: 
      211 in 7344 packets (all packets)
10 MHz counter at the last 1Hz pulse from 0.0000000 to 98.0751967
   Differences in neigboring packets: 
      0.0000000 in 7339 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      98.0751967 in 1 packets: 1632
      -74.9997120 in 1 packets: 1836
      74.9997120 in 1 packets: 4284
      -98.0751967 in 1 packets: 6528
Temperature FPGA: 
      00 -> 55.0 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 2448 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
      05 -> 48.5 degC in 2448 packets: 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, ...
Temperature XO: 
      00 -> -273.1 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C2 -> 38.8 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
Temperature ant 3: 
      00 -> 115.9 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 108.0 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
Temperature ant 4: 
      00 -> 115.9 degC in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 108.0 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
Number of external events: 
      1 in 7344 packets (all packets)
Number of generated alerts: 
      0 in 7344 packets (all packets)
Survey memory error: 
      0 in 7344 packets (all packets)
Event memory error: 
      0 in 7344 packets (all packets)
Configuration error: 
      1 in 7344 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 7344 packets (all packets)
Radio gain: 
      0 in 7344 packets (all packets)
Radio bandwidth: 
      3 in 7344 packets (all packets)
Digital gain: 
      0 in 7344 packets (all packets)
Analog gain: 
      8 in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0 in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...

EVENT DATA READER
-- File 20230523_191857_1229.dat, 36 EW 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 3
      1 in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 2448 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
      2 in 2448 packets: 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 0.0000000 to 98.1464654
      Difference between the neighboring packets: 
      -69.6131080 in 1 packets: 1
      0.0000170 in 7334 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      98.0750570 in 1 packets: 1632
      -74.2880110 in 1 packets: 1836
      74.2464290 in 1 packets: 4284
      -28.9716940 in 1 packets: 6528
      -68.2526824 in 1 packets: 6542
      68.2527164 in 1 packets: 6543
      -69.1756044 in 1 packets: 6578
      69.1756384 in 1 packets: 6579
   Memory page number from 0 to 114
      Difference between the neighboring packets: 
      0 in 7308 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 33 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 3876, ...
      24 in 1 packets: 1632
      57 in 1 packets: 6528
   Event page number from 1 to 12
      Difference between the neighboring packets: 
      0 in 7309 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 31 packets: 204, 408, 612, 816, 1020, 1224, 1428, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 3876, 4080, ...
      -11 in 2 packets: 1632, 6528
      -10 in 1 packets: 4284
   MIU event flag 
      1 in 2448 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      0 in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
   Time triggered event flag 
      0 in 7344 packets (all packets)
   Absolute time of the 1st EW sample = header abs. time + offset - one page (3.468 ms) - 175 ns delay
   Min EW event (1st sample) abs. time found among all events: 2023-05-23T19:18:59.950.062.604
   Min EW header abs. time found among all events            : 2023-05-23T19:19:00.005.551.000
   Max EW event (1st sample) abs. time found among all events: 2023-05-23T19:20:38.991.520.620
   Max EW header abs. time found among all events            : 2023-05-23T19:20:39.047.009.000
   TM values from -2046 to 2039 median:-4.00000
--
Data structure of separate events (selected and re-ordered from the packet sequence):

 Event no. 1 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      111 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      112 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      113 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      114 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      0 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      1 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      2 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      3 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      4 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      5 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      6 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      7 in 204 packets (all packets)  --OK-- 
   Event no. 1 pages: 12  ordered packets: 2448
   TM values from -2046 to 2039 median: -4.00000
   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: 
      0.0000170 in 2441 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 17, 18, 19, 20, ...
      361.2440472 in 1 packets: 14
      68.2527164 in 1 packets: 15
      360.3211252 in 1 packets: 50
      69.1756384 in 1 packets: 51
      0.4265810 in 1 packets: 816
      359.8836216 in 1 packets: 817
      -- 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-23T19:19:00.005.551.000
   Event 1st sample abs. time : 2023-05-23T19:18:59.950.062.604)
   --- Rel. time correction for 1 points based on 434 XO calibration points at 1Hz counter from 0 to 359
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 69.174771400 corrected by 40bit 10MHz counter of 1.644969500 obtained at 1Hz counter of 0. Result: 67.530072020
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              67.530071845
   Event data descriptor XO time (reconstructed seconds from XP start)    :              67.530072020
   Sampling frequency correction factor for this event:     0.999996000

 Event no. 2 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      32 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      33 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      34 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      35 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      36 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      37 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      38 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      39 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      40 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      41 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      42 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      43 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 12  ordered packets: 2448
   TM values from -255 to 210 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=24 C1MHz=0.762161
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2447 packets (all packets)
      -- OK -- correct differences for all packets of this event
         LS 32 bits of C10MHz from descriptor (period 430s)  in the first packet of this event: 23.8203064
   Event type -- OK -- (constant for all packets of this event): Internal
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2023-05-23T19:19:24.762.161.000
   Event 1st sample abs. time : 2023-05-23T19:19:24.706.672.598)
   --- Rel. time correction for 1 points based on 434 XO calibration points at 1Hz counter from 0 to 359
   --- First point: 1Hz counter = 24, 32bit 10MHz counter = 23.820306400 corrected by 40bit 10MHz counter of 25.644869800 obtained at 1Hz counter of 24. Result: 22.175429119
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              22.175428944
   Event data descriptor XO time (reconstructed seconds from XP start)    :              22.175429119
   Sampling frequency correction factor for this event:     0.999995900

 Event no. 3 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      31 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      44 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      45 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      46 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      47 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      48 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      49 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      50 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      51 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      52 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      53 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      54 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 12  ordered packets: 2448
   TM values from -195 to 166 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=99 C1MHz=0.047009
   Differences of   LS 32 bits of C10MHz from descriptor (period 430s)  in neigboring packets of this event: 
      0.0000170 in 2447 packets (all packets)
      -- OK -- correct differences for all packets of this event
         LS 32 bits of C10MHz from descriptor (period 430s)  in the first packet of this event: 98.1048664
   Event type -- OK -- (constant for all packets of this event): Internal
   Gain -- OK -- (constant for all packets of this event): 1x
   Header abs. time  -- OK -- (constant for all packets of this event): 2023-05-23T19:20:39.047.009.000
   Event 1st sample abs. time : 2023-05-23T19:20:38.991.520.620)
   --- Rel. time correction for 1 points based on 434 XO calibration points at 1Hz counter from 0 to 359
   --- First point: 1Hz counter = 99, 32bit 10MHz counter = 98.104866400 corrected by 40bit 10MHz counter of 98.075196700 obtained at 1Hz counter of 99. Result: 99.029669810
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              99.029669635
   Event data descriptor XO time (reconstructed seconds from XP start)    :              99.029669810
   Sampling frequency correction factor for this event:     0.999996300
--
Extremes in separate events:

 - Event number: 1 from 2023-05-23T19:18:59.950.062.604 to 2023-05-23T19:18:59.991.678.770 (XO: 67.530071845 - 67.571688012)
   Min TM value:-2046 at an offset of 238.151 usec -> 2023-05-23T19:18:59.950.300.754 (XO: 67.530309996)
   Max TM value:2039 at an offset of 238.088 usec -> 2023-05-23T19:18:59.950.300.692 (XO: 67.530309934)
   Max dTM/dt [1/us]:1.45e+04 at an offset of 5897.636 usec -> 2023-05-23T19:18:59.955.960.240 (XO: 67.535969481)
   Min dTM/dt [1/us]:-1.29e+04 at an offset of 186.688 usec -> 2023-05-23T19:18:59.950.249.292 (XO: 67.530258534)
   Med: -4.00000   Ave: -4.2131518   Std: 21.051558

 - Event number: 2 from 2023-05-23T19:19:24.706.672.598 to 2023-05-23T19:19:24.748.288.768 (XO: 22.175428944 - 22.217045115)
   Min TM value:-255 at an offset of 15890.553 usec -> 2023-05-23T19:19:24.722.563.150 (XO: 22.191319497)
   Max TM value:210 at an offset of 22369.417 usec -> 2023-05-23T19:19:24.729.042.014 (XO: 22.197798361)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 22369.354 usec -> 2023-05-23T19:19:24.729.041.952 (XO: 22.197798298)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 12378.876 usec -> 2023-05-23T19:19:24.719.051.473 (XO: 22.187807820)
   Med: -4.00000   Ave: -4.4128142   Std: 22.040080

 - Event number: 3 from 2023-05-23T19:20:38.991.520.620 to 2023-05-23T19:20:39.033.136.773 (XO: 99.029669635 - 99.071285789)
   Min TM value:-195 at an offset of 23473.224 usec -> 2023-05-23T19:20:39.014.993.844 (XO: 99.053142859)
   Max TM value:166 at an offset of 23526.737 usec -> 2023-05-23T19:20:39.015.047.357 (XO: 99.053196372)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 23526.650 usec -> 2023-05-23T19:20:39.015.047.269 (XO: 99.053196284)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 23473.174 usec -> 2023-05-23T19:20:39.014.993.794 (XO: 99.053142809)
   Med: -4.00000   Ave: -4.4411212   Std: 18.811176
