Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.4083
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.84154e+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 2050 frames Cell Events: 86 mean_circ: 0.948625
Ran for 3550 frames Cell Events: 139 mean_circ: 0.947303
Ran for 4050 frames Cell Events: 165 mean_circ: 0.947018
Ran for 6050 frames Cell Events: 239 mean_circ: 0.94318
Ran for 6550 frames Cell Events: 261 mean_circ: 0.943489
Ran for 7050 frames Cell Events: 279 mean_circ: 0.943934
Ran for 7550 frames Cell Events: 290 mean_circ: 0.943923
Ran for 8050 frames Cell Events: 310 mean_circ: 0.943746
Ran for 9550 frames Cell Events: 356 mean_circ: 0.942894
Ran for 10050 frames Cell Events: 375 mean_circ: 0.941974
Ran for 10550 frames Cell Events: 393 mean_circ: 0.942118
Ran for 11050 frames Cell Events: 414 mean_circ: 0.942468
Ran for 11550 frames Cell Events: 428 mean_circ: 0.942435
Ran for 13050 frames Cell Events: 503 mean_circ: 0.941501
Ran for 14050 frames Cell Events: 544 mean_circ: 0.940951
Ran for 14550 frames Cell Events: 562 mean_circ: 0.941026
Ran for 15050 frames Cell Events: 589 mean_circ: 0.941182
Ran for 15550 frames Cell Events: 616 mean_circ: 0.940707
Ran for 16050 frames Cell Events: 643 mean_circ: 0.940319
Ran for 17050 frames Cell Events: 682 mean_circ: 0.940374
Ran for 17550 frames Cell Events: 708 mean_circ: 0.940316
Ran for 18550 frames Cell Events: 752 mean_circ: 0.93995
Ran for 19050 frames Cell Events: 772 mean_circ: 0.940194
Ran for 19550 frames Cell Events: 790 mean_circ: 0.940226
Ran for 20050 frames Cell Events: 812 mean_circ: 0.940227
Ran for 20550 frames Cell Events: 830 mean_circ: 0.94033
Ran for 21050 frames Cell Events: 858 mean_circ: 0.940023
Ran for 21550 frames Cell Events: 882 mean_circ: 0.940105
Ran for 22050 frames Cell Events: 897 mean_circ: 0.939784
Ran for 22550 frames Cell Events: 913 mean_circ: 0.939743
Ran for 23550 frames Cell Events: 957 mean_circ: 0.939395
Ran for 24550 frames Cell Events: 1001 mean_circ: 0.939522
Ran for 25050 frames Cell Events: 1024 mean_circ: 0.939547
Ran for 25550 frames Cell Events: 1037 mean_circ: 0.939166
Ran for 26050 frames Cell Events: 1061 mean_circ: 0.938551
Ran for 26550 frames Cell Events: 1092 mean_circ: 0.938598
Ran for 27050 frames Cell Events: 1115 mean_circ: 0.938445
Ran for 27550 frames Cell Events: 1137 mean_circ: 0.938369
Ran for 28050 frames Cell Events: 1157 mean_circ: 0.938504
Ran for 29050 frames Cell Events: 1186 mean_circ: 0.938841
Ran for 29550 frames Cell Events: 1205 mean_circ: 0.938978
Ran for 30550 frames Cell Events: 1239 mean_circ: 0.938958
Ran for 31550 frames Cell Events: 1278 mean_circ: 0.939147
Ran for 32050 frames Cell Events: 1295 mean_circ: 0.939194
Ran for 32550 frames Cell Events: 1315 mean_circ: 0.939183
Ran for 33050 frames Cell Events: 1339 mean_circ: 0.939188
Ran for 33550 frames Cell Events: 1357 mean_circ: 0.939195
Ran for 34050 frames Cell Events: 1378 mean_circ: 0.938926
Ran for 34550 frames Cell Events: 1399 mean_circ: 0.938893
Ran for 35550 frames Cell Events: 1457 mean_circ: 0.939069
Ran for 36050 frames Cell Events: 1476 mean_circ: 0.938878
Ran for 36550 frames Cell Events: 1505 mean_circ: 0.938984
Ran for 37050 frames Cell Events: 1537 mean_circ: 0.938897
Ran for 37550 frames Cell Events: 1556 mean_circ: 0.93903
Ran for 38550 frames Cell Events: 1598 mean_circ: 0.938633
Ran for 39050 frames Cell Events: 1619 mean_circ: 0.938451
Ran for 39550 frames Cell Events: 1633 mean_circ: 0.938277
Ran for 40050 frames Cell Events: 1652 mean_circ: 0.938263
Ran for 40550 frames Cell Events: 1678 mean_circ: 0.938075
Ran for 41050 frames Cell Events: 1696 mean_circ: 0.938031
Ran for 41550 frames Cell Events: 1711 mean_circ: 0.937742
Ran for 42050 frames Cell Events: 1729 mean_circ: 0.937872
Ran for 42550 frames Cell Events: 1747 mean_circ: 0.93792
Ran for 43050 frames Cell Events: 1765 mean_circ: 0.93792
Ran for 43550 frames Cell Events: 1777 mean_circ: 0.937649
Ran for 44050 frames Cell Events: 1792 mean_circ: 0.937627
Ran for 45050 frames Cell Events: 1837 mean_circ: 0.937642
Ran for 46050 frames Cell Events: 1888 mean_circ: 0.937742
Ran for 46550 frames Cell Events: 1899 mean_circ: 0.937759
Ran for 47050 frames Cell Events: 1918 mean_circ: 0.93773
Ran for 47550 frames Cell Events: 1941 mean_circ: 0.937784
Ran for 48050 frames Cell Events: 1961 mean_circ: 0.937828
Ran for 48550 frames Cell Events: 1978 mean_circ: 0.937761
Ran for 49550 frames Cell Events: 2019 mean_circ: 0.937698
Ran for 50050 frames Cell Events: 2039 mean_circ: 0.937651
Ran for 50550 frames Cell Events: 2057 mean_circ: 0.937636
Ran for 52550 frames Cell Events: 2167 mean_circ: 0.937313
Ran for 53050 frames Cell Events: 2184 mean_circ: 0.937443
Ran for 54050 frames Cell Events: 2226 mean_circ: 0.93743
Ran for 54550 frames Cell Events: 2246 mean_circ: 0.937475
Ran for 55550 frames Cell Events: 2290 mean_circ: 0.937491
Ran for 56550 frames Cell Events: 2333 mean_circ: 0.937546
Ran for 57550 frames Cell Events: 2381 mean_circ: 0.937616
Ran for 58050 frames Cell Events: 2404 mean_circ: 0.937783
Ran for 59050 frames Cell Events: 2444 mean_circ: 0.937852
Ran for 59550 frames Cell Events: 2460 mean_circ: 0.937857
Ran for 60050 frames Cell Events: 2478 mean_circ: 0.937661
Ran for 60550 frames Cell Events: 2495 mean_circ: 0.937623
Ran for 61550 frames Cell Events: 2545 mean_circ: 0.937536
Ran for 62050 frames Cell Events: 2571 mean_circ: 0.93762
Ran for 64550 frames Cell Events: 2676 mean_circ: 0.937697
Ran for 65050 frames Cell Events: 2694 mean_circ: 0.937702
Ran for 66050 frames Cell Events: 2735 mean_circ: 0.937565
Ran for 66550 frames Cell Events: 2749 mean_circ: 0.937504
Ran for 68050 frames Cell Events: 2800 mean_circ: 0.937523
Ran for 68550 frames Cell Events: 2815 mean_circ: 0.937544
Ran for 69050 frames Cell Events: 2833 mean_circ: 0.937561
Ran for 69550 frames Cell Events: 2863 mean_circ: 0.937541
Ran for 70550 frames Cell Events: 2901 mean_circ: 0.93744
Ran for 71050 frames Cell Events: 2921 mean_circ: 0.937455
Ran for 72050 frames Cell Events: 2982 mean_circ: 0.937453
Ran for 73050 frames Cell Events: 3023 mean_circ: 0.937246
Ran for 74050 frames Cell Events: 3074 mean_circ: 0.937359
Ran for 74550 frames Cell Events: 3098 mean_circ: 0.9373
Ran for 75550 frames Cell Events: 3149 mean_circ: 0.937243
Ran for 76050 frames Cell Events: 3173 mean_circ: 0.937332
Ran for 76550 frames Cell Events: 3191 mean_circ: 0.937362
Ran for 77050 frames Cell Events: 3211 mean_circ: 0.937456
Ran for 77550 frames Cell Events: 3223 mean_circ: 0.93745
Ran for 78050 frames Cell Events: 3246 mean_circ: 0.937322
Ran for 78550 frames Cell Events: 3262 mean_circ: 0.937322
Ran for 79050 frames Cell Events: 3283 mean_circ: 0.937278
Ran for 79550 frames Cell Events: 3302 mean_circ: 0.937322
Ran for 81050 frames Cell Events: 3361 mean_circ: 0.937274
Ran for 81550 frames Cell Events: 3378 mean_circ: 0.937258
Ran for 82050 frames Cell Events: 3398 mean_circ: 0.937239
Ran for 82550 frames Cell Events: 3431 mean_circ: 0.937211
Ran for 83550 frames Cell Events: 3480 mean_circ: 0.937181
Ran for 85050 frames Cell Events: 3536 mean_circ: 0.937131
Ran for 85550 frames Cell Events: 3559 mean_circ: 0.937157
Ran for 86050 frames Cell Events: 3579 mean_circ: 0.937178
Ran for 86550 frames Cell Events: 3600 mean_circ: 0.937072
Ran for 87550 frames Cell Events: 3650 mean_circ: 0.937073
Ran for 88550 frames Cell Events: 3695 mean_circ: 0.936955
Ran for 89050 frames Cell Events: 3719 mean_circ: 0.936964
Ran for 89550 frames Cell Events: 3755 mean_circ: 0.936996
Ran for 90050 frames Cell Events: 3776 mean_circ: 0.936974
Ran for 90550 frames Cell Events: 3798 mean_circ: 0.937014
Ran for 91050 frames Cell Events: 3821 mean_circ: 0.936958
Ran for 91550 frames Cell Events: 3842 mean_circ: 0.93688
Ran for 92550 frames Cell Events: 3887 mean_circ: 0.936896
Ran for 93550 frames Cell Events: 3924 mean_circ: 0.936751
Ran for 94050 frames Cell Events: 3943 mean_circ: 0.936757
Ran for 95050 frames Cell Events: 3994 mean_circ: 0.936718
Ran for 96050 frames Cell Events: 4037 mean_circ: 0.936668
Ran for 96550 frames Cell Events: 4055 mean_circ: 0.936636
Ran for 97050 frames Cell Events: 4091 mean_circ: 0.936551
Ran for 97550 frames Cell Events: 4115 mean_circ: 0.93651
Ran for 99050 frames Cell Events: 4173 mean_circ: 0.936502
Ran for 99550 frames Cell Events: 4199 mean_circ: 0.936529
Ran for 100550 frames Cell Events: 4250 mean_circ: 0.936538
Ran for 101050 frames Cell Events: 4273 mean_circ: 0.936537
Ran for 101550 frames Cell Events: 4298 mean_circ: 0.936569
Ran for 102050 frames Cell Events: 4319 mean_circ: 0.936602
Ran for 102550 frames Cell Events: 4339 mean_circ: 0.936633
Ran for 103050 frames Cell Events: 4358 mean_circ: 0.936627
Ran for 103550 frames Cell Events: 4375 mean_circ: 0.936621
Ran for 104050 frames Cell Events: 4405 mean_circ: 0.936568
Ran for 104550 frames Cell Events: 4422 mean_circ: 0.936597
Ran for 107050 frames Cell Events: 4545 mean_circ: 0.93665
Ran for 108550 frames Cell Events: 4632 mean_circ: 0.936598
Ran for 109050 frames Cell Events: 4649 mean_circ: 0.936575
Ran for 109550 frames Cell Events: 4668 mean_circ: 0.936553
Ran for 110550 frames Cell Events: 4720 mean_circ: 0.936484
Ran for 111550 frames Cell Events: 4767 mean_circ: 0.936471
Ran for 114050 frames Cell Events: 4871 mean_circ: 0.936333
Ran for 114550 frames Cell Events: 4902 mean_circ: 0.936285
Ran for 115050 frames Cell Events: 4919 mean_circ: 0.936294
Ran for 115550 frames Cell Events: 4942 mean_circ: 0.936302
Ran for 117050 frames Cell Events: 4991 mean_circ: 0.936278
Ran for 117550 frames Cell Events: 5019 mean_circ: 0.936276
Ran for 118050 frames Cell Events: 5039 mean_circ: 0.936326
Ran for 118550 frames Cell Events: 5057 mean_circ: 0.936295
Ran for 119550 frames Cell Events: 5123 mean_circ: 0.936246
Ran for 120050 frames Cell Events: 5151 mean_circ: 0.936098
Ran for 121550 frames Cell Events: 5212 mean_circ: 0.936037
Ran for 122050 frames Cell Events: 5230 mean_circ: 0.935913
Ran for 125050 frames Cell Events: 5406 mean_circ: 0.936235
Ran for 126050 frames Cell Events: 5471 mean_circ: 0.936272
Ran for 127050 frames Cell Events: 5512 mean_circ: 0.936193
Ran for 127550 frames Cell Events: 5531 mean_circ: 0.93618
Ran for 128550 frames Cell Events: 5590 mean_circ: 0.936236
Ran for 129050 frames Cell Events: 5607 mean_circ: 0.936257
Ran for 130550 frames Cell Events: 5667 mean_circ: 0.936281
Ran for 131550 frames Cell Events: 5727 mean_circ: 0.936239
Ran for 132050 frames Cell Events: 5759 mean_circ: 0.936234
Ran for 134050 frames Cell Events: 5864 mean_circ: 0.936246
Ran for 135050 frames Cell Events: 5911 mean_circ: 0.936221
Ran for 135550 frames Cell Events: 5941 mean_circ: 0.936275
Ran for 136050 frames Cell Events: 5967 mean_circ: 0.936235
Ran for 136550 frames Cell Events: 5984 mean_circ: 0.93616
Ran for 137050 frames Cell Events: 6001 mean_circ: 0.936186
Ran for 137550 frames Cell Events: 6023 mean_circ: 0.93618
Ran for 138050 frames Cell Events: 6041 mean_circ: 0.936204
Ran for 138550 frames Cell Events: 6060 mean_circ: 0.936198
Ran for 139050 frames Cell Events: 6078 mean_circ: 0.936227
Ran for 139550 frames Cell Events: 6096 mean_circ: 0.936132
Ran for 140050 frames Cell Events: 6112 mean_circ: 0.936107
Ran for 140550 frames Cell Events: 6124 mean_circ: 0.936139
Ran for 142550 frames Cell Events: 6212 mean_circ: 0.936124
Ran for 143550 frames Cell Events: 6257 mean_circ: 0.936121
Ran for 144050 frames Cell Events: 6280 mean_circ: 0.936072
Ran for 144550 frames Cell Events: 6303 mean_circ: 0.936114
Ran for 145050 frames Cell Events: 6329 mean_circ: 0.936115
Ran for 145550 frames Cell Events: 6353 mean_circ: 0.936125
Ran for 146050 frames Cell Events: 6376 mean_circ: 0.936064
Ran for 146550 frames Cell Events: 6399 mean_circ: 0.935933
Ran for 147050 frames Cell Events: 6425 mean_circ: 0.935926
Ran for 148050 frames Cell Events: 6460 mean_circ: 0.93593
Ran for 148550 frames Cell Events: 6476 mean_circ: 0.935904
Ran for 152050 frames Cell Events: 6669 mean_circ: 0.935865
Ran for 152550 frames Cell Events: 6692 mean_circ: 0.935849
Ran for 153050 frames Cell Events: 6712 mean_circ: 0.935854
Ran for 153550 frames Cell Events: 6732 mean_circ: 0.935853
Ran for 154050 frames Cell Events: 6758 mean_circ: 0.935855
Ran for 154550 frames Cell Events: 6784 mean_circ: 0.935865
Ran for 155050 frames Cell Events: 6806 mean_circ: 0.935852
Ran for 156050 frames Cell Events: 6848 mean_circ: 0.935857
Ran for 156550 frames Cell Events: 6871 mean_circ: 0.935838
Ran for 157550 frames Cell Events: 6911 mean_circ: 0.935877
Ran for 160050 frames Cell Events: 7022 mean_circ: 0.93596
Ran for 161050 frames Cell Events: 7058 mean_circ: 0.935931
Ran for 161550 frames Cell Events: 7081 mean_circ: 0.935886
Ran for 162550 frames Cell Events: 7117 mean_circ: 0.935886
Ran for 163050 frames Cell Events: 7140 mean_circ: 0.93591
Ran for 163550 frames Cell Events: 7166 mean_circ: 0.93591
Ran for 166050 frames Cell Events: 7273 mean_circ: 0.935906
Ran for 167050 frames Cell Events: 7326 mean_circ: 0.935825
Ran for 167550 frames Cell Events: 7351 mean_circ: 0.935813
Ran for 168050 frames Cell Events: 7369 mean_circ: 0.935836
Ran for 168550 frames Cell Events: 7390 mean_circ: 0.935837
Ran for 169550 frames Cell Events: 7439 mean_circ: 0.935873
Ran for 170050 frames Cell Events: 7468 mean_circ: 0.935924
Ran for 171050 frames Cell Events: 7527 mean_circ: 0.935939
Ran for 171550 frames Cell Events: 7552 mean_circ: 0.935923
Ran for 172550 frames Cell Events: 7600 mean_circ: 0.935946
Ran for 173050 frames Cell Events: 7625 mean_circ: 0.935947
Ran for 173550 frames Cell Events: 7662 mean_circ: 0.935947
Ran for 174050 frames Cell Events: 7684 mean_circ: 0.935904
Ran for 175050 frames Cell Events: 7743 mean_circ: 0.935935
Ran for 176550 frames Cell Events: 7814 mean_circ: 0.935949
Ran for 177050 frames Cell Events: 7833 mean_circ: 0.935961
Ran for 177550 frames Cell Events: 7867 mean_circ: 0.935965
Ran for 178050 frames Cell Events: 7908 mean_circ: 0.936015
Ran for 178550 frames Cell Events: 7932 mean_circ: 0.936011
Ran for 179050 frames Cell Events: 7959 mean_circ: 0.93598
Ran for 179550 frames Cell Events: 7980 mean_circ: 0.935969
Ran for 180050 frames Cell Events: 8006 mean_circ: 0.9359
Ran for 182550 frames Cell Events: 8118 mean_circ: 0.935923
Ran for 183050 frames Cell Events: 8150 mean_circ: 0.935912
Ran for 183550 frames Cell Events: 8171 mean_circ: 0.93591