-- ERROR --
-----------------> BLESK ver.2015-09-12
-- File 20180105_144806_1229.dat, 2451  packets found.
APID:
      1229 (EW) in 2451 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 2451 packets (all packets)
Packet no from 1 to 2448
   Differences of packet numbers in neigboring packets: 
      1 in 2449 packets - #/No: 1/931, 2/932, 4/1, 5/2, 6/3, 7/4, 8/5, 9/6, 10/7, 11/8, 12/9, 13/10, 14/11, 15/12, 16/13, 17/14, 18/15, 19/16, ...
      -932 in 1 packets - #/No: 3/933
Total number of packets: 
      2448 in 2451 packets (all packets)
Hz and MHz counters from 0.005550 to 0.005550
-each separately from 0s to 0s and from 5550us to 5550us.
   Differences in neigboring packets: 
      0.000000 in 2450 packets (all packets)
MIU packet time from 2018-01-05T14:48:08.104.550.000 to 2018-01-05T14:48:08.104.550.000
   Differences in neigboring packets: 
      0.000000 in 2450 packets (all packets)
MIU orbit number: 
      60000 in 2451 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 2451 packets (all packets)
MIU orbit information / number of events: 
      0 in 2451 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 2451 packets (all packets)
Instrument anomalies: 
      0 (OK) in 2451 packets (all packets)
FPGA configuration version: 
      211 in 2451 packets (all packets)
10 MHz counter at the last 1Hz pulse from 0.0000000 to 0.0000000
   Differences in neigboring packets: 
      0.0000000 in 2450 packets (all packets)
Temperature FPGA: 
      00 -> 55.0°C in 2451 packets (all packets)
Temperature XO: 
      00 -> -273.1°C in 2451 packets (all packets)
Temperature ant 3: 
      00 -> 115.9°C in 2451 packets (all packets)
Temperature ant 4: 
      00 -> 115.9°C in 2451 packets (all packets)
Number of external events: 
      1 in 2451 packets (all packets)
Number of generated alerts: 
      0 in 2451 packets (all packets)
Survey memory error: 
      0 in 2451 packets (all packets)
Event memory error: 
      0 in 2451 packets (all packets)
Configuration error: 
      1 in 2451 packets (all packets)
Zero: 
      0 in 2451 packets (all packets)
Radio gain: 
      0 in 2451 packets (all packets)
Radio bandwidth: 
      3 in 2451 packets (all packets)
Digital gain: 
      0 in 2451 packets (all packets)
Analog gain: 
      8 in 2451 packets (all packets)

EVENT DATA READER
-- File 20180105_144806_1229.dat, 12 EW pages found. Extra packets: 3.
--
Data structure of all event data packets in the sequence read from file:
   Event numbers from 1 to 1
      1 in 2448 packets (all packets)
   10 MHz counter from 0.0000000 to 6.4598194
      Difference between the neighboring packets: 
      0.0000170 in 2442 packets - #/No: 1/931, 2/932, 5/2, 6/3, 7/4, 8/5, 9/6, 10/7, 11/8, 12/9, 13/10, 14/11, 15/12, 16/13, 17/14, 18/15, 19/16, 20/17, ...
      6.0431410 in 1 packets - #/No: 3/933
      -6.0589680 in 1 packets - #/No: 4/1
      6.4162060 in 1 packets - #/No: 1635/1632
      -6.4589354 in 1 packets - #/No: 2396/2393
      6.4589694 in 1 packets - #/No: 2397/2394
   Memory page number from 0 to 114
      Difference between the neighboring packets: 
      0 in 2435 packets - #/No: 1/931, 2/932, 4/1, 5/2, 6/3, 7/4, 8/5, 9/6, 10/7, 11/8, 12/9, 13/10, 14/11, 15/12, 16/13, 17/14, 18/15, 19/16, ...
      65532 in 1 packets - #/No: 3/933
      1 in 10 packets - #/No: 207/204, 411/408, 615/612, 819/816, 1023/1020, 1227/1224, 1431/1428, 1839/1836, 2043/2040, 2247/2244
      104 in 1 packets - #/No: 1635/1632
   Event page number from 1 to 12
      Difference between the neighboring packets: 
      0 in 2435 packets - #/No: 1/931, 2/932, 4/1, 5/2, 6/3, 7/4, 8/5, 9/6, 10/7, 11/8, 12/9, 13/10, 14/11, 15/12, 16/13, 17/14, 18/15, 19/16, ...
      -4 in 1 packets - #/No: 3/933
      1 in 10 packets - #/No: 207/204, 411/408, 615/612, 819/816, 1023/1020, 1227/1224, 1431/1428, 1839/1836, 2043/2040, 2247/2244
      -11 in 1 packets - #/No: 1635/1632
   MIU event flag 
      1 in 2448 packets (all packets)
   Time triggered event flag 
      0 in 2448 packets (all packets)
   Min EW event (1st sample) abs. time: 2018-01-05T14:48:07.946.744.272
   Min EW header abs. time            : 2018-01-05T14:48:08.104.550.000
   Max EW event (1st sample) abs. time: 2018-01-05T14:48:07.946.744.272
   Max EW header abs. time            : 2018-01-05T14:48:08.104.550.000
   TM values from -1366 to 1450 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:  201 packets  -- NOT OK -- (should be 204 packets); 
    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:  207 packets  -- NOT OK -- (should be 204 packets);  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: 11  ordered packets: 2244
   TM values from -1366 to 1450 median:-4.00000
   1Hz and 1MHz counters -- OK -- (constant for all packets of this event):
          C1Hz=0 C1MHz=0.005550
   Differences of 10-MHz counter in neigboring packets of this event (#/No=packet/page): 
      0.0000170 in 2238 packets - #/No: 2/1, 3/1, 4/1, 5/1, 6/1, 7/1, 8/1, 9/1, 10/1, 11/1, 12/1, 13/1, 14/1, 15/1, 16/1, 17/1, 18/1, 19/1, ...
      -0.3953350 in 1 packets - #/No: 205/3
      -6.0589680 in 1 packets - #/No: 2/4
      0.0019550 in 1 packets - #/No: 205/7
      -0.0019720 in 1 packets - #/No: 4/8
      0.0000680 in 1 packets - #/No: 205/8
   10MHz counter -- NOT OK -- (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)
      Event 1st sample abs. time -- OK -- (constant for all packets of this event): 2018-01-05T14:48:07.946.744.272
      (header abs. time: 2018-01-05T14:48:08.104.550.000)
      Event 1st sample XO time (corr. sec. from XP start):              18.174330492
      Event header XO time (corr. sec. from XP start)    :              18.332136221
      Sampling frequency correction factor for this event:     0.351623800
--
Extremes in separate events:

 - Event number: 1 starting at 2018-01-05T14:48:07.946.744.272 (XO: 18.1743305)
   Min TM value:-1366 at an offset of 41.735 usec -> 2018-01-05T14:48:07.946.786.006 (XO: 18.1743722)
   Max TM value:1450 at an offset of 41.699 usec -> 2018-01-05T14:48:07.946.785.971 (XO: 18.1743722)
   Max dTM/dt [1/us]:2.83e+03 at an offset of 4515.657 usec -> 2018-01-05T14:48:07.951.259.929 (XO: 18.1788461)
   Min dTM/dt [1/us]:-2.84e+03 at an offset of 9507.036 usec -> 2018-01-05T14:48:07.956.251.307 (XO: 18.1838375)
