Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 26.9443
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.16847e+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: 25 mean_circ: 0.958928
Ran for 1050 frames Cell Events: 47 mean_circ: 0.954306
Ran for 1550 frames Cell Events: 63 mean_circ: 0.952893
Ran for 3050 frames Cell Events: 137 mean_circ: 0.948304
Ran for 3550 frames Cell Events: 159 mean_circ: 0.946426
Ran for 5050 frames Cell Events: 228 mean_circ: 0.944156
Ran for 6550 frames Cell Events: 307 mean_circ: 0.945635
Ran for 7050 frames Cell Events: 325 mean_circ: 0.945167
Ran for 7550 frames Cell Events: 346 mean_circ: 0.945755
Ran for 8050 frames Cell Events: 372 mean_circ: 0.945262
Ran for 9050 frames Cell Events: 432 mean_circ: 0.944686
Ran for 9550 frames Cell Events: 447 mean_circ: 0.944509
Ran for 10050 frames Cell Events: 469 mean_circ: 0.944133
Ran for 12550 frames Cell Events: 592 mean_circ: 0.944018
Ran for 14550 frames Cell Events: 680 mean_circ: 0.9447
Ran for 15050 frames Cell Events: 703 mean_circ: 0.944839
Ran for 16550 frames Cell Events: 762 mean_circ: 0.945201
Ran for 17050 frames Cell Events: 784 mean_circ: 0.944679
Ran for 17550 frames Cell Events: 814 mean_circ: 0.944217
Ran for 18050 frames Cell Events: 833 mean_circ: 0.944355
Ran for 18550 frames Cell Events: 863 mean_circ: 0.943842
Ran for 19050 frames Cell Events: 885 mean_circ: 0.943812
Ran for 19550 frames Cell Events: 902 mean_circ: 0.943768
Ran for 20050 frames Cell Events: 935 mean_circ: 0.944027
Ran for 21050 frames Cell Events: 986 mean_circ: 0.943599
Ran for 21550 frames Cell Events: 1003 mean_circ: 0.943484
Ran for 22050 frames Cell Events: 1027 mean_circ: 0.943264
Ran for 23550 frames Cell Events: 1087 mean_circ: 0.943741
Ran for 24050 frames Cell Events: 1105 mean_circ: 0.943895
Ran for 24550 frames Cell Events: 1121 mean_circ: 0.943683
Ran for 25550 frames Cell Events: 1169 mean_circ: 0.943219
Ran for 26050 frames Cell Events: 1191 mean_circ: 0.943258
Ran for 26550 frames Cell Events: 1204 mean_circ: 0.94353
Ran for 27550 frames Cell Events: 1242 mean_circ: 0.943246
Ran for 28050 frames Cell Events: 1261 mean_circ: 0.943187
Ran for 29050 frames Cell Events: 1310 mean_circ: 0.943095
Ran for 29550 frames Cell Events: 1340 mean_circ: 0.942942
Ran for 31550 frames Cell Events: 1435 mean_circ: 0.943119
Ran for 33050 frames Cell Events: 1539 mean_circ: 0.942468
Ran for 35550 frames Cell Events: 1631 mean_circ: 0.942405
Ran for 36050 frames Cell Events: 1650 mean_circ: 0.942539
Ran for 36550 frames Cell Events: 1673 mean_circ: 0.942375
Ran for 37050 frames Cell Events: 1693 mean_circ: 0.942363
Ran for 38550 frames Cell Events: 1755 mean_circ: 0.942433
Ran for 39050 frames Cell Events: 1775 mean_circ: 0.942483
Ran for 39550 frames Cell Events: 1799 mean_circ: 0.942372
Ran for 40550 frames Cell Events: 1837 mean_circ: 0.941913
Ran for 41050 frames Cell Events: 1855 mean_circ: 0.941938
Ran for 42550 frames Cell Events: 1919 mean_circ: 0.941814
Ran for 43050 frames Cell Events: 1938 mean_circ: 0.941801
Ran for 44050 frames Cell Events: 1983 mean_circ: 0.941976
Ran for 44550 frames Cell Events: 2002 mean_circ: 0.941974
Ran for 45050 frames Cell Events: 2015 mean_circ: 0.941879
Ran for 45550 frames Cell Events: 2029 mean_circ: 0.941994
Ran for 46550 frames Cell Events: 2079 mean_circ: 0.942163
Ran for 47050 frames Cell Events: 2096 mean_circ: 0.942033
Ran for 47550 frames Cell Events: 2114 mean_circ: 0.942054
Ran for 48550 frames Cell Events: 2168 mean_circ: 0.942071
Ran for 50050 frames Cell Events: 2218 mean_circ: 0.942342
Ran for 51050 frames Cell Events: 2259 mean_circ: 0.942395
Ran for 52050 frames Cell Events: 2303 mean_circ: 0.94244
Ran for 53050 frames Cell Events: 2353 mean_circ: 0.94246
Ran for 53550 frames Cell Events: 2376 mean_circ: 0.942648
Ran for 55050 frames Cell Events: 2447 mean_circ: 0.942653
Ran for 56050 frames Cell Events: 2503 mean_circ: 0.942541
Ran for 56550 frames Cell Events: 2530 mean_circ: 0.942546
Ran for 57550 frames Cell Events: 2584 mean_circ: 0.942593
Ran for 59050 frames Cell Events: 2658 mean_circ: 0.942614
Ran for 59550 frames Cell Events: 2671 mean_circ: 0.942487
Ran for 60050 frames Cell Events: 2693 mean_circ: 0.942486
Ran for 60550 frames Cell Events: 2708 mean_circ: 0.942416
Ran for 61050 frames Cell Events: 2728 mean_circ: 0.942391
Ran for 61550 frames Cell Events: 2744 mean_circ: 0.942409
Ran for 62550 frames Cell Events: 2786 mean_circ: 0.942434
Ran for 65050 frames Cell Events: 2906 mean_circ: 0.942247
Ran for 65550 frames Cell Events: 2929 mean_circ: 0.942268
Ran for 66050 frames Cell Events: 2949 mean_circ: 0.942129
Ran for 66550 frames Cell Events: 2968 mean_circ: 0.942119
Ran for 67550 frames Cell Events: 2997 mean_circ: 0.942172
Ran for 68050 frames Cell Events: 3025 mean_circ: 0.942218
Ran for 68550 frames Cell Events: 3046 mean_circ: 0.942139
Ran for 69050 frames Cell Events: 3071 mean_circ: 0.942127
Ran for 69550 frames Cell Events: 3100 mean_circ: 0.942094
Ran for 70050 frames Cell Events: 3122 mean_circ: 0.94212
Ran for 70550 frames Cell Events: 3153 mean_circ: 0.942205
Ran for 71550 frames Cell Events: 3194 mean_circ: 0.942193
Ran for 72050 frames Cell Events: 3216 mean_circ: 0.942145
Ran for 73050 frames Cell Events: 3277 mean_circ: 0.942075
Ran for 73550 frames Cell Events: 3305 mean_circ: 0.941967
Ran for 74050 frames Cell Events: 3319 mean_circ: 0.942066
Ran for 75050 frames Cell Events: 3365 mean_circ: 0.942114
Ran for 76050 frames Cell Events: 3400 mean_circ: 0.942138
Ran for 76550 frames Cell Events: 3414 mean_circ: 0.942116
Ran for 77050 frames Cell Events: 3431 mean_circ: 0.94211
Ran for 78550 frames Cell Events: 3501 mean_circ: 0.942164
Ran for 80050 frames Cell Events: 3582 mean_circ: 0.942027
Ran for 80550 frames Cell Events: 3593 mean_circ: 0.9421
Ran for 81050 frames Cell Events: 3611 mean_circ: 0.942135
Ran for 83050 frames Cell Events: 3701 mean_circ: 0.941853
Ran for 84050 frames Cell Events: 3733 mean_circ: 0.941807
Ran for 84550 frames Cell Events: 3750 mean_circ: 0.941806
Ran for 85550 frames Cell Events: 3789 mean_circ: 0.941869
Ran for 87050 frames Cell Events: 3848 mean_circ: 0.941852
Ran for 88050 frames Cell Events: 3883 mean_circ: 0.941713
Ran for 88550 frames Cell Events: 3906 mean_circ: 0.941705
Ran for 89550 frames Cell Events: 3956 mean_circ: 0.941686
Ran for 90550 frames Cell Events: 4003 mean_circ: 0.941754
Ran for 92050 frames Cell Events: 4077 mean_circ: 0.94185
Ran for 92550 frames Cell Events: 4097 mean_circ: 0.941892
Ran for 93050 frames Cell Events: 4119 mean_circ: 0.941909
Ran for 93550 frames Cell Events: 4134 mean_circ: 0.941918
Ran for 94050 frames Cell Events: 4149 mean_circ: 0.941936
Ran for 95050 frames Cell Events: 4188 mean_circ: 0.941829
Ran for 95550 frames Cell Events: 4211 mean_circ: 0.941734
Ran for 96050 frames Cell Events: 4229 mean_circ: 0.941753
Ran for 96550 frames Cell Events: 4245 mean_circ: 0.941776
Ran for 98050 frames Cell Events: 4316 mean_circ: 0.94176
Ran for 99050 frames Cell Events: 4358 mean_circ: 0.941878
Ran for 100050 frames Cell Events: 4404 mean_circ: 0.941876
Ran for 100550 frames Cell Events: 4424 mean_circ: 0.941826
Ran for 101050 frames Cell Events: 4443 mean_circ: 0.941757
Ran for 101550 frames Cell Events: 4470 mean_circ: 0.94175
Ran for 102050 frames Cell Events: 4503 mean_circ: 0.941761
Ran for 102550 frames Cell Events: 4519 mean_circ: 0.941806
Ran for 103550 frames Cell Events: 4560 mean_circ: 0.941773
Ran for 106050 frames Cell Events: 4685 mean_circ: 0.941818
Ran for 106550 frames Cell Events: 4703 mean_circ: 0.941803
Ran for 107050 frames Cell Events: 4732 mean_circ: 0.941762
Ran for 107550 frames Cell Events: 4747 mean_circ: 0.941649
Ran for 108050 frames Cell Events: 4778 mean_circ: 0.941625
Ran for 109550 frames Cell Events: 4874 mean_circ: 0.941406
Ran for 110050 frames Cell Events: 4892 mean_circ: 0.941412
Ran for 111050 frames Cell Events: 4934 mean_circ: 0.941358
Ran for 111550 frames Cell Events: 4966 mean_circ: 0.941362
Ran for 112050 frames Cell Events: 4983 mean_circ: 0.941323
Ran for 113550 frames Cell Events: 5048 mean_circ: 0.941319
Ran for 114050 frames Cell Events: 5081 mean_circ: 0.941359
Ran for 114550 frames Cell Events: 5106 mean_circ: 0.9414
Ran for 115550 frames Cell Events: 5159 mean_circ: 0.941362
Ran for 116050 frames Cell Events: 5184 mean_circ: 0.941338
Ran for 117050 frames Cell Events: 5224 mean_circ: 0.941236
Ran for 118550 frames Cell Events: 5297 mean_circ: 0.941256
Ran for 119050 frames Cell Events: 5318 mean_circ: 0.941285
Ran for 120050 frames Cell Events: 5372 mean_circ: 0.941395
Ran for 121050 frames Cell Events: 5405 mean_circ: 0.94133
Ran for 121550 frames Cell Events: 5429 mean_circ: 0.941386
Ran for 122550 frames Cell Events: 5487 mean_circ: 0.941475
Ran for 123550 frames Cell Events: 5538 mean_circ: 0.941465
Ran for 124050 frames Cell Events: 5566 mean_circ: 0.941448
Ran for 125550 frames Cell Events: 5625 mean_circ: 0.941395
Ran for 127050 frames Cell Events: 5706 mean_circ: 0.941356
Ran for 127550 frames Cell Events: 5731 mean_circ: 0.941338
Ran for 128050 frames Cell Events: 5752 mean_circ: 0.941368
Ran for 128550 frames Cell Events: 5771 mean_circ: 0.941338
Ran for 129550 frames Cell Events: 5804 mean_circ: 0.941342
Ran for 130050 frames Cell Events: 5821 mean_circ: 0.941289
Ran for 131050 frames Cell Events: 5857 mean_circ: 0.941326
Ran for 132050 frames Cell Events: 5912 mean_circ: 0.941331
Ran for 133550 frames Cell Events: 5974 mean_circ: 0.941408
Ran for 134050 frames Cell Events: 5995 mean_circ: 0.941432
Ran for 134550 frames Cell Events: 6009 mean_circ: 0.941435
Ran for 135050 frames Cell Events: 6037 mean_circ: 0.941451
Ran for 135550 frames Cell Events: 6057 mean_circ: 0.941473
Ran for 137050 frames Cell Events: 6112 mean_circ: 0.941527
Ran for 138050 frames Cell Events: 6142 mean_circ: 0.941572
Ran for 138550 frames Cell Events: 6171 mean_circ: 0.941542
Ran for 140050 frames Cell Events: 6232 mean_circ: 0.94158
Ran for 143550 frames Cell Events: 6404 mean_circ: 0.941647
Ran for 144050 frames Cell Events: 6425 mean_circ: 0.941647
Ran for 144550 frames Cell Events: 6447 mean_circ: 0.941612
Ran for 145050 frames Cell Events: 6466 mean_circ: 0.941671
Ran for 146050 frames Cell Events: 6502 mean_circ: 0.941664
Ran for 146550 frames Cell Events: 6529 mean_circ: 0.941561
Ran for 147050 frames Cell Events: 6558 mean_circ: 0.941573
Ran for 147550 frames Cell Events: 6585 mean_circ: 0.941569
Ran for 148550 frames Cell Events: 6646 mean_circ: 0.941552
Ran for 149050 frames Cell Events: 6666 mean_circ: 0.941509
Ran for 150050 frames Cell Events: 6714 mean_circ: 0.941417
Ran for 151550 frames Cell Events: 6789 mean_circ: 0.941493
Ran for 152050 frames Cell Events: 6815 mean_circ: 0.941479
Ran for 153050 frames Cell Events: 6854 mean_circ: 0.941489
Ran for 153550 frames Cell Events: 6871 mean_circ: 0.941449
Ran for 154050 frames Cell Events: 6891 mean_circ: 0.94146
Ran for 154550 frames Cell Events: 6915 mean_circ: 0.941431
Ran for 155050 frames Cell Events: 6929 mean_circ: 0.941402
Ran for 156050 frames Cell Events: 6959 mean_circ: 0.94137
Ran for 156550 frames Cell Events: 6974 mean_circ: 0.941364
Ran for 157050 frames Cell Events: 6992 mean_circ: 0.941398
Ran for 157550 frames Cell Events: 7015 mean_circ: 0.941458
Ran for 159050 frames Cell Events: 7072 mean_circ: 0.941561
Ran for 159550 frames Cell Events: 7096 mean_circ: 0.941576
Ran for 160050 frames Cell Events: 7113 mean_circ: 0.941564
Ran for 160550 frames Cell Events: 7128 mean_circ: 0.941561
Ran for 161050 frames Cell Events: 7145 mean_circ: 0.94157
Ran for 161550 frames Cell Events: 7162 mean_circ: 0.941562
Ran for 162050 frames Cell Events: 7174 mean_circ: 0.941567
Ran for 162550 frames Cell Events: 7190 mean_circ: 0.941554
Ran for 163050 frames Cell Events: 7211 mean_circ: 0.941546
Ran for 163550 frames Cell Events: 7227 mean_circ: 0.941504
Ran for 164550 frames Cell Events: 7261 mean_circ: 0.941484
Ran for 165050 frames Cell Events: 7280 mean_circ: 0.941519
Ran for 166050 frames Cell Events: 7319 mean_circ: 0.941558
Ran for 166550 frames Cell Events: 7330 mean_circ: 0.941571
Ran for 167550 frames Cell Events: 7375 mean_circ: 0.94148
Ran for 168050 frames Cell Events: 7390 mean_circ: 0.941511
Ran for 169550 frames Cell Events: 7450 mean_circ: 0.941554
Ran for 170050 frames Cell Events: 7467 mean_circ: 0.941596
Ran for 170550 frames Cell Events: 7480 mean_circ: 0.941621
Ran for 171050 frames Cell Events: 7502 mean_circ: 0.941639
Ran for 171550 frames Cell Events: 7520 mean_circ: 0.941677
Ran for 172050 frames Cell Events: 7537 mean_circ: 0.941703
Ran for 172550 frames Cell Events: 7547 mean_circ: 0.941686
Ran for 173050 frames Cell Events: 7564 mean_circ: 0.941686
Ran for 174050 frames Cell Events: 7589 mean_circ: 0.941673
Ran for 174550 frames Cell Events: 7608 mean_circ: 0.941628
Ran for 175050 frames Cell Events: 7630 mean_circ: 0.94165
Ran for 176550 frames Cell Events: 7696 mean_circ: 0.941632
Ran for 177050 frames Cell Events: 7712 mean_circ: 0.94164
Ran for 177550 frames Cell Events: 7739 mean_circ: 0.941608
Ran for 179050 frames Cell Events: 7812 mean_circ: 0.941548
Ran for 180550 frames Cell Events: 7881 mean_circ: 0.941504
Ran for 181050 frames Cell Events: 7896 mean_circ: 0.941491
Ran for 181550 frames Cell Events: 7918 mean_circ: 0.941476
Ran for 182050 frames Cell Events: 7939 mean_circ: 0.941498
Ran for 182550 frames Cell Events: 7958 mean_circ: 0.941515
Ran for 183050 frames Cell Events: 7970 mean_circ: 0.941505
Ran for 183550 frames Cell Events: 7987 mean_circ: 0.941526
Ran for 184050 frames Cell Events: 8011 mean_circ: 0.941525
Ran for 184550 frames Cell Events: 8035 mean_circ: 0.941542
Ran for 185050 frames Cell Events: 8065 mean_circ: 0.941501
Ran for 185550 frames Cell Events: 8085 mean_circ: 0.941471
Ran for 186050 frames Cell Events: 8106 mean_circ: 0.941481
Ran for 187050 frames Cell Events: 8143 mean_circ: 0.941483
Ran for 187550 frames Cell Events: 8165 mean_circ: 0.941483
Ran for 188050 frames Cell Events: 8178 mean_circ: 0.941462
Ran for 188550 frames Cell Events: 8205 mean_circ: 0.941442
Ran for 189050 frames Cell Events: 8219 mean_circ: 0.941415
Ran for 190050 frames Cell Events: 8278 mean_circ: 0.941423
Ran for 191050 frames Cell Events: 8348 mean_circ: 0.941334
Ran for 191550 frames Cell Events: 8369 mean_circ: 0.941319
Ran for 192050 frames Cell Events: 8383 mean_circ: 0.941327
Ran for 192550 frames Cell Events: 8406 mean_circ: 0.941326
Ran for 193050 frames Cell Events: 8446 mean_circ: 0.9413