Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.7009
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 2.09218e+009
Use analog input: pci/ai4,pci/ai5
Samplerate per channel: 500000
Buffersize in byte: 1000000
Rising Edge, Continuous Sampling
N_callback: 125
Callbacks per frame: 2
Callback registered
Configure tasks for online measurement..
Timing: start directly
Freq: 2000
Duty cycle: 0.5
Reset global variables: i0, i1, samplesThisRun
Start the Fragegrabber ..
Start the NI-DAQ Card..
Stop after time: 0
Stop after nr. of cells: 10000
Ran for 1050 frames Cell Events: 40 mean_circ: 0.933521
Ran for 1550 frames Cell Events: 57 mean_circ: 0.937656
Ran for 2050 frames Cell Events: 81 mean_circ: 0.940052
Ran for 2550 frames Cell Events: 103 mean_circ: 0.941218
Ran for 3050 frames Cell Events: 115 mean_circ: 0.943885
Ran for 4050 frames Cell Events: 138 mean_circ: 0.94446
Ran for 6050 frames Cell Events: 208 mean_circ: 0.944328
Ran for 6550 frames Cell Events: 221 mean_circ: 0.944716
Ran for 7550 frames Cell Events: 256 mean_circ: 0.945303
Ran for 8050 frames Cell Events: 281 mean_circ: 0.945873
Ran for 8550 frames Cell Events: 289 mean_circ: 0.946825
Ran for 9550 frames Cell Events: 327 mean_circ: 0.947521
Ran for 10050 frames Cell Events: 351 mean_circ: 0.946701
Ran for 10550 frames Cell Events: 375 mean_circ: 0.946456
Ran for 11050 frames Cell Events: 393 mean_circ: 0.946796
Ran for 13050 frames Cell Events: 475 mean_circ: 0.946764
Ran for 14550 frames Cell Events: 528 mean_circ: 0.947363
Ran for 15050 frames Cell Events: 548 mean_circ: 0.947319
Ran for 17050 frames Cell Events: 629 mean_circ: 0.947622
Ran for 17550 frames Cell Events: 644 mean_circ: 0.948052
Ran for 18550 frames Cell Events: 669 mean_circ: 0.947995
Ran for 19550 frames Cell Events: 705 mean_circ: 0.94791
Ran for 20050 frames Cell Events: 723 mean_circ: 0.947518
Ran for 20550 frames Cell Events: 742 mean_circ: 0.947359
Ran for 21050 frames Cell Events: 752 mean_circ: 0.947453
Ran for 22050 frames Cell Events: 783 mean_circ: 0.947514
Ran for 24050 frames Cell Events: 870 mean_circ: 0.947877
Ran for 24550 frames Cell Events: 887 mean_circ: 0.947712
Ran for 27050 frames Cell Events: 991 mean_circ: 0.947403
Ran for 28050 frames Cell Events: 1016 mean_circ: 0.947531
Ran for 30550 frames Cell Events: 1078 mean_circ: 0.948104
Ran for 32050 frames Cell Events: 1120 mean_circ: 0.948225
Ran for 32550 frames Cell Events: 1139 mean_circ: 0.948249
Ran for 33550 frames Cell Events: 1187 mean_circ: 0.948759
Ran for 34050 frames Cell Events: 1204 mean_circ: 0.948736
Ran for 35050 frames Cell Events: 1245 mean_circ: 0.948872
Ran for 35550 frames Cell Events: 1258 mean_circ: 0.948892
Ran for 36050 frames Cell Events: 1272 mean_circ: 0.948942
Ran for 36550 frames Cell Events: 1284 mean_circ: 0.948944
Ran for 37550 frames Cell Events: 1324 mean_circ: 0.949026
Ran for 38550 frames Cell Events: 1373 mean_circ: 0.948942
Ran for 39050 frames Cell Events: 1390 mean_circ: 0.948806
Ran for 39550 frames Cell Events: 1410 mean_circ: 0.948861
Ran for 40050 frames Cell Events: 1438 mean_circ: 0.948697
Ran for 40550 frames Cell Events: 1458 mean_circ: 0.948417
Ran for 41050 frames Cell Events: 1474 mean_circ: 0.948537
Ran for 41550 frames Cell Events: 1484 mean_circ: 0.948588
Ran for 42550 frames Cell Events: 1535 mean_circ: 0.948422
Ran for 43050 frames Cell Events: 1556 mean_circ: 0.948423
Ran for 44550 frames Cell Events: 1610 mean_circ: 0.94834
Ran for 45550 frames Cell Events: 1636 mean_circ: 0.948539
Ran for 46550 frames Cell Events: 1671 mean_circ: 0.94863
Ran for 47050 frames Cell Events: 1681 mean_circ: 0.948644
Ran for 47550 frames Cell Events: 1698 mean_circ: 0.948616
Ran for 48050 frames Cell Events: 1723 mean_circ: 0.948643
Ran for 49050 frames Cell Events: 1757 mean_circ: 0.948442
Ran for 50050 frames Cell Events: 1797 mean_circ: 0.948331
Ran for 50550 frames Cell Events: 1815 mean_circ: 0.947913
Ran for 52050 frames Cell Events: 1863 mean_circ: 0.94785
Ran for 52550 frames Cell Events: 1884 mean_circ: 0.94793
Ran for 53050 frames Cell Events: 1907 mean_circ: 0.947785
Ran for 54050 frames Cell Events: 1956 mean_circ: 0.947751
Ran for 54550 frames Cell Events: 1976 mean_circ: 0.947671
Ran for 56050 frames Cell Events: 2043 mean_circ: 0.947741
Ran for 57050 frames Cell Events: 2071 mean_circ: 0.947735
Ran for 58050 frames Cell Events: 2116 mean_circ: 0.94785
Ran for 59050 frames Cell Events: 2178 mean_circ: 0.94789
Ran for 59550 frames Cell Events: 2192 mean_circ: 0.948
Ran for 60050 frames Cell Events: 2215 mean_circ: 0.948111
Ran for 60550 frames Cell Events: 2232 mean_circ: 0.948176
Ran for 62050 frames Cell Events: 2304 mean_circ: 0.948113
Ran for 63050 frames Cell Events: 2349 mean_circ: 0.948258
Ran for 63550 frames Cell Events: 2363 mean_circ: 0.948189
Ran for 64050 frames Cell Events: 2381 mean_circ: 0.948152
Ran for 65050 frames Cell Events: 2406 mean_circ: 0.948077
Ran for 66050 frames Cell Events: 2440 mean_circ: 0.948018
Ran for 66550 frames Cell Events: 2457 mean_circ: 0.948038
Ran for 67050 frames Cell Events: 2473 mean_circ: 0.948136
Ran for 67550 frames Cell Events: 2495 mean_circ: 0.948089
Ran for 68050 frames Cell Events: 2511 mean_circ: 0.947985
Ran for 71050 frames Cell Events: 2643 mean_circ: 0.948102
Ran for 72050 frames Cell Events: 2686 mean_circ: 0.948144
Ran for 72550 frames Cell Events: 2703 mean_circ: 0.948187
Ran for 73550 frames Cell Events: 2745 mean_circ: 0.948133
Ran for 74050 frames Cell Events: 2763 mean_circ: 0.948172
Ran for 74550 frames Cell Events: 2782 mean_circ: 0.948288
Ran for 76550 frames Cell Events: 2850 mean_circ: 0.948287
Ran for 77550 frames Cell Events: 2906 mean_circ: 0.948101
Ran for 78050 frames Cell Events: 2920 mean_circ: 0.948118
Ran for 79550 frames Cell Events: 2983 mean_circ: 0.948067
Ran for 80050 frames Cell Events: 2993 mean_circ: 0.94812
Ran for 81050 frames Cell Events: 3022 mean_circ: 0.948017
Ran for 82550 frames Cell Events: 3071 mean_circ: 0.948106
Ran for 83050 frames Cell Events: 3093 mean_circ: 0.948148
Ran for 83550 frames Cell Events: 3111 mean_circ: 0.948082
Ran for 84050 frames Cell Events: 3132 mean_circ: 0.948019
Ran for 85050 frames Cell Events: 3165 mean_circ: 0.948022
Ran for 86550 frames Cell Events: 3221 mean_circ: 0.948086
Ran for 87050 frames Cell Events: 3238 mean_circ: 0.948137
Ran for 88050 frames Cell Events: 3268 mean_circ: 0.947944
Ran for 89550 frames Cell Events: 3318 mean_circ: 0.947918
Ran for 91050 frames Cell Events: 3378 mean_circ: 0.947891
Ran for 92050 frames Cell Events: 3410 mean_circ: 0.948015
Ran for 92550 frames Cell Events: 3431 mean_circ: 0.948008
Ran for 93550 frames Cell Events: 3473 mean_circ: 0.947979
Ran for 94050 frames Cell Events: 3482 mean_circ: 0.947986
Ran for 95550 frames Cell Events: 3534 mean_circ: 0.947991
Ran for 96050 frames Cell Events: 3547 mean_circ: 0.947985
Ran for 97050 frames Cell Events: 3576 mean_circ: 0.948037
Ran for 97550 frames Cell Events: 3586 mean_circ: 0.948034
Ran for 98050 frames Cell Events: 3592 mean_circ: 0.948057
Ran for 98550 frames Cell Events: 3605 mean_circ: 0.948085
Ran for 99050 frames Cell Events: 3622 mean_circ: 0.948071
Ran for 99550 frames Cell Events: 3641 mean_circ: 0.948033
Ran for 100050 frames Cell Events: 3663 mean_circ: 0.948045
Ran for 101550 frames Cell Events: 3727 mean_circ: 0.948087
Ran for 102050 frames Cell Events: 3746 mean_circ: 0.948118
Ran for 102550 frames Cell Events: 3765 mean_circ: 0.948076
Ran for 104050 frames Cell Events: 3826 mean_circ: 0.948123
Ran for 104550 frames Cell Events: 3842 mean_circ: 0.948084
Ran for 105550 frames Cell Events: 3867 mean_circ: 0.948066
Ran for 106050 frames Cell Events: 3885 mean_circ: 0.948022
Ran for 106550 frames Cell Events: 3895 mean_circ: 0.948025
Ran for 107050 frames Cell Events: 3917 mean_circ: 0.948032
Ran for 107550 frames Cell Events: 3935 mean_circ: 0.948095
Ran for 109050 frames Cell Events: 3982 mean_circ: 0.948086
Ran for 110550 frames Cell Events: 4038 mean_circ: 0.948201
Ran for 111550 frames Cell Events: 4084 mean_circ: 0.948207
Ran for 112050 frames Cell Events: 4103 mean_circ: 0.948094
Ran for 112550 frames Cell Events: 4126 mean_circ: 0.948076
Ran for 113050 frames Cell Events: 4141 mean_circ: 0.948085
Ran for 113550 frames Cell Events: 4162 mean_circ: 0.94807
Ran for 114550 frames Cell Events: 4189 mean_circ: 0.948075
Ran for 115550 frames Cell Events: 4223 mean_circ: 0.948038
Ran for 116550 frames Cell Events: 4259 mean_circ: 0.947962
Ran for 117050 frames Cell Events: 4274 mean_circ: 0.948008
Ran for 118550 frames Cell Events: 4336 mean_circ: 0.948037
Ran for 119050 frames Cell Events: 4353 mean_circ: 0.948027
Ran for 119550 frames Cell Events: 4368 mean_circ: 0.948015
Ran for 120550 frames Cell Events: 4411 mean_circ: 0.948044
Ran for 121050 frames Cell Events: 4437 mean_circ: 0.948038
Ran for 123050 frames Cell Events: 4517 mean_circ: 0.947911
Ran for 123550 frames Cell Events: 4531 mean_circ: 0.947918
Ran for 124050 frames Cell Events: 4544 mean_circ: 0.947892
Ran for 125050 frames Cell Events: 4577 mean_circ: 0.947904
Ran for 125550 frames Cell Events: 4599 mean_circ: 0.947915
Ran for 126050 frames Cell Events: 4622 mean_circ: 0.947923
Ran for 126550 frames Cell Events: 4641 mean_circ: 0.947895
Ran for 127050 frames Cell Events: 4659 mean_circ: 0.947822
Ran for 127550 frames Cell Events: 4679 mean_circ: 0.947842
Ran for 128050 frames Cell Events: 4696 mean_circ: 0.947868
Ran for 129550 frames Cell Events: 4750 mean_circ: 0.947827
Ran for 130050 frames Cell Events: 4775 mean_circ: 0.94789
Ran for 130550 frames Cell Events: 4790 mean_circ: 0.947876
Ran for 132050 frames Cell Events: 4841 mean_circ: 0.947813
Ran for 132550 frames Cell Events: 4851 mean_circ: 0.94781
Ran for 133050 frames Cell Events: 4871 mean_circ: 0.947812
Ran for 134050 frames Cell Events: 4902 mean_circ: 0.947822
Ran for 135050 frames Cell Events: 4929 mean_circ: 0.947823
Ran for 136050 frames Cell Events: 4969 mean_circ: 0.947759
Ran for 136550 frames Cell Events: 4996 mean_circ: 0.947759
Ran for 137550 frames Cell Events: 5037 mean_circ: 0.947816
Ran for 139050 frames Cell Events: 5100 mean_circ: 0.947775
Ran for 139550 frames Cell Events: 5118 mean_circ: 0.947773
Ran for 140050 frames Cell Events: 5138 mean_circ: 0.947762
Ran for 140550 frames Cell Events: 5156 mean_circ: 0.947754
Ran for 141050 frames Cell Events: 5177 mean_circ: 0.947732
Ran for 142550 frames Cell Events: 5242 mean_circ: 0.947792
Ran for 144050 frames Cell Events: 5307 mean_circ: 0.947803
Ran for 144550 frames Cell Events: 5326 mean_circ: 0.947799
Ran for 145050 frames Cell Events: 5348 mean_circ: 0.947753
Ran for 146550 frames Cell Events: 5425 mean_circ: 0.947729
Ran for 148050 frames Cell Events: 5504 mean_circ: 0.947702
Ran for 148550 frames Cell Events: 5527 mean_circ: 0.947641
Ran for 149050 frames Cell Events: 5540 mean_circ: 0.947623
Ran for 154050 frames Cell Events: 5756 mean_circ: 0.947589
Ran for 154550 frames Cell Events: 5773 mean_circ: 0.947597
Ran for 155050 frames Cell Events: 5794 mean_circ: 0.947587
Ran for 155550 frames Cell Events: 5818 mean_circ: 0.947605
Ran for 156050 frames Cell Events: 5834 mean_circ: 0.947578
Ran for 157050 frames Cell Events: 5873 mean_circ: 0.947553
Ran for 158050 frames Cell Events: 5932 mean_circ: 0.947626
Ran for 158550 frames Cell Events: 5948 mean_circ: 0.947575
Ran for 159050 frames Cell Events: 5960 mean_circ: 0.947558
Ran for 159550 frames Cell Events: 5983 mean_circ: 0.947558
Ran for 160550 frames Cell Events: 6029 mean_circ: 0.947569
Ran for 161050 frames Cell Events: 6040 mean_circ: 0.947516
Ran for 162550 frames Cell Events: 6113 mean_circ: 0.947407
Ran for 163050 frames Cell Events: 6126 mean_circ: 0.947457
Ran for 163550 frames Cell Events: 6142 mean_circ: 0.947427
Ran for 166550 frames Cell Events: 6260 mean_circ: 0.947437
Ran for 169050 frames Cell Events: 6371 mean_circ: 0.947402
Ran for 169550 frames Cell Events: 6381 mean_circ: 0.947434
Ran for 173050 frames Cell Events: 6531 mean_circ: 0.947433
Ran for 174550 frames Cell Events: 6602 mean_circ: 0.94751
Ran for 175050 frames Cell Events: 6622 mean_circ: 0.947557
Ran for 175550 frames Cell Events: 6642 mean_circ: 0.947557
Ran for 178050 frames Cell Events: 6744 mean_circ: 0.947605
Ran for 178550 frames Cell Events: 6765 mean_circ: 0.947582
Ran for 179550 frames Cell Events: 6805 mean_circ: 0.947621
Ran for 180050 frames Cell Events: 6832 mean_circ: 0.947601
Ran for 181050 frames Cell Events: 6875 mean_circ: 0.947547
Ran for 182550 frames Cell Events: 6948 mean_circ: 0.947521
Ran for 183050 frames Cell Events: 6967 mean_circ: 0.947532
Ran for 183550 frames Cell Events: 6992 mean_circ: 0.947562
Ran for 184050 frames Cell Events: 7008 mean_circ: 0.947601
Ran for 185050 frames Cell Events: 7052 mean_circ: 0.9476
Ran for 185550 frames Cell Events: 7075 mean_circ: 0.947617
Ran for 187050 frames Cell Events: 7150 mean_circ: 0.94764
Ran for 188550 frames Cell Events: 7218 mean_circ: 0.9476
Ran for 190050 frames Cell Events: 7292 mean_circ: 0.947577
Ran for 190550 frames Cell Events: 7312 mean_circ: 0.947562
Ran for 191550 frames Cell Events: 7367 mean_circ: 0.947548
Ran for 192050 frames Cell Events: 7400 mean_circ: 0.94759
Ran for 193050 frames Cell Events: 7447 mean_circ: 0.947587
Ran for 193550 frames Cell Events: 7469 mean_circ: 0.947556
Ran for 194050 frames Cell Events: 7488 mean_circ: 0.94758
Ran for 195550 frames Cell Events: 7560 mean_circ: 0.947468
Ran for 196050 frames Cell Events: 7588 mean_circ: 0.947477
Ran for 197050 frames Cell Events: 7628 mean_circ: 0.947456
Ran for 197550 frames Cell Events: 7642 mean_circ: 0.947469
Ran for 198550 frames Cell Events: 7689 mean_circ: 0.947438
Ran for 199050 frames Cell Events: 7711 mean_circ: 0.947445
Ran for 200050 frames Cell Events: 7750 mean_circ: 0.947387
Ran for 200550 frames Cell Events: 7772 mean_circ: 0.947397
Ran for 201550 frames Cell Events: 7814 mean_circ: 0.947433
Ran for 202050 frames Cell Events: 7831 mean_circ: 0.947433
Ran for 203050 frames Cell Events: 7869 mean_circ: 0.947457
Ran for 203550 frames Cell Events: 7886 mean_circ: 0.947461
Ran for 204050 frames Cell Events: 7910 mean_circ: 0.947433
Ran for 205050 frames Cell Events: 7963 mean_circ: 0.947447
Ran for 205550 frames Cell Events: 7991 mean_circ: 0.947453
Ran for 206050 frames Cell Events: 8012 mean_circ: 0.947483
Ran for 208050 frames Cell Events: 8095 mean_circ: 0.947464
Ran for 209550 frames Cell Events: 8193 mean_circ: 0.947433
Ran for 212550 frames Cell Events: 8324 mean_circ: 0.947466
Ran for 213550 frames Cell Events: 8371 mean_circ: 0.947503
Ran for 214050 frames Cell Events: 8398 mean_circ: 0.947471
Ran for 216050 frames Cell Events: 8470 mean_circ: 0.947523
Ran for 216550 frames Cell Events: 8483 mean_circ: 0.947536
Ran for 218050 frames Cell Events: 8546 mean_circ: 0.947529
Ran for 218550 frames Cell Events: 8562 mean_circ: 0.947528
Ran for 219550 frames Cell Events: 8603 mean_circ: 0.94749