-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  8 00:35:00 2023 UTC
-- File 20220526_175747_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 336.580401
-each separately from 0s to 336s and from 5551us to 640943us.
   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, ...
      246.635392 in 1 packets: 1632
      89.939458 in 1 packets: 2448
      -89.939458 in 1 packets: 4896
      -246.635392 in 1 packets: 6528
MIU packet time from 2022-05-26T17:57:50.005.551.000 to 2022-05-26T18:03:26.580.401.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, ...
      246.635392 in 1 packets: 1632
      89.939458 in 1 packets: 2448
      -89.939458 in 1 packets: 4896
      -246.635392 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 335.5228999
   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, ...
      245.5232464 in 1 packets: 1632
      89.9996535 in 1 packets: 2448
      -89.9996535 in 1 packets: 4896
      -245.5232464 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, ...
      03 -> 51.1 degC in 4896 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
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, ...
      C3 -> 40.4 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 20220526_175747_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, ...
      2 in 2448 packets: 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, ...
      3 in 2448 packets: 2449, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2457, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 0.0000000 to 336.1275614
      Difference between the neighboring packets: 
      -62.0410910 in 1 packets: 1
      0.0000170 in 7332 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      -183.3519446 in 1 packets: 1632
      89.8975130 in 1 packets: 2448
      -89.9807110 in 1 packets: 4896
      -65.5732678 in 1 packets: 6528
      -180.6016156 in 1 packets: 6547
      180.6016496 in 1 packets: 6548
      -180.6027036 in 1 packets: 6611
      180.6027376 in 1 packets: 6612
      -180.6088236 in 1 packets: 6971
      180.6088576 in 1 packets: 6972
   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 31 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1632, 1836, 2040, 2244, 2652, 2856, 3060, 3264, 3468, 3672, 3876, ...
      54 in 1 packets: 2448
      3 in 1 packets: 4896
      13 in 2 packets: 5508, 5916
   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, 2652, 2856, 3060, 3264, 3468, 3672, 3876, 4080, ...
      -3 in 1 packets: 1632
      -11 in 2 packets: 2448, 4896
      -7 in 1 packets: 6528
   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: 2022-05-26T17:57:49.899.695.697
   Min EW header abs. time found among all events            : 2022-05-26T17:57:50.005.551.000
   Max EW event (1st sample) abs. time found among all events: 2022-05-26T18:03:26.524.912.615
   Max EW header abs. time found among all events            : 2022-05-26T18:03:26.580.401.000
   TM values from -2031 to 2042 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 -2031 to 2042 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 2439 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      248.8951140 in 1 packets: 19
      180.6016496 in 1 packets: 20
      248.8940260 in 1 packets: 83
      180.6027376 in 1 packets: 84
      248.8879060 in 1 packets: 443
      180.6088576 in 1 packets: 444
      310.9247554 in 1 packets: 816
      367.4556386 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): 2022-05-26T17:57:50.005.551.000
   Event 1st sample abs. time : 2022-05-26T17:57:49.899.695.697)
   --- Rel. time correction for 1 points based on 359 XO calibration points at 1Hz counter from 0 to 358
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 180.601309600 corrected by 40bit 10MHz counter of 0.000000000 obtained at 1Hz counter of 0. Result: 344.534784312
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             344.534783978
   Event data descriptor XO time (reconstructed seconds from XP start)    :             344.534784312
   Sampling frequency correction factor for this event:     0.524188900

 Event no. 2 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      79 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      80 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      81 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      94 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      95 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      108 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      109 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      110 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      8 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      9 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      10 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      11 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 12  ordered packets: 2448
   TM values from -382 to 345 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=246 C1MHz=0.640943
   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: 246.1468504
   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): 2022-05-26T18:01:56.640.943.000
   Event 1st sample abs. time : 2022-05-26T18:01:56.585.454.609)
   --- Rel. time correction for 1 points based on 359 XO calibration points at 1Hz counter from 0 to 358
   --- First point: 1Hz counter = 246, 32bit 10MHz counter = 246.146850400 corrected by 40bit 10MHz counter of 245.523246400 obtained at 1Hz counter of 246. Result: 246.623606432
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             246.623606257
   Event data descriptor XO time (reconstructed seconds from XP start)    :             246.623606432
   Sampling frequency correction factor for this event:     0.999996100

 Event no. 3 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      65 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      66 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      67 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      68 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      69 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      70 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      71 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      72 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      73 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      74 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      75 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      76 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 12  ordered packets: 2448
   TM values from -281 to 268 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=336 C1MHz=0.580401
   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: 336.0859624
   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): 2022-05-26T18:03:26.580.401.000
   Event 1st sample abs. time : 2022-05-26T18:03:26.524.912.615)
   --- Rel. time correction for 1 points based on 359 XO calibration points at 1Hz counter from 0 to 358
   --- First point: 1Hz counter = 336, 32bit 10MHz counter = 336.085962400 corrected by 40bit 10MHz counter of 335.522899900 obtained at 1Hz counter of 336. Result: 336.563064640
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             336.563064465
   Event data descriptor XO time (reconstructed seconds from XP start)    :             336.563064640
   Sampling frequency correction factor for this event:     0.999996200
--
Extremes in separate events:

 - Event number: 1 from 2022-05-26T17:57:49.899.695.697 to 2022-05-26T17:57:49.979.086.924 (XO: 344.534783978 - 344.614175205)
   Min TM value:-2031 at an offset of 15298.183 usec -> 2022-05-26T17:57:49.914.993.879 (XO: 344.550082160)
   Max TM value:2042 at an offset of 26318.160 usec -> 2022-05-26T17:57:49.926.013.857 (XO: 344.561102138)
   Max dTM/dt [1/us]:7.78e+03 at an offset of 20802.067 usec -> 2022-05-26T17:57:49.920.497.763 (XO: 344.555586044)
   Min dTM/dt [1/us]:-7.63e+03 at an offset of 4007.882 usec -> 2022-05-26T17:57:49.903.703.579 (XO: 344.538791860)
   Med: -4.00000   Ave: -4.1147365   Std: 66.695029

 - Event number: 2 from 2022-05-26T18:01:56.585.454.609 to 2022-05-26T18:01:56.627.070.771 (XO: 246.623606257 - 246.665222419)
   Min TM value:-382 at an offset of 15959.375 usec -> 2022-05-26T18:01:56.601.413.983 (XO: 246.639565632)
   Max TM value:345 at an offset of 5962.786 usec -> 2022-05-26T18:01:56.591.417.394 (XO: 246.629569043)
   Max dTM/dt [1/us]:2.80e+03 at an offset of 15974.175 usec -> 2022-05-26T18:01:56.601.428.783 (XO: 246.639580432)
   Min dTM/dt [1/us]:-3.00e+03 at an offset of 15959.262 usec -> 2022-05-26T18:01:56.601.413.871 (XO: 246.639565519)
   Med: -4.00000   Ave: -4.4207303   Std: 64.538657

 - Event number: 3 from 2022-05-26T18:03:26.524.912.615 to 2022-05-26T18:03:26.566.528.773 (XO: 336.563064465 - 336.604680623)
   Min TM value:-281 at an offset of 13311.526 usec -> 2022-05-26T18:03:26.538.224.140 (XO: 336.576375990)
   Max TM value:268 at an offset of 23325.601 usec -> 2022-05-26T18:03:26.548.238.216 (XO: 336.586390066)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 23325.489 usec -> 2022-05-26T18:03:26.548.238.103 (XO: 336.586389953)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 33304.577 usec -> 2022-05-26T18:03:26.558.217.191 (XO: 336.596369041)
   Med: -4.00000   Ave: -4.4148717   Std: 45.031243
