-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Mon May 29 02:00:40 2023 UTC
-- File 20230528_222935_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 46.834550
-each separately from 0s to 46s and from 5550us to 834550us.
   Differences in neigboring packets: 
      0.000000 in 7340 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      46.829000 in 1 packets: 1632
      -16.556294 in 1 packets: 4080
      -30.272706 in 1 packets: 6528
MIU packet time from 2023-05-28T22:29:38.005.550.000 to 2023-05-28T22:30:24.834.550.000
   Differences in neigboring packets: 
      0.000000 in 7340 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      46.829000 in 1 packets: 1632
      -16.556294 in 1 packets: 4080
      -30.272706 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 45.6560718
   Differences in neigboring packets: 
      0.0000000 in 7340 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      45.6560718 in 1 packets: 1632
      -15.9999380 in 1 packets: 4080
      -29.6561338 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, ...
      07 -> 45.9 degC in 2448 packets: 4081, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, ...
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 20230528_222935_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: 4081, 4082, 4083, 4084, 4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094, 4095, 4096, 4097, 4098, ...
   LS 32 bits of C10MHz from descriptor (period 430s)  from 0.0000000 to 46.5148814
      Difference between the neighboring packets: 
      -1.1065427 in 1 packets: 1
      0.0000170 in 7335 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      46.4434730 in 1 packets: 1632
      -16.5978310 in 1 packets: 4080
      -28.4650593 in 1 packets: 6528
      -1.4994551 in 1 packets: 6874
      1.4994891 in 1 packets: 6875
      -1.5034331 in 1 packets: 7108
      1.5034671 in 1 packets: 7109
   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 32 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 3876, ...
      8 in 1 packets: 1632
      58 in 1 packets: 4080
      16 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 32 packets: 204, 408, 612, 816, 1020, 1224, 1428, 1836, 2040, 2244, 2448, 2652, 2856, 3060, 3264, 3468, 3672, 3876, ...
      -11 in 3 packets: 1632, 4080, 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: 2023-05-28T22:29:37.931.391.505
   Min EW header abs. time found among all events            : 2023-05-28T22:29:38.005.550.000
   Max EW event (1st sample) abs. time found among all events: 2023-05-28T22:30:24.779.061.609
   Max EW header abs. time found among all events            : 2023-05-28T22:30:24.834.550.000
   TM values from -2041 to 2034 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 -2041 to 2034 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, ...
      427.9972745 in 1 packets: 346
      1.4994891 in 1 packets: 347
      427.9932965 in 1 packets: 580
      1.5034671 in 1 packets: 581
      429.0979266 in 1 packets: 816
      428.3901869 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-28T22:29:38.005.550.000
   Event 1st sample abs. time : 2023-05-28T22:29:37.931.391.505)
   --- Rel. time correction for 1 points based on 118 XO calibration points at 1Hz counter from 0 to 103
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 1.493590100 corrected by 40bit 10MHz counter of 0.000000000 obtained at 1Hz counter of 0. Result: 1.996144139
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):               1.996143905
   Event data descriptor XO time (reconstructed seconds from XP start)    :               1.996144139
   Sampling frequency correction factor for this event:     0.748237600

 Event no. 2 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      15 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      16 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      17 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      18 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      19 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      20 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      21 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      22 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      23 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      24 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      25 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      26 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 12  ordered packets: 2448
   TM values from -202 to 208 median: -5.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=46 C1MHz=0.834550
   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: 46.4732824
   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-28T22:30:24.834.550.000
   Event 1st sample abs. time : 2023-05-28T22:30:24.779.061.609)
   --- Rel. time correction for 1 points based on 118 XO calibration points at 1Hz counter from 0 to 103
   --- First point: 1Hz counter = 46, 32bit 10MHz counter = 46.473282400 corrected by 40bit 10MHz counter of 45.656071800 obtained at 1Hz counter of 46. Result: 46.817213787
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              46.817213612
   Event data descriptor XO time (reconstructed seconds from XP start)    :              46.817213787
   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):
      84 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      85 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      86 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      87 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      88 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      89 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      90 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      91 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      92 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      93 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      94 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      95 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 12  ordered packets: 2448
   TM values from -262 to 196 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=30 C1MHz=0.278256
   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: 29.9170504
   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-28T22:30:08.278.256.000
   Event 1st sample abs. time : 2023-05-28T22:30:08.222.767.609)
   --- Rel. time correction for 1 points based on 118 XO calibration points at 1Hz counter from 0 to 103
   --- First point: 1Hz counter = 30, 32bit 10MHz counter = 29.917050400 corrected by 40bit 10MHz counter of 29.656133800 obtained at 1Hz counter of 30. Result: 30.260917618
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              30.260917443
   Event data descriptor XO time (reconstructed seconds from XP start)    :              30.260917618
   Sampling frequency correction factor for this event:     0.999996100
--
Extremes in separate events:

 - Event number: 1 from 2023-05-28T22:29:37.931.391.505 to 2023-05-28T22:29:37.987.010.201 (XO: 1.996143905 - 2.051762602)
   Min TM value:-2041 at an offset of 4663.542 usec -> 2023-05-28T22:29:37.936.055.047 (XO: 2.000807447)
   Max TM value:2034 at an offset of 18437.576 usec -> 2023-05-28T22:29:37.949.829.080 (XO: 2.014581481)
   Max dTM/dt [1/us]:9.32e+03 at an offset of 11609.431 usec -> 2023-05-28T22:29:37.943.000.935 (XO: 2.007753336)
   Min dTM/dt [1/us]:-8.76e+03 at an offset of 11609.531 usec -> 2023-05-28T22:29:37.943.001.035 (XO: 2.007753436)
   Med: -4.00000   Ave: -4.1890274   Std: 30.561178

 - Event number: 2 from 2023-05-28T22:30:24.779.061.609 to 2023-05-28T22:30:24.820.677.771 (XO: 46.817213612 - 46.858829774)
   Min TM value:-202 at an offset of 20047.516 usec -> 2023-05-28T22:30:24.799.109.124 (XO: 46.837261128)
   Max TM value:208 at an offset of 30049.630 usec -> 2023-05-28T22:30:24.809.111.238 (XO: 46.847263242)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 46.850 usec -> 2023-05-28T22:30:24.779.108.459 (XO: 46.817260462)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 20018.566 usec -> 2023-05-28T22:30:24.799.080.174 (XO: 46.837232178)
   Med: -5.00000   Ave: -4.5070580   Std: 11.459997

 - Event number: 3 from 2023-05-28T22:30:08.222.767.609 to 2023-05-28T22:30:08.264.383.771 (XO: 30.260917443 - 30.302533605)
   Min TM value:-262 at an offset of 16459.839 usec -> 2023-05-28T22:30:08.239.227.448 (XO: 30.277377282)
   Max TM value:196 at an offset of 16337.001 usec -> 2023-05-28T22:30:08.239.104.610 (XO: 30.277254444)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 16711.515 usec -> 2023-05-28T22:30:08.239.479.124 (XO: 30.277628958)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 16621.627 usec -> 2023-05-28T22:30:08.239.389.236 (XO: 30.277539070)
   Med: -4.00000   Ave: -4.4282704   Std: 9.4700562
