Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.7604
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 5.60979e+008
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 550 frames Cell Events: 26 mean_circ: 0.943523
Ran for 1050 frames Cell Events: 46 mean_circ: 0.944809
Ran for 1550 frames Cell Events: 66 mean_circ: 0.944416
Ran for 2050 frames Cell Events: 88 mean_circ: 0.94395
Ran for 5550 frames Cell Events: 224 mean_circ: 0.93884
Ran for 6550 frames Cell Events: 277 mean_circ: 0.939392
Ran for 7050 frames Cell Events: 305 mean_circ: 0.939052
Ran for 7550 frames Cell Events: 317 mean_circ: 0.93812
Ran for 9550 frames Cell Events: 404 mean_circ: 0.939519
Ran for 10050 frames Cell Events: 423 mean_circ: 0.938784
Ran for 10550 frames Cell Events: 446 mean_circ: 0.938382
Ran for 11050 frames Cell Events: 472 mean_circ: 0.938782
Ran for 11550 frames Cell Events: 494 mean_circ: 0.938029
Ran for 12050 frames Cell Events: 522 mean_circ: 0.938401
Ran for 12550 frames Cell Events: 533 mean_circ: 0.938314
Ran for 13050 frames Cell Events: 562 mean_circ: 0.938904
Ran for 14050 frames Cell Events: 604 mean_circ: 0.938903
Ran for 14550 frames Cell Events: 622 mean_circ: 0.937891
Ran for 15550 frames Cell Events: 669 mean_circ: 0.937974
Ran for 16050 frames Cell Events: 681 mean_circ: 0.938055
Ran for 17550 frames Cell Events: 761 mean_circ: 0.938213
Ran for 18050 frames Cell Events: 780 mean_circ: 0.938344
Ran for 19050 frames Cell Events: 823 mean_circ: 0.938165
Ran for 19550 frames Cell Events: 839 mean_circ: 0.938098
Ran for 20050 frames Cell Events: 862 mean_circ: 0.937988
Ran for 20550 frames Cell Events: 893 mean_circ: 0.937891
Ran for 21050 frames Cell Events: 915 mean_circ: 0.93801
Ran for 21550 frames Cell Events: 936 mean_circ: 0.938201
Ran for 22550 frames Cell Events: 966 mean_circ: 0.938616
Ran for 25050 frames Cell Events: 1065 mean_circ: 0.939409
Ran for 25550 frames Cell Events: 1078 mean_circ: 0.939275
Ran for 26550 frames Cell Events: 1133 mean_circ: 0.938753
Ran for 27050 frames Cell Events: 1150 mean_circ: 0.938875
Ran for 27550 frames Cell Events: 1170 mean_circ: 0.938916
Ran for 28050 frames Cell Events: 1189 mean_circ: 0.938732
Ran for 30050 frames Cell Events: 1288 mean_circ: 0.938648
Ran for 30550 frames Cell Events: 1306 mean_circ: 0.938622
Ran for 31050 frames Cell Events: 1327 mean_circ: 0.938593
Ran for 31550 frames Cell Events: 1352 mean_circ: 0.93872
Ran for 32550 frames Cell Events: 1390 mean_circ: 0.93872
Ran for 34050 frames Cell Events: 1459 mean_circ: 0.938584
Ran for 34550 frames Cell Events: 1486 mean_circ: 0.938548
Ran for 35050 frames Cell Events: 1500 mean_circ: 0.938677
Ran for 36050 frames Cell Events: 1547 mean_circ: 0.938549
Ran for 38050 frames Cell Events: 1664 mean_circ: 0.938088
Ran for 38550 frames Cell Events: 1681 mean_circ: 0.938132
Ran for 39050 frames Cell Events: 1707 mean_circ: 0.938196
Ran for 40050 frames Cell Events: 1763 mean_circ: 0.938225
Ran for 40550 frames Cell Events: 1782 mean_circ: 0.938231
Ran for 41050 frames Cell Events: 1805 mean_circ: 0.938302
Ran for 41550 frames Cell Events: 1828 mean_circ: 0.938341
Ran for 42050 frames Cell Events: 1850 mean_circ: 0.938369
Ran for 42550 frames Cell Events: 1873 mean_circ: 0.938419
Ran for 43050 frames Cell Events: 1891 mean_circ: 0.938395
Ran for 44050 frames Cell Events: 1933 mean_circ: 0.93821
Ran for 45050 frames Cell Events: 1981 mean_circ: 0.938307
Ran for 46050 frames Cell Events: 2028 mean_circ: 0.93844
Ran for 46550 frames Cell Events: 2052 mean_circ: 0.938337
Ran for 47050 frames Cell Events: 2080 mean_circ: 0.93827
Ran for 47550 frames Cell Events: 2104 mean_circ: 0.938354
Ran for 48050 frames Cell Events: 2129 mean_circ: 0.938355
Ran for 49050 frames Cell Events: 2173 mean_circ: 0.938651
Ran for 49550 frames Cell Events: 2187 mean_circ: 0.938697
Ran for 50050 frames Cell Events: 2208 mean_circ: 0.938674
Ran for 50550 frames Cell Events: 2234 mean_circ: 0.938722
Ran for 51050 frames Cell Events: 2251 mean_circ: 0.938552
Ran for 52550 frames Cell Events: 2331 mean_circ: 0.938747
Ran for 53050 frames Cell Events: 2352 mean_circ: 0.938634
Ran for 54550 frames Cell Events: 2414 mean_circ: 0.938732
Ran for 56050 frames Cell Events: 2471 mean_circ: 0.938879
Ran for 56550 frames Cell Events: 2497 mean_circ: 0.938945
Ran for 57050 frames Cell Events: 2518 mean_circ: 0.93894
Ran for 57550 frames Cell Events: 2546 mean_circ: 0.939031
Ran for 58050 frames Cell Events: 2569 mean_circ: 0.939088
Ran for 58550 frames Cell Events: 2583 mean_circ: 0.939085
Ran for 59550 frames Cell Events: 2630 mean_circ: 0.939108
Ran for 60550 frames Cell Events: 2685 mean_circ: 0.939083
Ran for 61050 frames Cell Events: 2705 mean_circ: 0.93913
Ran for 62050 frames Cell Events: 2740 mean_circ: 0.939131
Ran for 62550 frames Cell Events: 2762 mean_circ: 0.939178
Ran for 63550 frames Cell Events: 2822 mean_circ: 0.939194
Ran for 65050 frames Cell Events: 2898 mean_circ: 0.939217
Ran for 66050 frames Cell Events: 2939 mean_circ: 0.939367
Ran for 66550 frames Cell Events: 2960 mean_circ: 0.939422
Ran for 68050 frames Cell Events: 3037 mean_circ: 0.939512
Ran for 68550 frames Cell Events: 3058 mean_circ: 0.939531
Ran for 69050 frames Cell Events: 3081 mean_circ: 0.939565
Ran for 70550 frames Cell Events: 3155 mean_circ: 0.939565
Ran for 71050 frames Cell Events: 3176 mean_circ: 0.939311
Ran for 71550 frames Cell Events: 3190 mean_circ: 0.939324
Ran for 72050 frames Cell Events: 3212 mean_circ: 0.939324
Ran for 72550 frames Cell Events: 3230 mean_circ: 0.939357
Ran for 73050 frames Cell Events: 3257 mean_circ: 0.939371
Ran for 73550 frames Cell Events: 3274 mean_circ: 0.939423
Ran for 74550 frames Cell Events: 3304 mean_circ: 0.939454
Ran for 75550 frames Cell Events: 3356 mean_circ: 0.939444
Ran for 76550 frames Cell Events: 3416 mean_circ: 0.939241
Ran for 77050 frames Cell Events: 3449 mean_circ: 0.939241
Ran for 77550 frames Cell Events: 3477 mean_circ: 0.93936
Ran for 78050 frames Cell Events: 3502 mean_circ: 0.93948
Ran for 78550 frames Cell Events: 3525 mean_circ: 0.939434
Ran for 79050 frames Cell Events: 3540 mean_circ: 0.939454
Ran for 80550 frames Cell Events: 3602 mean_circ: 0.939557
Ran for 81550 frames Cell Events: 3636 mean_circ: 0.93955
Ran for 82050 frames Cell Events: 3653 mean_circ: 0.939531
Ran for 83050 frames Cell Events: 3700 mean_circ: 0.939428
Ran for 83550 frames Cell Events: 3722 mean_circ: 0.93941
Ran for 84050 frames Cell Events: 3733 mean_circ: 0.939449
Ran for 84550 frames Cell Events: 3750 mean_circ: 0.939477
Ran for 86550 frames Cell Events: 3847 mean_circ: 0.939408
Ran for 87050 frames Cell Events: 3862 mean_circ: 0.939362
Ran for 87550 frames Cell Events: 3882 mean_circ: 0.939353
Ran for 89050 frames Cell Events: 3941 mean_circ: 0.939401
Ran for 90050 frames Cell Events: 3974 mean_circ: 0.939263
Ran for 91050 frames Cell Events: 4007 mean_circ: 0.939335
Ran for 91550 frames Cell Events: 4020 mean_circ: 0.939338
Ran for 93050 frames Cell Events: 4075 mean_circ: 0.939317
Ran for 93550 frames Cell Events: 4093 mean_circ: 0.939314
Ran for 94550 frames Cell Events: 4122 mean_circ: 0.93928
Ran for 95050 frames Cell Events: 4142 mean_circ: 0.939278
Ran for 95550 frames Cell Events: 4161 mean_circ: 0.939295
Ran for 96050 frames Cell Events: 4171 mean_circ: 0.939286
Ran for 96550 frames Cell Events: 4193 mean_circ: 0.939314
Ran for 98050 frames Cell Events: 4259 mean_circ: 0.939378
Ran for 98550 frames Cell Events: 4289 mean_circ: 0.939386
Ran for 99050 frames Cell Events: 4307 mean_circ: 0.939311
Ran for 99550 frames Cell Events: 4325 mean_circ: 0.939309
Ran for 100550 frames Cell Events: 4362 mean_circ: 0.939236
Ran for 101550 frames Cell Events: 4404 mean_circ: 0.939276
Ran for 102550 frames Cell Events: 4450 mean_circ: 0.939388
Ran for 103050 frames Cell Events: 4473 mean_circ: 0.939385
Ran for 103550 frames Cell Events: 4495 mean_circ: 0.939422
Ran for 104050 frames Cell Events: 4513 mean_circ: 0.939458
Ran for 104550 frames Cell Events: 4537 mean_circ: 0.939462
Ran for 105050 frames Cell Events: 4557 mean_circ: 0.93948
Ran for 105550 frames Cell Events: 4574 mean_circ: 0.939525
Ran for 106050 frames Cell Events: 4602 mean_circ: 0.939565
Ran for 107050 frames Cell Events: 4658 mean_circ: 0.939568
Ran for 107550 frames Cell Events: 4694 mean_circ: 0.939558
Ran for 109050 frames Cell Events: 4741 mean_circ: 0.939549
Ran for 109550 frames Cell Events: 4758 mean_circ: 0.939573
Ran for 110550 frames Cell Events: 4801 mean_circ: 0.939612
Ran for 111050 frames Cell Events: 4827 mean_circ: 0.93966
Ran for 112550 frames Cell Events: 4890 mean_circ: 0.939598
Ran for 113050 frames Cell Events: 4912 mean_circ: 0.939644
Ran for 114050 frames Cell Events: 4952 mean_circ: 0.93972
Ran for 115050 frames Cell Events: 4995 mean_circ: 0.939792
Ran for 115550 frames Cell Events: 5014 mean_circ: 0.9398
Ran for 116050 frames Cell Events: 5033 mean_circ: 0.939755
Ran for 117050 frames Cell Events: 5089 mean_circ: 0.939848
Ran for 117550 frames Cell Events: 5112 mean_circ: 0.939795
Ran for 119050 frames Cell Events: 5184 mean_circ: 0.9398
Ran for 120050 frames Cell Events: 5223 mean_circ: 0.939829
Ran for 120550 frames Cell Events: 5240 mean_circ: 0.939804
Ran for 121050 frames Cell Events: 5272 mean_circ: 0.939792
Ran for 121550 frames Cell Events: 5289 mean_circ: 0.939843
Ran for 122050 frames Cell Events: 5299 mean_circ: 0.939865
Ran for 122550 frames Cell Events: 5326 mean_circ: 0.939839
Ran for 123050 frames Cell Events: 5350 mean_circ: 0.939852
Ran for 123550 frames Cell Events: 5368 mean_circ: 0.939853
Ran for 124050 frames Cell Events: 5389 mean_circ: 0.939855
Ran for 124550 frames Cell Events: 5407 mean_circ: 0.939823
Ran for 125550 frames Cell Events: 5467 mean_circ: 0.939717
Ran for 126050 frames Cell Events: 5489 mean_circ: 0.939734
Ran for 127050 frames Cell Events: 5526 mean_circ: 0.939706
Ran for 127550 frames Cell Events: 5557 mean_circ: 0.939745
Ran for 128050 frames Cell Events: 5582 mean_circ: 0.939796
Ran for 128550 frames Cell Events: 5600 mean_circ: 0.939779
Ran for 129050 frames Cell Events: 5624 mean_circ: 0.939758
Ran for 130050 frames Cell Events: 5670 mean_circ: 0.939778
Ran for 130550 frames Cell Events: 5688 mean_circ: 0.939734
Ran for 131050 frames Cell Events: 5708 mean_circ: 0.939704
Ran for 131550 frames Cell Events: 5734 mean_circ: 0.939691
Ran for 132050 frames Cell Events: 5751 mean_circ: 0.939683
Ran for 132550 frames Cell Events: 5769 mean_circ: 0.939727
Ran for 133050 frames Cell Events: 5780 mean_circ: 0.939744
Ran for 134050 frames Cell Events: 5813 mean_circ: 0.939743
Ran for 134550 frames Cell Events: 5832 mean_circ: 0.939735
Ran for 135050 frames Cell Events: 5859 mean_circ: 0.939755
Ran for 136050 frames Cell Events: 5890 mean_circ: 0.939795
Ran for 136550 frames Cell Events: 5911 mean_circ: 0.939813
Ran for 137050 frames Cell Events: 5933 mean_circ: 0.939774
Ran for 137550 frames Cell Events: 5953 mean_circ: 0.939761
Ran for 138550 frames Cell Events: 5994 mean_circ: 0.939741
Ran for 139050 frames Cell Events: 6007 mean_circ: 0.93975
Ran for 139550 frames Cell Events: 6032 mean_circ: 0.939784
Ran for 140050 frames Cell Events: 6052 mean_circ: 0.93979
Ran for 141050 frames Cell Events: 6092 mean_circ: 0.939806
Ran for 141550 frames Cell Events: 6111 mean_circ: 0.939763
Ran for 142550 frames Cell Events: 6152 mean_circ: 0.939755
Ran for 143050 frames Cell Events: 6177 mean_circ: 0.939753
Ran for 144050 frames Cell Events: 6204 mean_circ: 0.939735
Ran for 144550 frames Cell Events: 6216 mean_circ: 0.93974
Ran for 145050 frames Cell Events: 6239 mean_circ: 0.939724
Ran for 145550 frames Cell Events: 6278 mean_circ: 0.939714
Ran for 146550 frames Cell Events: 6328 mean_circ: 0.939659
Ran for 147050 frames Cell Events: 6352 mean_circ: 0.939677
Ran for 147550 frames Cell Events: 6374 mean_circ: 0.939653
Ran for 148050 frames Cell Events: 6400 mean_circ: 0.939623
Ran for 148550 frames Cell Events: 6422 mean_circ: 0.939653
Ran for 149050 frames Cell Events: 6448 mean_circ: 0.939563
Ran for 149550 frames Cell Events: 6465 mean_circ: 0.939575
Ran for 150050 frames Cell Events: 6488 mean_circ: 0.939594
Ran for 151050 frames Cell Events: 6547 mean_circ: 0.939652
Ran for 151550 frames Cell Events: 6560 mean_circ: 0.93963
Ran for 152050 frames Cell Events: 6583 mean_circ: 0.939604
Ran for 153050 frames Cell Events: 6622 mean_circ: 0.939572
Ran for 154550 frames Cell Events: 6689 mean_circ: 0.939454
Ran for 156050 frames Cell Events: 6761 mean_circ: 0.939295
Ran for 158050 frames Cell Events: 6862 mean_circ: 0.939331
Ran for 158550 frames Cell Events: 6875 mean_circ: 0.939281
Ran for 159550 frames Cell Events: 6931 mean_circ: 0.939236
Ran for 161050 frames Cell Events: 7028 mean_circ: 0.939139
Ran for 161550 frames Cell Events: 7056 mean_circ: 0.939138
Ran for 162050 frames Cell Events: 7076 mean_circ: 0.939136
Ran for 162550 frames Cell Events: 7096 mean_circ: 0.939169
Ran for 163050 frames Cell Events: 7117 mean_circ: 0.939155
Ran for 163550 frames Cell Events: 7145 mean_circ: 0.939125
Ran for 164050 frames Cell Events: 7176 mean_circ: 0.939201
Ran for 164550 frames Cell Events: 7194 mean_circ: 0.939218
Ran for 165550 frames Cell Events: 7251 mean_circ: 0.939217
Ran for 166050 frames Cell Events: 7266 mean_circ: 0.939226
Ran for 166550 frames Cell Events: 7285 mean_circ: 0.939236
Ran for 167050 frames Cell Events: 7306 mean_circ: 0.939197
Ran for 167550 frames Cell Events: 7327 mean_circ: 0.939178
Ran for 168050 frames Cell Events: 7359 mean_circ: 0.939166
Ran for 168550 frames Cell Events: 7384 mean_circ: 0.939147
Ran for 169050 frames Cell Events: 7404 mean_circ: 0.939086
Ran for 169550 frames Cell Events: 7428 mean_circ: 0.939102
Ran for 170050 frames Cell Events: 7444 mean_circ: 0.939105
Ran for 170550 frames Cell Events: 7466 mean_circ: 0.939104
Ran for 171050 frames Cell Events: 7487 mean_circ: 0.939093
Ran for 171550 frames Cell Events: 7506 mean_circ: 0.939067
Ran for 172050 frames Cell Events: 7532 mean_circ: 0.939106
Ran for 173050 frames Cell Events: 7575 mean_circ: 0.939137
Ran for 174550 frames Cell Events: 7627 mean_circ: 0.93913
Ran for 175050 frames Cell Events: 7645 mean_circ: 0.939152
Ran for 175550 frames Cell Events: 7676 mean_circ: 0.939183
Ran for 176050 frames Cell Events: 7697 mean_circ: 0.939097
Ran for 177050 frames Cell Events: 7728 mean_circ: 0.939016
Ran for 177550 frames Cell Events: 7742 mean_circ: 0.939035
Ran for 178550 frames Cell Events: 7782 mean_circ: 0.93906
Ran for 179050 frames Cell Events: 7802 mean_circ: 0.939082
Ran for 179550 frames Cell Events: 7822 mean_circ: 0.939098
Ran for 181550 frames Cell Events: 7942 mean_circ: 0.939062
Ran for 182050 frames Cell Events: 7966 mean_circ: 0.939065
Ran for 183050 frames Cell Events: 8017 mean_circ: 0.939071
Ran for 183550 frames Cell Events: 8038 mean_circ: 0.939083
Ran for 184050 frames Cell Events: 8058 mean_circ: 0.939041
Ran for 185550 frames Cell Events: 8119 mean_circ: 0.939031
Ran for 186050 frames Cell Events: 8136 mean_circ: 0.939049
Ran for 186550 frames Cell Events: 8157 mean_circ: 0.939035
Ran for 187050 frames Cell Events: 8180 mean_circ: 0.93904
Ran for 188550 frames Cell Events: 8257 mean_circ: 0.938988
Ran for 189050 frames Cell Events: 8275 mean_circ: 0.938984
Ran for 189550 frames Cell Events: 8298 mean_circ: 0.938988
Ran for 191050 frames Cell Events: 8349 mean_circ: 0.939