Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.5935
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.39967e+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 50 frames Cell Events: 0 mean_circ: 0.935797
Ran for 1050 frames Cell Events: 38 mean_circ: 0.951935
Ran for 1550 frames Cell Events: 64 mean_circ: 0.955233
Ran for 2050 frames Cell Events: 82 mean_circ: 0.953706
Ran for 2550 frames Cell Events: 102 mean_circ: 0.952423
Ran for 3050 frames Cell Events: 121 mean_circ: 0.952521
Ran for 3550 frames Cell Events: 134 mean_circ: 0.953141
Ran for 4550 frames Cell Events: 180 mean_circ: 0.948341
Ran for 5050 frames Cell Events: 193 mean_circ: 0.949041
Ran for 5550 frames Cell Events: 213 mean_circ: 0.948626
Ran for 6050 frames Cell Events: 235 mean_circ: 0.948168
Ran for 6550 frames Cell Events: 258 mean_circ: 0.9487
Ran for 7050 frames Cell Events: 271 mean_circ: 0.949063
Ran for 8050 frames Cell Events: 318 mean_circ: 0.949556
Ran for 9050 frames Cell Events: 360 mean_circ: 0.950405
Ran for 9550 frames Cell Events: 375 mean_circ: 0.950544
Ran for 10050 frames Cell Events: 395 mean_circ: 0.951095
Ran for 10550 frames Cell Events: 411 mean_circ: 0.951468
Ran for 11050 frames Cell Events: 436 mean_circ: 0.951612
Ran for 12050 frames Cell Events: 471 mean_circ: 0.95183
Ran for 12550 frames Cell Events: 492 mean_circ: 0.951497
Ran for 13050 frames Cell Events: 503 mean_circ: 0.951312
Ran for 14050 frames Cell Events: 536 mean_circ: 0.950939
Ran for 16050 frames Cell Events: 627 mean_circ: 0.95168
Ran for 16550 frames Cell Events: 642 mean_circ: 0.951847
Ran for 17050 frames Cell Events: 662 mean_circ: 0.951655
Ran for 17550 frames Cell Events: 679 mean_circ: 0.951612
Ran for 18050 frames Cell Events: 695 mean_circ: 0.951856
Ran for 19550 frames Cell Events: 748 mean_circ: 0.951984
Ran for 20050 frames Cell Events: 771 mean_circ: 0.952243
Ran for 21050 frames Cell Events: 810 mean_circ: 0.952082
Ran for 22050 frames Cell Events: 849 mean_circ: 0.952164
Ran for 23550 frames Cell Events: 932 mean_circ: 0.952166
Ran for 24050 frames Cell Events: 949 mean_circ: 0.952261
Ran for 25050 frames Cell Events: 986 mean_circ: 0.952274
Ran for 26550 frames Cell Events: 1030 mean_circ: 0.952019
Ran for 27050 frames Cell Events: 1050 mean_circ: 0.952128
Ran for 27550 frames Cell Events: 1063 mean_circ: 0.95193
Ran for 28050 frames Cell Events: 1069 mean_circ: 0.951933
Ran for 29550 frames Cell Events: 1123 mean_circ: 0.951334
Ran for 30050 frames Cell Events: 1129 mean_circ: 0.951365
Ran for 31550 frames Cell Events: 1181 mean_circ: 0.951429
Ran for 32050 frames Cell Events: 1200 mean_circ: 0.951288
Ran for 32550 frames Cell Events: 1218 mean_circ: 0.951174
Ran for 33050 frames Cell Events: 1236 mean_circ: 0.950942
Ran for 33550 frames Cell Events: 1249 mean_circ: 0.951039
Ran for 34550 frames Cell Events: 1270 mean_circ: 0.951172
Ran for 35050 frames Cell Events: 1292 mean_circ: 0.951076
Ran for 35550 frames Cell Events: 1312 mean_circ: 0.951148
Ran for 36050 frames Cell Events: 1334 mean_circ: 0.950981
Ran for 36550 frames Cell Events: 1356 mean_circ: 0.950953
Ran for 37050 frames Cell Events: 1386 mean_circ: 0.950929
Ran for 37550 frames Cell Events: 1404 mean_circ: 0.950909
Ran for 38550 frames Cell Events: 1451 mean_circ: 0.950857
Ran for 39050 frames Cell Events: 1461 mean_circ: 0.950956
Ran for 40050 frames Cell Events: 1492 mean_circ: 0.950848
Ran for 41050 frames Cell Events: 1519 mean_circ: 0.951046
Ran for 41550 frames Cell Events: 1537 mean_circ: 0.951007
Ran for 42550 frames Cell Events: 1575 mean_circ: 0.95078
Ran for 43550 frames Cell Events: 1624 mean_circ: 0.950797
Ran for 44050 frames Cell Events: 1643 mean_circ: 0.950755
Ran for 45050 frames Cell Events: 1685 mean_circ: 0.950823
Ran for 47050 frames Cell Events: 1793 mean_circ: 0.950989
Ran for 47550 frames Cell Events: 1832 mean_circ: 0.951003
Ran for 48050 frames Cell Events: 1846 mean_circ: 0.95104
Ran for 48550 frames Cell Events: 1862 mean_circ: 0.951026
Ran for 49050 frames Cell Events: 1875 mean_circ: 0.950992
Ran for 49550 frames Cell Events: 1901 mean_circ: 0.951075
Ran for 50050 frames Cell Events: 1921 mean_circ: 0.951075
Ran for 50550 frames Cell Events: 1940 mean_circ: 0.951039
Ran for 51550 frames Cell Events: 1990 mean_circ: 0.95125
Ran for 52050 frames Cell Events: 2014 mean_circ: 0.951167
Ran for 52550 frames Cell Events: 2024 mean_circ: 0.951133
Ran for 53050 frames Cell Events: 2037 mean_circ: 0.951151
Ran for 53550 frames Cell Events: 2060 mean_circ: 0.951152
Ran for 54050 frames Cell Events: 2084 mean_circ: 0.951119
Ran for 54550 frames Cell Events: 2116 mean_circ: 0.951173
Ran for 55050 frames Cell Events: 2137 mean_circ: 0.951152
Ran for 55550 frames Cell Events: 2160 mean_circ: 0.95115
Ran for 56550 frames Cell Events: 2203 mean_circ: 0.950977
Ran for 57050 frames Cell Events: 2215 mean_circ: 0.950939
Ran for 57550 frames Cell Events: 2235 mean_circ: 0.950903
Ran for 59050 frames Cell Events: 2273 mean_circ: 0.950991
Ran for 59550 frames Cell Events: 2290 mean_circ: 0.951023
Ran for 60050 frames Cell Events: 2309 mean_circ: 0.951035
Ran for 60550 frames Cell Events: 2327 mean_circ: 0.950933
Ran for 61050 frames Cell Events: 2346 mean_circ: 0.950789
Ran for 61550 frames Cell Events: 2360 mean_circ: 0.950819
Ran for 63050 frames Cell Events: 2431 mean_circ: 0.950912
Ran for 63550 frames Cell Events: 2446 mean_circ: 0.950933
Ran for 64050 frames Cell Events: 2462 mean_circ: 0.95092
Ran for 66050 frames Cell Events: 2570 mean_circ: 0.950808
Ran for 66550 frames Cell Events: 2610 mean_circ: 0.950704
Ran for 67050 frames Cell Events: 2641 mean_circ: 0.95063
Ran for 68550 frames Cell Events: 2719 mean_circ: 0.950428
Ran for 69050 frames Cell Events: 2744 mean_circ: 0.950387
Ran for 69550 frames Cell Events: 2758 mean_circ: 0.950423
Ran for 70050 frames Cell Events: 2791 mean_circ: 0.950495
Ran for 70550 frames Cell Events: 2815 mean_circ: 0.950594
Ran for 71550 frames Cell Events: 2872 mean_circ: 0.950649
Ran for 72550 frames Cell Events: 2925 mean_circ: 0.950499
Ran for 73550 frames Cell Events: 2973 mean_circ: 0.950558
Ran for 75050 frames Cell Events: 3050 mean_circ: 0.95053
Ran for 75550 frames Cell Events: 3075 mean_circ: 0.950563
Ran for 76050 frames Cell Events: 3094 mean_circ: 0.950513
Ran for 77050 frames Cell Events: 3155 mean_circ: 0.950663
Ran for 77550 frames Cell Events: 3173 mean_circ: 0.950667
Ran for 78550 frames Cell Events: 3220 mean_circ: 0.950573
Ran for 79050 frames Cell Events: 3243 mean_circ: 0.95065
Ran for 79550 frames Cell Events: 3259 mean_circ: 0.950592
Ran for 80550 frames Cell Events: 3306 mean_circ: 0.95048
Ran for 82550 frames Cell Events: 3405 mean_circ: 0.95063
Ran for 83050 frames Cell Events: 3431 mean_circ: 0.950683
Ran for 85050 frames Cell Events: 3554 mean_circ: 0.950604
Ran for 86050 frames Cell Events: 3606 mean_circ: 0.95059
Ran for 87050 frames Cell Events: 3630 mean_circ: 0.950528
Ran for 88050 frames Cell Events: 3669 mean_circ: 0.950535
Ran for 88550 frames Cell Events: 3684 mean_circ: 0.950548
Ran for 89050 frames Cell Events: 3709 mean_circ: 0.950518
Ran for 90050 frames Cell Events: 3767 mean_circ: 0.950478
Ran for 90550 frames Cell Events: 3784 mean_circ: 0.950515
Ran for 91550 frames Cell Events: 3825 mean_circ: 0.950453
Ran for 92550 frames Cell Events: 3879 mean_circ: 0.950491
Ran for 93050 frames Cell Events: 3910 mean_circ: 0.950413
Ran for 94550 frames Cell Events: 3989 mean_circ: 0.950503
Ran for 96050 frames Cell Events: 4051 mean_circ: 0.950554
Ran for 97050 frames Cell Events: 4095 mean_circ: 0.950481
Ran for 97550 frames Cell Events: 4119 mean_circ: 0.950504
Ran for 98050 frames Cell Events: 4129 mean_circ: 0.950538
Ran for 99050 frames Cell Events: 4170 mean_circ: 0.950563
Ran for 99550 frames Cell Events: 4183 mean_circ: 0.950572
Ran for 101050 frames Cell Events: 4255 mean_circ: 0.950464
Ran for 101550 frames Cell Events: 4280 mean_circ: 0.950409
Ran for 103550 frames Cell Events: 4410 mean_circ: 0.950463
Ran for 104050 frames Cell Events: 4441 mean_circ: 0.950421
Ran for 104550 frames Cell Events: 4467 mean_circ: 0.9505
Ran for 105050 frames Cell Events: 4490 mean_circ: 0.950481
Ran for 106550 frames Cell Events: 4572 mean_circ: 0.950432
Ran for 107050 frames Cell Events: 4602 mean_circ: 0.950371
Ran for 107550 frames Cell Events: 4626 mean_circ: 0.950394
Ran for 108050 frames Cell Events: 4646 mean_circ: 0.950319
Ran for 108550 frames Cell Events: 4677 mean_circ: 0.950358
Ran for 110050 frames Cell Events: 4751 mean_circ: 0.950305
Ran for 111050 frames Cell Events: 4799 mean_circ: 0.950338
Ran for 112050 frames Cell Events: 4851 mean_circ: 0.950302
Ran for 112550 frames Cell Events: 4892 mean_circ: 0.950296
Ran for 114050 frames Cell Events: 4995 mean_circ: 0.950395
Ran for 115050 frames Cell Events: 5041 mean_circ: 0.950373
Ran for 116050 frames Cell Events: 5078 mean_circ: 0.950439
Ran for 117050 frames Cell Events: 5149 mean_circ: 0.950493
Ran for 118050 frames Cell Events: 5189 mean_circ: 0.950521
Ran for 118550 frames Cell Events: 5210 mean_circ: 0.950532
Ran for 120050 frames Cell Events: 5284 mean_circ: 0.950591
Ran for 120550 frames Cell Events: 5308 mean_circ: 0.950537
Ran for 122550 frames Cell Events: 5407 mean_circ: 0.950682
Ran for 123050 frames Cell Events: 5429 mean_circ: 0.950709
Ran for 124050 frames Cell Events: 5483 mean_circ: 0.950737
Ran for 124550 frames Cell Events: 5507 mean_circ: 0.950689
Ran for 125050 frames Cell Events: 5536 mean_circ: 0.950631
Ran for 125550 frames Cell Events: 5558 mean_circ: 0.950646
Ran for 127050 frames Cell Events: 5620 mean_circ: 0.950636
Ran for 128050 frames Cell Events: 5681 mean_circ: 0.950653
Ran for 129050 frames Cell Events: 5735 mean_circ: 0.950594
Ran for 130050 frames Cell Events: 5794 mean_circ: 0.950586
Ran for 130550 frames Cell Events: 5818 mean_circ: 0.950598
Ran for 131050 frames Cell Events: 5852 mean_circ: 0.950579
Ran for 131550 frames Cell Events: 5875 mean_circ: 0.950584
Ran for 132550 frames Cell Events: 5924 mean_circ: 0.950604
Ran for 133550 frames Cell Events: 5973 mean_circ: 0.950533
Ran for 135050 frames Cell Events: 6083 mean_circ: 0.950522
Ran for 135550 frames Cell Events: 6100 mean_circ: 0.950574
Ran for 136050 frames Cell Events: 6120 mean_circ: 0.950534
Ran for 136550 frames Cell Events: 6154 mean_circ: 0.950529
Ran for 137050 frames Cell Events: 6176 mean_circ: 0.950507
Ran for 137550 frames Cell Events: 6207 mean_circ: 0.95052
Ran for 138050 frames Cell Events: 6246 mean_circ: 0.950487
Ran for 138550 frames Cell Events: 6268 mean_circ: 0.950442
Ran for 139050 frames Cell Events: 6303 mean_circ: 0.950406
Ran for 141050 frames Cell Events: 6434 mean_circ: 0.950437
Ran for 141550 frames Cell Events: 6468 mean_circ: 0.950446
Ran for 142050 frames Cell Events: 6503 mean_circ: 0.950459
Ran for 142550 frames Cell Events: 6522 mean_circ: 0.950472
Ran for 143050 frames Cell Events: 6557 mean_circ: 0.95048
Ran for 144050 frames Cell Events: 6628 mean_circ: 0.950331
Ran for 144550 frames Cell Events: 6655 mean_circ: 0.950335
Ran for 145050 frames Cell Events: 6678 mean_circ: 0.950305
Ran for 145550 frames Cell Events: 6700 mean_circ: 0.950335
Ran for 146550 frames Cell Events: 6768 mean_circ: 0.950344
Ran for 147550 frames Cell Events: 6830 mean_circ: 0.95031
Ran for 148550 frames Cell Events: 6889 mean_circ: 0.950279
Ran for 149050 frames Cell Events: 6920 mean_circ: 0.950274
Ran for 149550 frames Cell Events: 6950 mean_circ: 0.950271
Ran for 150050 frames Cell Events: 6982 mean_circ: 0.950233
Ran for 150550 frames Cell Events: 7000 mean_circ: 0.950246
Ran for 152050 frames Cell Events: 7065 mean_circ: 0.950226
Ran for 153050 frames Cell Events: 7109 mean_circ: 0.950158
Ran for 153550 frames Cell Events: 7132 mean_circ: 0.95012
Ran for 154050 frames Cell Events: 7152 mean_circ: 0.950123
Ran for 154550 frames Cell Events: 7175 mean_circ: 0.950092
Ran for 155050 frames Cell Events: 7198 mean_circ: 0.950111
Ran for 155550 frames Cell Events: 7224 mean_circ: 0.950071
Ran for 156550 frames Cell Events: 7290 mean_circ: 0.950051
Ran for 157050 frames Cell Events: 7325 mean_circ: 0.950128
Ran for 157550 frames Cell Events: 7355 mean_circ: 0.950119
Ran for 158050 frames Cell Events: 7369 mean_circ: 0.950101
Ran for 159050 frames Cell Events: 7418 mean_circ: 0.95008
Ran for 160050 frames Cell Events: 7459 mean_circ: 0.950076
Ran for 160550 frames Cell Events: 7493 mean_circ: 0.950073
Ran for 161550 frames Cell Events: 7539 mean_circ: 0.950127
Ran for 162050 frames Cell Events: 7561 mean_circ: 0.95013
Ran for 163050 frames Cell Events: 7612 mean_circ: 0.950178
Ran for 163550 frames Cell Events: 7639 mean_circ: 0.950157
Ran for 164050 frames Cell Events: 7661 mean_circ: 0.950136
Ran for 164550 frames Cell Events: 7689 mean_circ: 0.95011
Ran for 165550 frames Cell Events: 7729 mean_circ: 0.950085
Ran for 166050 frames Cell Events: 7756 mean_circ: 0.95008
Ran for 168050 frames Cell Events: 7890 mean_circ: 0.949969
Ran for 168550 frames Cell Events: 7924 mean_circ: 0.949947
Ran for 169050 frames Cell Events: 7953 mean_circ: 0.949985
Ran for 170050 frames Cell Events: 8021 mean_circ: 0.949968
Ran for 171550 frames Cell Events: 8114 mean_circ: 0.949907
Ran for 172050 frames Cell Events: 8145 mean_circ: 0.949931
Ran for 173550 frames Cell Events: 8235 mean_circ: 0.949981
Ran for 175050 frames Cell Events: 8301 mean_circ: 0.949954
Ran for 175550 frames Cell Events: 8322 mean_circ: 0.949934
Ran for 176050 frames Cell Events: 8347 mean_circ: 0.949892
Ran for 176550 frames Cell Events: 8366 mean_circ: 0.949873
Ran for 177050 frames Cell Events: 8382 mean_circ: 0.949866
Ran for 177550 frames Cell Events: 8399 mean_circ: 0.949884
Ran for 178550 frames Cell Events: 8452 mean_circ: 0.949869
Ran for 179050 frames Cell Events: 8483 mean_circ: 0.949845
Ran for 179550 frames Cell Events: 8496 mean_circ: 0.949846
Ran for 180050 frames Cell Events: 8511 mean_circ: 0.949825
Ran for 181050 frames Cell Events: 8562 mean_circ: 0.949773
Ran for 181550 frames Cell Events: 8589 mean_circ: 0.949797
Ran for 182050 frames Cell Events: 8612 mean_circ: 0.949774
Ran for 182550 frames Cell Events: 8634 mean_circ: 0.949748
Ran for 185550 frames Cell Events: 8830 mean_circ: 0.949697
Ran for 186550 frames Cell Events: 8885 mean_circ: 0.949701
Ran for 187550 frames Cell Events: 8942 mean_circ: 0.949641
Ran for 188550 frames Cell Events: 9004 mean_circ: 0.949662
Ran for 189050 frames Cell Events: 9029 mean_circ: 0.949647
Ran for 190050 frames Cell Events: 9077 mean_circ: 0.949642
Ran for 191050 frames Cell Events: 9136 mean_circ: 0.949642
Ran for 191550 frames Cell Events: 9164 mean_circ: 0.949671
Ran for 192050 frames Cell Events: 9189 mean_circ: 0.94968