-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Tue Apr  6 15:27:19 2021 UTC
-- File 20210406_150813_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 110.219013
-each separately from 0s to 110s and from 5550us to 959673us.
   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, ...
      54.954123 in 1 packets: 1632
      55.259340 in 1 packets: 4080
      -110.213463 in 1 packets: 6528
MIU packet time from 2021-04-06T15:08:16.005.550.000 to 2021-04-06T15:10:06.219.013.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, ...
      54.954123 in 1 packets: 1632
      55.259340 in 1 packets: 4080
      -110.213463 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 109.1568525
   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, ...
      53.1570829 in 1 packets: 1632
      55.9997696 in 1 packets: 4080
      -109.1568525 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, ...
      09 -> 43.3 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, ...
      BE -> 32.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 20210406_150813_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: 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 109.4001254
      Difference between the neighboring packets: 
      -34.3522281 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, ...
      54.0696050 in 1 packets: 1632
      55.2175130 in 1 packets: 4080
      -75.4862339 in 1 packets: 6528
      -33.9227655 in 1 packets: 7051
      33.9227995 in 1 packets: 7052
      -33.9231565 in 1 packets: 7074
      33.9231905 in 1 packets: 7075
   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, ...
      34 in 1 packets: 1632
      20 in 1 packets: 4080
      28 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: 2021-04-06T15:08:15.937.434.674
   Min EW header abs. time found among all events            : 2021-04-06T15:08:16.005.550.000
   Max EW event (1st sample) abs. time found among all events: 2021-04-06T15:10:06.163.524.598
   Max EW header abs. time found among all events            : 2021-04-06T15:10:06.219.013.000
   TM values from -2048 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 -2048 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, ...
      395.5739641 in 1 packets: 523
      33.9227995 in 1 packets: 524
      395.5735731 in 1 packets: 546
      33.9231905 in 1 packets: 547
      0.4265810 in 1 packets: 816
      395.1445015 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): 2021-04-06T15:08:16.005.550.000
   Event 1st sample abs. time : 2021-04-06T15:08:15.937.434.674)
   --- Rel. time correction for 1 points based on 431 XO calibration points at 1Hz counter from 0 to 179
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 33.913891500 corrected by 40bit 10MHz counter of 0.000000000 obtained at 1Hz counter of 0. Result: 41.631496733
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              41.631496518
   Event data descriptor XO time (reconstructed seconds from XP start)    :              41.631496733
   Sampling frequency correction factor for this event:     0.814621000

 Event no. 2 total number of packets: 2448
    Page no. 1:  204 packets  -- OK;  memory page(s):
      72 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      73 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      74 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      75 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      76 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      77 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      78 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      79 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      80 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      81 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      82 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      83 in 204 packets (all packets)  --OK-- 
   Event no. 2 pages: 12  ordered packets: 2448
   TM values from -37 to 28 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=110 C1MHz=0.219013
   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: 109.3585264
   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): 2021-04-06T15:10:06.219.013.000
   Event 1st sample abs. time : 2021-04-06T15:10:06.163.524.598)
   --- Rel. time correction for 1 points based on 431 XO calibration points at 1Hz counter from 0 to 179
   --- First point: 1Hz counter = 110, 32bit 10MHz counter = 109.358526400 corrected by 40bit 10MHz counter of 109.827459700 obtained at 1Hz counter of 110. Result: 109.531064777
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):             109.531064602
   Event data descriptor XO time (reconstructed seconds from XP start)    :             109.531064777
   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):
      41 in 204 packets (all packets)  --OK-- 
    Page no. 2:  204 packets  -- OK;  memory page(s):
      42 in 204 packets (all packets)  --OK-- 
    Page no. 3:  204 packets  -- OK;  memory page(s):
      43 in 204 packets (all packets)  --OK-- 
    Page no. 4:  204 packets  -- OK;  memory page(s):
      44 in 204 packets (all packets)  --OK-- 
    Page no. 5:  204 packets  -- OK;  memory page(s):
      45 in 204 packets (all packets)  --OK-- 
    Page no. 6:  204 packets  -- OK;  memory page(s):
      46 in 204 packets (all packets)  --OK-- 
    Page no. 7:  204 packets  -- OK;  memory page(s):
      47 in 204 packets (all packets)  --OK-- 
    Page no. 8:  204 packets  -- OK;  memory page(s):
      48 in 204 packets (all packets)  --OK-- 
    Page no. 9:  204 packets  -- OK;  memory page(s):
      49 in 204 packets (all packets)  --OK-- 
    Page no. 10:  204 packets  -- OK;  memory page(s):
      50 in 204 packets (all packets)  --OK-- 
    Page no. 11:  204 packets  -- OK;  memory page(s):
      51 in 204 packets (all packets)  --OK-- 
    Page no. 12:  204 packets  -- OK;  memory page(s):
      52 in 204 packets (all packets)  --OK-- 
   Event no. 3 pages: 12  ordered packets: 2448
   TM values from -35 to 28 median: -4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=54 C1MHz=0.959673
   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: 54.0994144
   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): 2021-04-06T15:09:10.959.673.000
   Event 1st sample abs. time : 2021-04-06T15:09:10.904.184.598)
   --- Rel. time correction for 1 points based on 431 XO calibration points at 1Hz counter from 0 to 179
   --- First point: 1Hz counter = 54, 32bit 10MHz counter = 54.099414400 corrected by 40bit 10MHz counter of 53.827687100 obtained at 1Hz counter of 54. Result: 54.271728414
   XO time of the 1st EW sample = data descriptor XO time - 175 ns delay
   Event 1st sample XO time (reconstructed seconds from XP start):              54.271728239
   Event data descriptor XO time (reconstructed seconds from XP start)    :              54.271728414
   Sampling frequency correction factor for this event:     0.999995900
--
Extremes in separate events:

 - Event number: 1 from 2021-04-06T15:08:15.937.434.674 to 2021-04-06T15:08:15.988.521.007 (XO: 41.631496518 - 41.682582851)
   Min TM value:-2048 at an offset of 540.497 usec -> 2021-04-06T15:08:15.937.975.170 (XO: 41.632037015)
   Max TM value:2044 at an offset of 2131.359 usec -> 2021-04-06T15:08:15.939.566.033 (XO: 41.633627877)
   Max dTM/dt [1/us]:1.28e+04 at an offset of 3246.679 usec -> 2021-04-06T15:08:15.940.681.352 (XO: 41.634743197)
   Min dTM/dt [1/us]:-1.13e+04 at an offset of 1114.736 usec -> 2021-04-06T15:08:15.938.549.410 (XO: 41.632611254)
   Med: -4.00000   Ave: -4.3499441   Std: 19.085682

 - Event number: 2 from 2021-04-06T15:10:06.163.524.598 to 2021-04-06T15:10:06.205.140.768 (XO: 109.531064602 - 109.572680773)
   Min TM value:-37 at an offset of 1494.394 usec -> 2021-04-06T15:10:06.165.018.991 (XO: 109.532558996)
   Max TM value:28 at an offset of 26280.408 usec -> 2021-04-06T15:10:06.189.805.005 (XO: 109.557345010)
   Max dTM/dt [1/us]:2.26e+02 at an offset of 21701.626 usec -> 2021-04-06T15:10:06.185.226.224 (XO: 109.552766229)
   Min dTM/dt [1/us]:-2.31e+02 at an offset of 35035.519 usec -> 2021-04-06T15:10:06.198.560.116 (XO: 109.566100121)
   Med: -4.00000   Ave: -4.4457408   Std: 7.7146770

 - Event number: 3 from 2021-04-06T15:09:10.904.184.598 to 2021-04-06T15:09:10.945.800.768 (XO: 54.271728239 - 54.313344410)
   Min TM value:-35 at an offset of 16710.169 usec -> 2021-04-06T15:09:10.920.894.766 (XO: 54.288438408)
   Max TM value:28 at an offset of 18093.037 usec -> 2021-04-06T15:09:10.922.277.634 (XO: 54.289821276)
   Max dTM/dt [1/us]:2.03e+02 at an offset of 5328.684 usec -> 2021-04-06T15:09:10.909.513.282 (XO: 54.277056923)
   Min dTM/dt [1/us]:-2.05e+02 at an offset of 26882.173 usec -> 2021-04-06T15:09:10.931.066.770 (XO: 54.298610412)
   Med: -4.00000   Ave: -4.4234243   Std: 6.9668292
