Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.2772
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.76164e+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 550 frames Cell Events: 19 mean_circ: 0.933679
Ran for 1050 frames Cell Events: 35 mean_circ: 0.936059
Ran for 1550 frames Cell Events: 46 mean_circ: 0.936179
Ran for 3050 frames Cell Events: 92 mean_circ: 0.937631
Ran for 3550 frames Cell Events: 105 mean_circ: 0.935653
Ran for 4050 frames Cell Events: 113 mean_circ: 0.937899
Ran for 4550 frames Cell Events: 128 mean_circ: 0.939271
Ran for 5050 frames Cell Events: 136 mean_circ: 0.940474
Ran for 6050 frames Cell Events: 172 mean_circ: 0.941937
Ran for 6550 frames Cell Events: 181 mean_circ: 0.941764
Ran for 7050 frames Cell Events: 199 mean_circ: 0.942064
Ran for 8050 frames Cell Events: 236 mean_circ: 0.94039
Ran for 8550 frames Cell Events: 258 mean_circ: 0.940268
Ran for 9050 frames Cell Events: 271 mean_circ: 0.940458
Ran for 10050 frames Cell Events: 303 mean_circ: 0.940533
Ran for 11050 frames Cell Events: 331 mean_circ: 0.940668
Ran for 13050 frames Cell Events: 394 mean_circ: 0.940764
Ran for 13550 frames Cell Events: 408 mean_circ: 0.940263
Ran for 14050 frames Cell Events: 422 mean_circ: 0.939677
Ran for 14550 frames Cell Events: 437 mean_circ: 0.939246
Ran for 15050 frames Cell Events: 455 mean_circ: 0.939249
Ran for 16050 frames Cell Events: 473 mean_circ: 0.939443
Ran for 16550 frames Cell Events: 487 mean_circ: 0.938987
Ran for 18050 frames Cell Events: 538 mean_circ: 0.938334
Ran for 19050 frames Cell Events: 575 mean_circ: 0.938306
Ran for 19550 frames Cell Events: 591 mean_circ: 0.938185
Ran for 20050 frames Cell Events: 600 mean_circ: 0.938365
Ran for 20550 frames Cell Events: 616 mean_circ: 0.938528
Ran for 21050 frames Cell Events: 634 mean_circ: 0.938645
Ran for 21550 frames Cell Events: 652 mean_circ: 0.938422
Ran for 23550 frames Cell Events: 715 mean_circ: 0.9381
Ran for 24050 frames Cell Events: 729 mean_circ: 0.937991
Ran for 24550 frames Cell Events: 746 mean_circ: 0.938041
Ran for 25050 frames Cell Events: 763 mean_circ: 0.937797
Ran for 25550 frames Cell Events: 777 mean_circ: 0.937464
Ran for 26050 frames Cell Events: 801 mean_circ: 0.937469
Ran for 26550 frames Cell Events: 818 mean_circ: 0.937419
Ran for 27050 frames Cell Events: 834 mean_circ: 0.937598
Ran for 28550 frames Cell Events: 888 mean_circ: 0.93657
Ran for 30050 frames Cell Events: 942 mean_circ: 0.937004
Ran for 30550 frames Cell Events: 957 mean_circ: 0.937183
Ran for 31050 frames Cell Events: 967 mean_circ: 0.937141
Ran for 31550 frames Cell Events: 985 mean_circ: 0.937073
Ran for 33550 frames Cell Events: 1072 mean_circ: 0.937484
Ran for 34050 frames Cell Events: 1087 mean_circ: 0.937093
Ran for 34550 frames Cell Events: 1105 mean_circ: 0.93725
Ran for 35050 frames Cell Events: 1123 mean_circ: 0.937488
Ran for 36550 frames Cell Events: 1181 mean_circ: 0.937417
Ran for 37050 frames Cell Events: 1192 mean_circ: 0.937455
Ran for 38050 frames Cell Events: 1217 mean_circ: 0.937331
Ran for 38550 frames Cell Events: 1227 mean_circ: 0.937261
Ran for 39050 frames Cell Events: 1247 mean_circ: 0.936972
Ran for 39550 frames Cell Events: 1262 mean_circ: 0.937054
Ran for 40550 frames Cell Events: 1298 mean_circ: 0.937273
Ran for 42050 frames Cell Events: 1352 mean_circ: 0.937577
Ran for 43050 frames Cell Events: 1388 mean_circ: 0.937382
Ran for 43550 frames Cell Events: 1408 mean_circ: 0.937335
Ran for 44550 frames Cell Events: 1444 mean_circ: 0.937552
Ran for 45550 frames Cell Events: 1476 mean_circ: 0.937546
Ran for 46050 frames Cell Events: 1487 mean_circ: 0.937499
Ran for 48050 frames Cell Events: 1547 mean_circ: 0.937669
Ran for 48550 frames Cell Events: 1564 mean_circ: 0.937763
Ran for 49550 frames Cell Events: 1596 mean_circ: 0.937949
Ran for 50050 frames Cell Events: 1612 mean_circ: 0.937936
Ran for 51050 frames Cell Events: 1655 mean_circ: 0.937772
Ran for 52050 frames Cell Events: 1696 mean_circ: 0.937756
Ran for 52550 frames Cell Events: 1709 mean_circ: 0.937704
Ran for 55050 frames Cell Events: 1791 mean_circ: 0.937656
Ran for 56050 frames Cell Events: 1830 mean_circ: 0.937595
Ran for 56550 frames Cell Events: 1845 mean_circ: 0.937762
Ran for 57550 frames Cell Events: 1877 mean_circ: 0.937679
Ran for 59050 frames Cell Events: 1924 mean_circ: 0.937907
Ran for 59550 frames Cell Events: 1941 mean_circ: 0.937927
Ran for 60550 frames Cell Events: 1980 mean_circ: 0.938143
Ran for 62550 frames Cell Events: 2070 mean_circ: 0.938077
Ran for 63050 frames Cell Events: 2091 mean_circ: 0.93806
Ran for 63550 frames Cell Events: 2107 mean_circ: 0.938108
Ran for 64050 frames Cell Events: 2114 mean_circ: 0.938084
Ran for 65050 frames Cell Events: 2145 mean_circ: 0.937825
Ran for 65550 frames Cell Events: 2168 mean_circ: 0.93785
Ran for 66050 frames Cell Events: 2176 mean_circ: 0.937753
Ran for 67050 frames Cell Events: 2215 mean_circ: 0.937627
Ran for 67550 frames Cell Events: 2229 mean_circ: 0.93764
Ran for 68550 frames Cell Events: 2266 mean_circ: 0.937705
Ran for 69550 frames Cell Events: 2290 mean_circ: 0.937641
Ran for 71550 frames Cell Events: 2369 mean_circ: 0.937956
Ran for 72550 frames Cell Events: 2414 mean_circ: 0.937868
Ran for 73050 frames Cell Events: 2434 mean_circ: 0.937935
Ran for 74050 frames Cell Events: 2473 mean_circ: 0.93793
Ran for 74550 frames Cell Events: 2479 mean_circ: 0.93791
Ran for 75050 frames Cell Events: 2503 mean_circ: 0.937883
Ran for 75550 frames Cell Events: 2513 mean_circ: 0.937896
Ran for 76550 frames Cell Events: 2561 mean_circ: 0.937833
Ran for 77050 frames Cell Events: 2582 mean_circ: 0.93792
Ran for 77550 frames Cell Events: 2599 mean_circ: 0.937954
Ran for 78550 frames Cell Events: 2630 mean_circ: 0.9378
Ran for 80050 frames Cell Events: 2674 mean_circ: 0.937751
Ran for 80550 frames Cell Events: 2693 mean_circ: 0.93775
Ran for 81050 frames Cell Events: 2710 mean_circ: 0.937769
Ran for 81550 frames Cell Events: 2724 mean_circ: 0.937713
Ran for 82050 frames Cell Events: 2740 mean_circ: 0.937562
Ran for 83550 frames Cell Events: 2804 mean_circ: 0.937631
Ran for 84550 frames Cell Events: 2835 mean_circ: 0.937684
Ran for 85050 frames Cell Events: 2852 mean_circ: 0.937781
Ran for 85550 frames Cell Events: 2879 mean_circ: 0.93786
Ran for 87550 frames Cell Events: 2938 mean_circ: 0.937858
Ran for 88050 frames Cell Events: 2952 mean_circ: 0.93766
Ran for 88550 frames Cell Events: 2972 mean_circ: 0.93762
Ran for 89050 frames Cell Events: 2992 mean_circ: 0.937465
Ran for 90050 frames Cell Events: 3025 mean_circ: 0.937541
Ran for 90550 frames Cell Events: 3044 mean_circ: 0.937484
Ran for 91050 frames Cell Events: 3062 mean_circ: 0.937437
Ran for 91550 frames Cell Events: 3082 mean_circ: 0.937321
Ran for 92050 frames Cell Events: 3103 mean_circ: 0.937387
Ran for 93050 frames Cell Events: 3139 mean_circ: 0.937396
Ran for 94050 frames Cell Events: 3166 mean_circ: 0.937374
Ran for 94550 frames Cell Events: 3179 mean_circ: 0.937372
Ran for 95050 frames Cell Events: 3191 mean_circ: 0.937346
Ran for 95550 frames Cell Events: 3207 mean_circ: 0.937357
Ran for 96550 frames Cell Events: 3237 mean_circ: 0.937363
Ran for 97050 frames Cell Events: 3257 mean_circ: 0.937396
Ran for 97550 frames Cell Events: 3268 mean_circ: 0.937419
Ran for 98050 frames Cell Events: 3289 mean_circ: 0.937419
Ran for 99050 frames Cell Events: 3331 mean_circ: 0.937541
Ran for 99550 frames Cell Events: 3354 mean_circ: 0.937607
Ran for 100050 frames Cell Events: 3365 mean_circ: 0.937552
Ran for 101050 frames Cell Events: 3407 mean_circ: 0.937683
Ran for 102050 frames Cell Events: 3442 mean_circ: 0.937646
Ran for 102550 frames Cell Events: 3466 mean_circ: 0.937659
Ran for 103550 frames Cell Events: 3491 mean_circ: 0.937707
Ran for 104050 frames Cell Events: 3504 mean_circ: 0.937687
Ran for 105050 frames Cell Events: 3548 mean_circ: 0.937733
Ran for 106050 frames Cell Events: 3586 mean_circ: 0.937677
Ran for 107050 frames Cell Events: 3610 mean_circ: 0.937714
Ran for 107550 frames Cell Events: 3629 mean_circ: 0.937687
Ran for 108550 frames Cell Events: 3659 mean_circ: 0.937749
Ran for 109550 frames Cell Events: 3692 mean_circ: 0.937768
Ran for 112550 frames Cell Events: 3826 mean_circ: 0.937856
Ran for 113050 frames Cell Events: 3844 mean_circ: 0.937907
Ran for 113550 frames Cell Events: 3866 mean_circ: 0.937784
Ran for 114050 frames Cell Events: 3884 mean_circ: 0.937886
Ran for 114550 frames Cell Events: 3909 mean_circ: 0.937884
Ran for 115050 frames Cell Events: 3930 mean_circ: 0.937862
Ran for 116050 frames Cell Events: 3970 mean_circ: 0.937827
Ran for 117050 frames Cell Events: 4004 mean_circ: 0.937851
Ran for 117550 frames Cell Events: 4008 mean_circ: 0.93785
Ran for 118050 frames Cell Events: 4021 mean_circ: 0.937878
Ran for 118550 frames Cell Events: 4034 mean_circ: 0.937904
Ran for 119050 frames Cell Events: 4049 mean_circ: 0.937937
Ran for 119550 frames Cell Events: 4068 mean_circ: 0.937957
Ran for 120050 frames Cell Events: 4080 mean_circ: 0.937953
Ran for 120550 frames Cell Events: 4091 mean_circ: 0.937986
Ran for 121550 frames Cell Events: 4132 mean_circ: 0.937963
Ran for 122050 frames Cell Events: 4150 mean_circ: 0.937936
Ran for 122550 frames Cell Events: 4166 mean_circ: 0.93795
Ran for 123550 frames Cell Events: 4200 mean_circ: 0.938014
Ran for 125050 frames Cell Events: 4259 mean_circ: 0.93804
Ran for 126050 frames Cell Events: 4298 mean_circ: 0.938088
Ran for 127050 frames Cell Events: 4338 mean_circ: 0.938063
Ran for 127550 frames Cell Events: 4354 mean_circ: 0.938087
Ran for 128050 frames Cell Events: 4380 mean_circ: 0.938101
Ran for 128550 frames Cell Events: 4396 mean_circ: 0.938123
Ran for 129050 frames Cell Events: 4406 mean_circ: 0.938134
Ran for 129550 frames Cell Events: 4421 mean_circ: 0.938113
Ran for 130550 frames Cell Events: 4464 mean_circ: 0.938133
Ran for 131050 frames Cell Events: 4479 mean_circ: 0.938177
Ran for 131550 frames Cell Events: 4499 mean_circ: 0.93815
Ran for 132050 frames Cell Events: 4521 mean_circ: 0.938216
Ran for 133050 frames Cell Events: 4551 mean_circ: 0.938103
Ran for 133550 frames Cell Events: 4569 mean_circ: 0.938147
Ran for 134050 frames Cell Events: 4582 mean_circ: 0.938171
Ran for 134550 frames Cell Events: 4598 mean_circ: 0.938124
Ran for 135050 frames Cell Events: 4615 mean_circ: 0.938099
Ran for 135550 frames Cell Events: 4630 mean_circ: 0.938101
Ran for 136050 frames Cell Events: 4650 mean_circ: 0.938058
Ran for 136550 frames Cell Events: 4665 mean_circ: 0.938072
Ran for 138050 frames Cell Events: 4709 mean_circ: 0.937971
Ran for 139550 frames Cell Events: 4780 mean_circ: 0.938023
Ran for 140050 frames Cell Events: 4801 mean_circ: 0.937995
Ran for 141050 frames Cell Events: 4842 mean_circ: 0.937986
Ran for 141550 frames Cell Events: 4860 mean_circ: 0.938068
Ran for 142050 frames Cell Events: 4874 mean_circ: 0.938004
Ran for 142550 frames Cell Events: 4888 mean_circ: 0.93804
Ran for 143050 frames Cell Events: 4900 mean_circ: 0.938038
Ran for 145050 frames Cell Events: 4974 mean_circ: 0.938083
Ran for 145550 frames Cell Events: 4994 mean_circ: 0.938083
Ran for 146050 frames Cell Events: 5003 mean_circ: 0.938116
Ran for 146550 frames Cell Events: 5012 mean_circ: 0.938155
Ran for 147050 frames Cell Events: 5027 mean_circ: 0.938117
Ran for 147550 frames Cell Events: 5035 mean_circ: 0.938115
Ran for 148550 frames Cell Events: 5075 mean_circ: 0.938155
Ran for 149050 frames Cell Events: 5086 mean_circ: 0.938153
Ran for 149550 frames Cell Events: 5101 mean_circ: 0.938215
Ran for 150050 frames Cell Events: 5128 mean_circ: 0.93823
Ran for 151550 frames Cell Events: 5183 mean_circ: 0.938177
Ran for 152050 frames Cell Events: 5199 mean_circ: 0.938154
Ran for 152550 frames Cell Events: 5217 mean_circ: 0.938151
Ran for 153550 frames Cell Events: 5249 mean_circ: 0.938142
Ran for 154550 frames Cell Events: 5274 mean_circ: 0.938116
Ran for 155550 frames Cell Events: 5305 mean_circ: 0.938096
Ran for 156050 frames Cell Events: 5321 mean_circ: 0.938083
Ran for 156550 frames Cell Events: 5342 mean_circ: 0.938114
Ran for 157050 frames Cell Events: 5352 mean_circ: 0.938098
Ran for 157550 frames Cell Events: 5367 mean_circ: 0.938092
Ran for 158050 frames Cell Events: 5385 mean_circ: 0.938091
Ran for 159050 frames Cell Events: 5436 mean_circ: 0.938036
Ran for 160550 frames Cell Events: 5477 mean_circ: 0.93803
Ran for 161550 frames Cell Events: 5511 mean_circ: 0.938014
Ran for 162050 frames Cell Events: 5526 mean_circ: 0.938015
Ran for 162550 frames Cell Events: 5539 mean_circ: 0.938013
Ran for 163050 frames Cell Events: 5564 mean_circ: 0.938041
Ran for 163550 frames Cell Events: 5581 mean_circ: 0.938032
Ran for 164050 frames Cell Events: 5599 mean_circ: 0.938044
Ran for 164550 frames Cell Events: 5614 mean_circ: 0.938034
Ran for 168050 frames Cell Events: 5731 mean_circ: 0.938087
Ran for 168550 frames Cell Events: 5747 mean_circ: 0.938109
Ran for 169550 frames Cell Events: 5803 mean_circ: 0.938016
Ran for 170050 frames Cell Events: 5815 mean_circ: 0.937995
Ran for 171050 frames Cell Events: 5852 mean_circ: 0.937945
Ran for 171550 frames Cell Events: 5872 mean_circ: 0.937952
Ran for 172050 frames Cell Events: 5878 mean_circ: 0.937908
Ran for 172550 frames Cell Events: 5894 mean_circ: 0.937914
Ran for 173550 frames Cell Events: 5930 mean_circ: 0.937926
Ran for 177050 frames Cell Events: 6053 mean_circ: 0.937868
Ran for 177550 frames Cell Events: 6066 mean_circ: 0.937838
Ran for 180050 frames Cell Events: 6159 mean_circ: 0.937837
Ran for 180550 frames Cell Events: 6178 mean_circ: 0.937806
Ran for 182050 frames Cell Events: 6241 mean_circ: 0.937852
Ran for 182550 frames Cell Events: 6269 mean_circ: 0.937879
Ran for 183050 frames Cell Events: 6286 mean_circ: 0.937853
Ran for 183550 frames Cell Events: 6296 mean_circ: 0.937859
Ran for 184050 frames Cell Events: 6313 mean_circ: 0.937848
Ran for 184550 frames Cell Events: 6339 mean_circ: 0.937723
Ran for 185550 frames Cell Events: 6379 mean_circ: 0.937746
Ran for 186550 frames Cell Events: 6417 mean_circ: 0.937736
Ran for 187050 frames Cell Events: 6434 mean_circ: 0.937713
Ran for 187550 frames Cell Events: 6446 mean_circ: 0.937635
Ran for 188050 frames Cell Events: 6460 mean_circ: 0.937629
Ran for 190050 frames Cell Events: 6547 mean_circ: 0.937671
Ran for 190550 frames Cell Events: 6565 mean_circ: 0.937646
Ran for 191050 frames Cell Events: 6582 mean_circ: 0.937637
Ran for 191550 frames Cell Events: 6600 mean_circ: 0.93765
Ran for 192050 frames Cell Events: 6616 mean_circ: 0.937653
Ran for 192550 frames Cell Events: 6635 mean_circ: 0.937581
Ran for 193050 frames Cell Events: 6663 mean_circ: 0.937536
Ran for 194550 frames Cell Events: 6722 mean_circ: 0.937444
Ran for 195550 frames Cell Events: 6763 mean_circ: 0.937394
Ran for 196550 frames Cell Events: 6796 mean_circ: 0.937438
Ran for 197050 frames Cell Events: 6813 mean_circ: 0.93743
Ran for 197550 frames Cell Events: 6833 mean_circ: 0.9374
Ran for 198550 frames Cell Events: 6862 mean_circ: 0.93741
Ran for 199050 frames Cell Events: 6879 mean_circ: 0.937418
Ran for 199550 frames Cell Events: 6897 mean_circ: 0.937394
Ran for 200050 frames Cell Events: 6911 mean_circ: 0.937376
Ran for 200550 frames Cell Events: 6927 mean_circ: 0.937402
Ran for 201550 frames Cell Events: 6940 mean_circ: 0.937409
Ran for 202050 frames Cell Events: 6953 mean_circ: 0.937428
Ran for 202550 frames Cell Events: 6975 mean_circ: 0.937406
Ran for 203050 frames Cell Events: 6990 mean_circ: 0.937423
Ran for 203550 frames Cell Events: 7008 mean_circ: 0.937438
Ran for 204550 frames Cell Events: 7058 mean_circ: 0.937312
Ran for 205050 frames Cell Events: 7078 mean_circ: 0.937337
Ran for 206050 frames Cell Events: 7111 mean_circ: 0.937357
Ran for 206550 frames Cell Events: 7128 mean_circ: 0.937408
Ran for 207550 frames Cell Events: 7168 mean_circ: 0.937468
Ran for 209050 frames Cell Events: 7223 mean_circ: 0.937447
Ran for 210050 frames Cell Events: 7256 mean_circ: 0.93747
Ran for 210550 frames Cell Events: 7271 mean_circ: 0.937456
Ran for 212050 frames Cell Events: 7342 mean_circ: 0.937405
Ran for 212550 frames Cell Events: 7361 mean_circ: 0.937417
Ran for 213050 frames Cell Events: 7370 mean_circ: 0.937375
Ran for 213550 frames Cell Events: 7385 mean_circ: 0.937378
Ran for 214050 frames Cell Events: 7408 mean_circ: 0.937392
Ran for 214550 frames Cell Events: 7419 mean_circ: 0.937408
Ran for 216050 frames Cell Events: 7457 mean_circ: 0.937414
Ran for 216550 frames Cell Events: 7472 mean_circ: 0.937416
Ran for 218550 frames Cell Events: 7531 mean_circ: 0.937405
Ran for 219050 frames Cell Events: 7547 mean_circ: 0.937417
Ran for 219550 frames Cell Events: 7557 mean_circ: 0.93747
Ran for 220050 frames Cell Events: 7571 mean_circ: 0.937467
Ran for 220550 frames Cell Events: 7587 mean_circ: 0.937485
Ran for 221050 frames Cell Events: 7612 mean_circ: 0.937493
Ran for 222050 frames Cell Events: 7652 mean_circ: 0.93748
Ran for 222550 frames Cell Events: 7668 mean_circ: 0.937486
Ran for 223050 frames Cell Events: 7691 mean_circ: 0.937448
Ran for 223550 frames Cell Events: 7709 mean_circ: 0.937448
Ran for 225550 frames Cell Events: 7796 mean_circ: 0.937431
Ran for 227550 frames Cell Events: 7884 mean_circ: 0.937445
Ran for 228050 frames Cell Events: 7899 mean_circ: 0.937447
Ran for 229050 frames Cell Events: 7937 mean_circ: 0.937356
Ran for 232050 frames Cell Events: 8035 mean_circ: 0.93728