Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.2839
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 6.41054e+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: 24 mean_circ: 0.922869
Ran for 1050 frames Cell Events: 49 mean_circ: 0.932292
Ran for 2050 frames Cell Events: 79 mean_circ: 0.932465
Ran for 2550 frames Cell Events: 98 mean_circ: 0.932775
Ran for 3050 frames Cell Events: 108 mean_circ: 0.932066
Ran for 3550 frames Cell Events: 124 mean_circ: 0.93076
Ran for 5050 frames Cell Events: 182 mean_circ: 0.934246
Ran for 6550 frames Cell Events: 245 mean_circ: 0.935506
Ran for 7550 frames Cell Events: 284 mean_circ: 0.934454
Ran for 8050 frames Cell Events: 301 mean_circ: 0.934454
Ran for 8550 frames Cell Events: 321 mean_circ: 0.932447
Ran for 9050 frames Cell Events: 341 mean_circ: 0.933041
Ran for 9550 frames Cell Events: 363 mean_circ: 0.933629
Ran for 10050 frames Cell Events: 383 mean_circ: 0.933359
Ran for 11050 frames Cell Events: 427 mean_circ: 0.933135
Ran for 11550 frames Cell Events: 442 mean_circ: 0.933338
Ran for 12050 frames Cell Events: 464 mean_circ: 0.932755
Ran for 12550 frames Cell Events: 478 mean_circ: 0.933018
Ran for 13050 frames Cell Events: 497 mean_circ: 0.932453
Ran for 13550 frames Cell Events: 517 mean_circ: 0.932561
Ran for 17050 frames Cell Events: 652 mean_circ: 0.932847
Ran for 17550 frames Cell Events: 667 mean_circ: 0.932814
Ran for 18550 frames Cell Events: 700 mean_circ: 0.93288
Ran for 19050 frames Cell Events: 716 mean_circ: 0.933165
Ran for 19550 frames Cell Events: 744 mean_circ: 0.933079
Ran for 20050 frames Cell Events: 765 mean_circ: 0.93328
Ran for 20550 frames Cell Events: 789 mean_circ: 0.933488
Ran for 21050 frames Cell Events: 813 mean_circ: 0.933769
Ran for 22050 frames Cell Events: 857 mean_circ: 0.933932
Ran for 22550 frames Cell Events: 877 mean_circ: 0.933697
Ran for 23050 frames Cell Events: 899 mean_circ: 0.933523
Ran for 23550 frames Cell Events: 915 mean_circ: 0.933812
Ran for 24050 frames Cell Events: 941 mean_circ: 0.933812
Ran for 25550 frames Cell Events: 1015 mean_circ: 0.933197
Ran for 26550 frames Cell Events: 1068 mean_circ: 0.933467
Ran for 27050 frames Cell Events: 1095 mean_circ: 0.933468
Ran for 29050 frames Cell Events: 1168 mean_circ: 0.933708
Ran for 30050 frames Cell Events: 1211 mean_circ: 0.933844
Ran for 31050 frames Cell Events: 1254 mean_circ: 0.933918
Ran for 32050 frames Cell Events: 1297 mean_circ: 0.933179
Ran for 32550 frames Cell Events: 1321 mean_circ: 0.932927
Ran for 34050 frames Cell Events: 1358 mean_circ: 0.932853
Ran for 34550 frames Cell Events: 1379 mean_circ: 0.932767
Ran for 35050 frames Cell Events: 1406 mean_circ: 0.932757
Ran for 35550 frames Cell Events: 1422 mean_circ: 0.932661
Ran for 36050 frames Cell Events: 1433 mean_circ: 0.932615
Ran for 36550 frames Cell Events: 1459 mean_circ: 0.932454
Ran for 40050 frames Cell Events: 1603 mean_circ: 0.93225
Ran for 42050 frames Cell Events: 1698 mean_circ: 0.932067
Ran for 42550 frames Cell Events: 1716 mean_circ: 0.932082
Ran for 43050 frames Cell Events: 1738 mean_circ: 0.932197
Ran for 43550 frames Cell Events: 1755 mean_circ: 0.932168
Ran for 44550 frames Cell Events: 1793 mean_circ: 0.932046
Ran for 45050 frames Cell Events: 1816 mean_circ: 0.932199
Ran for 45550 frames Cell Events: 1830 mean_circ: 0.93212
Ran for 46050 frames Cell Events: 1845 mean_circ: 0.932295
Ran for 46550 frames Cell Events: 1864 mean_circ: 0.932093
Ran for 47050 frames Cell Events: 1881 mean_circ: 0.931851
Ran for 47550 frames Cell Events: 1904 mean_circ: 0.931955
Ran for 48050 frames Cell Events: 1926 mean_circ: 0.931981
Ran for 48550 frames Cell Events: 1951 mean_circ: 0.932007
Ran for 49050 frames Cell Events: 1967 mean_circ: 0.932
Ran for 49550 frames Cell Events: 1984 mean_circ: 0.931863
Ran for 50050 frames Cell Events: 2006 mean_circ: 0.931837
Ran for 51050 frames Cell Events: 2040 mean_circ: 0.931792
Ran for 51550 frames Cell Events: 2058 mean_circ: 0.931781
Ran for 53050 frames Cell Events: 2117 mean_circ: 0.931558
Ran for 54550 frames Cell Events: 2172 mean_circ: 0.931678
Ran for 55050 frames Cell Events: 2184 mean_circ: 0.931696
Ran for 55550 frames Cell Events: 2201 mean_circ: 0.93184
Ran for 56050 frames Cell Events: 2224 mean_circ: 0.93183
Ran for 57550 frames Cell Events: 2286 mean_circ: 0.931677
Ran for 58550 frames Cell Events: 2332 mean_circ: 0.931597
Ran for 59050 frames Cell Events: 2353 mean_circ: 0.931645
Ran for 59550 frames Cell Events: 2382 mean_circ: 0.931569
Ran for 60050 frames Cell Events: 2399 mean_circ: 0.931419
Ran for 60550 frames Cell Events: 2421 mean_circ: 0.931294
Ran for 61050 frames Cell Events: 2443 mean_circ: 0.93137
Ran for 64050 frames Cell Events: 2568 mean_circ: 0.931318
Ran for 64550 frames Cell Events: 2589 mean_circ: 0.931326
Ran for 65050 frames Cell Events: 2605 mean_circ: 0.931409
Ran for 65550 frames Cell Events: 2624 mean_circ: 0.931346
Ran for 67050 frames Cell Events: 2686 mean_circ: 0.931452
Ran for 67550 frames Cell Events: 2702 mean_circ: 0.931424
Ran for 68550 frames Cell Events: 2736 mean_circ: 0.931165
Ran for 69050 frames Cell Events: 2749 mean_circ: 0.931229
Ran for 69550 frames Cell Events: 2772 mean_circ: 0.931348
Ran for 70550 frames Cell Events: 2815 mean_circ: 0.931108
Ran for 72550 frames Cell Events: 2901 mean_circ: 0.931146
Ran for 73050 frames Cell Events: 2915 mean_circ: 0.931177
Ran for 73550 frames Cell Events: 2929 mean_circ: 0.931185
Ran for 74550 frames Cell Events: 2980 mean_circ: 0.931405
Ran for 75050 frames Cell Events: 2991 mean_circ: 0.93139
Ran for 75550 frames Cell Events: 3006 mean_circ: 0.931302
Ran for 76550 frames Cell Events: 3048 mean_circ: 0.931361
Ran for 77050 frames Cell Events: 3067 mean_circ: 0.931297
Ran for 77550 frames Cell Events: 3079 mean_circ: 0.931324
Ran for 78050 frames Cell Events: 3100 mean_circ: 0.931348
Ran for 78550 frames Cell Events: 3123 mean_circ: 0.931292
Ran for 79050 frames Cell Events: 3147 mean_circ: 0.931339
Ran for 80050 frames Cell Events: 3194 mean_circ: 0.931413
Ran for 80550 frames Cell Events: 3217 mean_circ: 0.931495
Ran for 81050 frames Cell Events: 3242 mean_circ: 0.93145
Ran for 81550 frames Cell Events: 3262 mean_circ: 0.931547
Ran for 82050 frames Cell Events: 3289 mean_circ: 0.93159
Ran for 83050 frames Cell Events: 3324 mean_circ: 0.931599
Ran for 83550 frames Cell Events: 3338 mean_circ: 0.931591
Ran for 84050 frames Cell Events: 3363 mean_circ: 0.931585
Ran for 84550 frames Cell Events: 3386 mean_circ: 0.931435
Ran for 85050 frames Cell Events: 3405 mean_circ: 0.931484
Ran for 86550 frames Cell Events: 3468 mean_circ: 0.931453
Ran for 87050 frames Cell Events: 3488 mean_circ: 0.931467
Ran for 88550 frames Cell Events: 3545 mean_circ: 0.931543
Ran for 89050 frames Cell Events: 3564 mean_circ: 0.931484
Ran for 89550 frames Cell Events: 3583 mean_circ: 0.931511
Ran for 90050 frames Cell Events: 3599 mean_circ: 0.931509
Ran for 90550 frames Cell Events: 3621 mean_circ: 0.931658
Ran for 91550 frames Cell Events: 3662 mean_circ: 0.931557
Ran for 92550 frames Cell Events: 3700 mean_circ: 0.931676
Ran for 94550 frames Cell Events: 3808 mean_circ: 0.931646
Ran for 95050 frames Cell Events: 3837 mean_circ: 0.931749
Ran for 95550 frames Cell Events: 3878 mean_circ: 0.931735
Ran for 97550 frames Cell Events: 3929 mean_circ: 0.931693
Ran for 98550 frames Cell Events: 3975 mean_circ: 0.931755
Ran for 99050 frames Cell Events: 3996 mean_circ: 0.931779
Ran for 99550 frames Cell Events: 4020 mean_circ: 0.931697
Ran for 100550 frames Cell Events: 4062 mean_circ: 0.931685
Ran for 102550 frames Cell Events: 4140 mean_circ: 0.93159
Ran for 103050 frames Cell Events: 4164 mean_circ: 0.931649
Ran for 103550 frames Cell Events: 4187 mean_circ: 0.93171
Ran for 104050 frames Cell Events: 4208 mean_circ: 0.931737
Ran for 104550 frames Cell Events: 4233 mean_circ: 0.931762
Ran for 105050 frames Cell Events: 4248 mean_circ: 0.931832
Ran for 105550 frames Cell Events: 4270 mean_circ: 0.931841
Ran for 106050 frames Cell Events: 4291 mean_circ: 0.931874
Ran for 107550 frames Cell Events: 4344 mean_circ: 0.931863
Ran for 108050 frames Cell Events: 4364 mean_circ: 0.931847
Ran for 108550 frames Cell Events: 4377 mean_circ: 0.931833
Ran for 109050 frames Cell Events: 4397 mean_circ: 0.931821
Ran for 109550 frames Cell Events: 4423 mean_circ: 0.931899
Ran for 110050 frames Cell Events: 4436 mean_circ: 0.931903
Ran for 110550 frames Cell Events: 4453 mean_circ: 0.93194
Ran for 112050 frames Cell Events: 4509 mean_circ: 0.931963
Ran for 113050 frames Cell Events: 4546 mean_circ: 0.931919
Ran for 113550 frames Cell Events: 4566 mean_circ: 0.931965
Ran for 114050 frames Cell Events: 4576 mean_circ: 0.931944
Ran for 114550 frames Cell Events: 4594 mean_circ: 0.931977
Ran for 115050 frames Cell Events: 4616 mean_circ: 0.931962
Ran for 115550 frames Cell Events: 4633 mean_circ: 0.931937
Ran for 116050 frames Cell Events: 4653 mean_circ: 0.931864
Ran for 116550 frames Cell Events: 4683 mean_circ: 0.931898
Ran for 117050 frames Cell Events: 4696 mean_circ: 0.931893
Ran for 118550 frames Cell Events: 4734 mean_circ: 0.931878
Ran for 119050 frames Cell Events: 4754 mean_circ: 0.93187
Ran for 120050 frames Cell Events: 4799 mean_circ: 0.931897
Ran for 120550 frames Cell Events: 4809 mean_circ: 0.931952
Ran for 121050 frames Cell Events: 4825 mean_circ: 0.93201
Ran for 121550 frames Cell Events: 4850 mean_circ: 0.932025
Ran for 123050 frames Cell Events: 4918 mean_circ: 0.932176
Ran for 124550 frames Cell Events: 4976 mean_circ: 0.932123
Ran for 125050 frames Cell Events: 4993 mean_circ: 0.932124
Ran for 125550 frames Cell Events: 5022 mean_circ: 0.932167
Ran for 126050 frames Cell Events: 5053 mean_circ: 0.932203
Ran for 126550 frames Cell Events: 5081 mean_circ: 0.932094
Ran for 127050 frames Cell Events: 5102 mean_circ: 0.932114
Ran for 128050 frames Cell Events: 5149 mean_circ: 0.932049
Ran for 128550 frames Cell Events: 5173 mean_circ: 0.932009
Ran for 129050 frames Cell Events: 5190 mean_circ: 0.931998
Ran for 129550 frames Cell Events: 5213 mean_circ: 0.931971
Ran for 130050 frames Cell Events: 5231 mean_circ: 0.93195
Ran for 131550 frames Cell Events: 5297 mean_circ: 0.931869
Ran for 132050 frames Cell Events: 5323 mean_circ: 0.931858
Ran for 132550 frames Cell Events: 5345 mean_circ: 0.931804
Ran for 133050 frames Cell Events: 5363 mean_circ: 0.931804
Ran for 133550 frames Cell Events: 5387 mean_circ: 0.931811
Ran for 134050 frames Cell Events: 5416 mean_circ: 0.931825
Ran for 134550 frames Cell Events: 5432 mean_circ: 0.931834
Ran for 135050 frames Cell Events: 5456 mean_circ: 0.931828
Ran for 135550 frames Cell Events: 5477 mean_circ: 0.93183
Ran for 137050 frames Cell Events: 5550 mean_circ: 0.931816
Ran for 137550 frames Cell Events: 5567 mean_circ: 0.931713
Ran for 138050 frames Cell Events: 5593 mean_circ: 0.931664
Ran for 139050 frames Cell Events: 5652 mean_circ: 0.931649
Ran for 140550 frames Cell Events: 5714 mean_circ: 0.931698
Ran for 141050 frames Cell Events: 5732 mean_circ: 0.931708
Ran for 142050 frames Cell Events: 5768 mean_circ: 0.931698
Ran for 143550 frames Cell Events: 5839 mean_circ: 0.931691
Ran for 144050 frames Cell Events: 5866 mean_circ: 0.931665
Ran for 144550 frames Cell Events: 5879 mean_circ: 0.931708
Ran for 145050 frames Cell Events: 5900 mean_circ: 0.931698
Ran for 145550 frames Cell Events: 5910 mean_circ: 0.931655
Ran for 146550 frames Cell Events: 5960 mean_circ: 0.931579
Ran for 147050 frames Cell Events: 5981 mean_circ: 0.931616
Ran for 147550 frames Cell Events: 5995 mean_circ: 0.931604
Ran for 148050 frames Cell Events: 6011 mean_circ: 0.93159
Ran for 148550 frames Cell Events: 6031 mean_circ: 0.931584
Ran for 149050 frames Cell Events: 6056 mean_circ: 0.931522
Ran for 150050 frames Cell Events: 6102 mean_circ: 0.931468
Ran for 150550 frames Cell Events: 6124 mean_circ: 0.931457
Ran for 151550 frames Cell Events: 6179 mean_circ: 0.931579
Ran for 152550 frames Cell Events: 6215 mean_circ: 0.931645
Ran for 153550 frames Cell Events: 6256 mean_circ: 0.93166
Ran for 155550 frames Cell Events: 6348 mean_circ: 0.931517
Ran for 156050 frames Cell Events: 6377 mean_circ: 0.931486
Ran for 157550 frames Cell Events: 6427 mean_circ: 0.931506
Ran for 158550 frames Cell Events: 6469 mean_circ: 0.931436
Ran for 159550 frames Cell Events: 6506 mean_circ: 0.931484
Ran for 160050 frames Cell Events: 6528 mean_circ: 0.93153
Ran for 160550 frames Cell Events: 6552 mean_circ: 0.931515
Ran for 161050 frames Cell Events: 6584 mean_circ: 0.931487
Ran for 161550 frames Cell Events: 6607 mean_circ: 0.931451
Ran for 162050 frames Cell Events: 6626 mean_circ: 0.931453
Ran for 162550 frames Cell Events: 6646 mean_circ: 0.931462
Ran for 163050 frames Cell Events: 6659 mean_circ: 0.931418
Ran for 163550 frames Cell Events: 6677 mean_circ: 0.931435
Ran for 164050 frames Cell Events: 6698 mean_circ: 0.931428
Ran for 164550 frames Cell Events: 6713 mean_circ: 0.931454
Ran for 166050 frames Cell Events: 6789 mean_circ: 0.931503
Ran for 166550 frames Cell Events: 6809 mean_circ: 0.931474
Ran for 167050 frames Cell Events: 6825 mean_circ: 0.93152
Ran for 167550 frames Cell Events: 6849 mean_circ: 0.93156
Ran for 168050 frames Cell Events: 6868 mean_circ: 0.931543
Ran for 168550 frames Cell Events: 6882 mean_circ: 0.931552
Ran for 169050 frames Cell Events: 6904 mean_circ: 0.931555
Ran for 169550 frames Cell Events: 6916 mean_circ: 0.931528
Ran for 170050 frames Cell Events: 6931 mean_circ: 0.931543
Ran for 171550 frames Cell Events: 6985 mean_circ: 0.931418
Ran for 172050 frames Cell Events: 7006 mean_circ: 0.931458
Ran for 172550 frames Cell Events: 7032 mean_circ: 0.931445
Ran for 173050 frames Cell Events: 7052 mean_circ: 0.931468
Ran for 174550 frames Cell Events: 7110 mean_circ: 0.931541
Ran for 176050 frames Cell Events: 7184 mean_circ: 0.931593
Ran for 176550 frames Cell Events: 7209 mean_circ: 0.931594
Ran for 177050 frames Cell Events: 7234 mean_circ: 0.931623
Ran for 178550 frames Cell Events: 7292 mean_circ: 0.93168
Ran for 179050 frames Cell Events: 7310 mean_circ: 0.931696
Ran for 180550 frames Cell Events: 7374 mean_circ: 0.931732
Ran for 181550 frames Cell Events: 7413 mean_circ: 0.931735
Ran for 183050 frames Cell Events: 7473 mean_circ: 0.931735
Ran for 183550 frames Cell Events: 7494 mean_circ: 0.93166
Ran for 184050 frames Cell Events: 7511 mean_circ: 0.931665
Ran for 184550 frames Cell Events: 7530 mean_circ: 0.931674
Ran for 185050 frames Cell Events: 7553 mean_circ: 0.931655
Ran for 185550 frames Cell Events: 7572 mean_circ: 0.931652
Ran for 186050 frames Cell Events: 7593 mean_circ: 0.931585
Ran for 186550 frames Cell Events: 7609 mean_circ: 0.931569
Ran for 188050 frames Cell Events: 7670 mean_circ: 0.931534
Ran for 188550 frames Cell Events: 7699 mean_circ: 0.931557
Ran for 189050 frames Cell Events: 7718 mean_circ: 0.931582
Ran for 189550 frames Cell Events: 7736 mean_circ: 0.931574
Ran for 190050 frames Cell Events: 7755 mean_circ: 0.931561
Ran for 190550 frames Cell Events: 7770 mean_circ: 0.931594
Ran for 191050 frames Cell Events: 7796 mean_circ: 0.931571
Ran for 191550 frames Cell Events: 7816 mean_circ: 0.931565
Ran for 192050 frames Cell Events: 7835 mean_circ: 0.931587
Ran for 193050 frames Cell Events: 7873 mean_circ: 0.931547
Ran for 194050 frames Cell Events: 7907 mean_circ: 0.93156
Ran for 195550 frames Cell Events: 7983 mean_circ: 0.931519
Ran for 196050 frames Cell Events: 8001 mean_circ: 0.931458
Ran for 196550 frames Cell Events: 8024 mean_circ: 0.931445
Ran for 197050 frames Cell Events: 8038 mean_circ: 0.931435
Ran for 197550 frames Cell Events: 8060 mean_circ: 0.931409
Ran for 198050 frames Cell Events: 8090 mean_circ: 0.931402
Ran for 198550 frames Cell Events: 8104 mean_circ: 0.931416
Ran for 199050 frames Cell Events: 8122 mean_circ: 0.931379
Ran for 199550 frames Cell Events: 8142 mean_circ: 0.93138