-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Sun May  7 00:05:20 2023 UTC
-- File 20230506_234627_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.005550 to 91.875512
-each separately from 0s to 91s and from 5550us to 875512us.
   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, ...
      91.869962 in 1 packets: 1632
      -10.698819 in 1 packets: 3264
      10.698819 in 1 packets: 5712
      -91.869962 in 1 packets: 6528
MIU packet time from 2023-05-06T23:46:30.005.550.000 to 2023-05-06T23:48:01.875.512.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, ...
      91.869962 in 1 packets: 1632
      -10.698819 in 1 packets: 3264
      10.698819 in 1 packets: 5712
      -91.869962 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 90.3453738
   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, ...
      90.3453738 in 1 packets: 1632
      -9.9999614 in 1 packets: 3264
      9.9999614 in 1 packets: 5712
      -90.3453738 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, ...
      08 -> 44.6 degC in 2448 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
      06 -> 47.2 degC in 2448 packets: 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, ...
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, ...
      C1 -> 37.2 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 20230506_234627_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: 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 0.0000000 to 348.6957856
      Difference between the neighboring packets: 
      81.2018464 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, ...
      91.1737370 in 1 packets: 1632
      -10.7265070 in 1 packets: 3264
      10.6849250 in 1 packets: 5712
      -172.0599444 in 1 packets: 6528
      80.8136770 in 1 packets: 6595
      -80.8136430 in 1 packets: 6596
      80.8084920 in 1 packets: 6900
      -80.8084580 in 1 packets: 6901
   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, ...
      60 in 1 packets: 1632
      21 in 1 packets: 6528
   Event page number from 1 to 12
      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 31 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3468, 3672, 3876, 4080, ...
      -11 in 2 packets: 1632, 6528
      -7 in 1 packets: 3264
      -3 in 1 packets: 5712
   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-06T23:46:29.845.052.546
   Min EW header abs. time found among all events            : 2023-05-06T23:46:30.005.550.000
   Max EW event (1st sample) abs. time found among all events: 2023-05-06T23:48:01.820.023.609
   Max EW header abs. time found among all events            : 2023-05-06T23:48:01.875.512.000
   TM values from -2045 to 2044 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 -2045 to 2044 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=0 C1MHz=0.005550
   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, 14, 15, 16, 17, 18, ...
      80.8136770 in 1 packets: 67
      348.6830866 in 1 packets: 68
      80.8084920 in 1 packets: 372
      348.6882716 in 1 packets: 373
      429.0979266 in 1 packets: 816
      81.2018464 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-06T23:46:30.005.550.000
   Event 1st sample abs. time : 2023-05-06T23:46:29.845.052.546)
   --- Rel. time correction for 1 points based on 119 XO calibration points at 1Hz counter from 0 to 118
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 348.681930600 corrected by 40bit 10MHz counter of 0.000000000 obtained at 1Hz counter of 0. Result: 1008.549339333
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):            1008.549338827
   Event data descriptor XO time (reconstructed seconds from XP start)    :            1008.549339333
   Sampling frequency correction factor for this event:     0.345726200

 Event no. 2 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      75 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      76 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      77 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      78 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      79 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      80 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      81 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      82 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      83 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      84 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      85 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      86 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 12  ordered packets: 2448
   TM values from -131 to 63 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=81 C1MHz=0.176693
   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: 80.5047664
   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-06T23:47:51.176.693.000
   Event 1st sample abs. time : 2023-05-06T23:47:51.121.204.615)
   --- Rel. time correction for 1 points based on 119 XO calibration points at 1Hz counter from 0 to 118
   --- First point: 1Hz counter = 81, 32bit 10MHz counter = 80.504766400 corrected by 40bit 10MHz counter of 80.345412400 obtained at 1Hz counter of 81. Result: 81.159354606
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              81.159354431
   Event data descriptor XO time (reconstructed seconds from XP start)    :              81.159354606
   Sampling frequency correction factor for this event:     0.999996200

 Event no. 3 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      67 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      68 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      69 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      70 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      71 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      72 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      73 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      74 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      87 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      88 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      89 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      90 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 12  ordered packets: 2448
   TM values from -167 to 180 median: -5.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=91 C1MHz=0.875512
   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: 91.2035464
   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-06T23:48:01.875.512.000
   Event 1st sample abs. time : 2023-05-06T23:48:01.820.023.609)
   --- Rel. time correction for 1 points based on 119 XO calibration points at 1Hz counter from 0 to 118
   --- First point: 1Hz counter = 91, 32bit 10MHz counter = 91.203546400 corrected by 40bit 10MHz counter of 90.345373800 obtained at 1Hz counter of 91. Result: 91.858175947
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              91.858175772
   Event data descriptor XO time (reconstructed seconds from XP start)    :              91.858175947
   Sampling frequency correction factor for this event:     0.999996100
--
Extremes in separate events:

 - Event number: 1 from 2023-05-06T23:46:29.845.052.546 to 2023-05-06T23:46:29.965.425.257 (XO: 1008.549338827 - 1008.669711538)
   Min TM value:-2045 at an offset of 1273.551 usec -> 2023-05-06T23:46:29.846.326.097 (XO: 1008.550612378)
   Max TM value:2044 at an offset of 5022.038 usec -> 2023-05-06T23:46:29.850.074.583 (XO: 1008.554360864)
   Max dTM/dt [1/us]:2.85e+03 at an offset of 37934.679 usec -> 2023-05-06T23:46:29.882.987.225 (XO: 1008.587273506)
   Min dTM/dt [1/us]:-2.85e+03 at an offset of 2853.414 usec -> 2023-05-06T23:46:29.847.905.960 (XO: 1008.552192241)
   Med: -4.00000   Ave: -4.1538879   Std: 23.372990

 - Event number: 2 from 2023-05-06T23:47:51.121.204.615 to 2023-05-06T23:47:51.162.820.773 (XO: 81.159354431 - 81.200970589)
   Min TM value:-131 at an offset of 8341.769 usec -> 2023-05-06T23:47:51.129.546.384 (XO: 81.167696200)
   Max TM value:63 at an offset of 34751.095 usec -> 2023-05-06T23:47:51.155.955.709 (XO: 81.194105525)
   Max dTM/dt [1/us]:1.03e+03 at an offset of 8329.294 usec -> 2023-05-06T23:47:51.129.533.909 (XO: 81.167683725)
   Min dTM/dt [1/us]:-1.01e+03 at an offset of 8341.732 usec -> 2023-05-06T23:47:51.129.546.346 (XO: 81.167696162)
   Med: -4.00000   Ave: -4.3868116   Std: 5.5026541

 - Event number: 3 from 2023-05-06T23:48:01.820.023.609 to 2023-05-06T23:48:01.861.639.771 (XO: 91.858175772 - 91.899791934)
   Min TM value:-167 at an offset of 15176.859 usec -> 2023-05-06T23:48:01.835.200.468 (XO: 91.873352631)
   Max TM value:180 at an offset of 15162.197 usec -> 2023-05-06T23:48:01.835.185.805 (XO: 91.873337969)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 15162.134 usec -> 2023-05-06T23:48:01.835.185.743 (XO: 91.873337906)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 35165.487 usec -> 2023-05-06T23:48:01.855.189.096 (XO: 91.893341259)
   Med: -5.00000   Ave: -4.3753325   Std: 8.9635336
