Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.9976
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 5.48376e+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 1050 frames Cell Events: 52 mean_circ: 0.927069
Ran for 1550 frames Cell Events: 63 mean_circ: 0.928827
Ran for 2550 frames Cell Events: 111 mean_circ: 0.933244
Ran for 4050 frames Cell Events: 144 mean_circ: 0.9312
Ran for 6050 frames Cell Events: 210 mean_circ: 0.929835
Ran for 6550 frames Cell Events: 239 mean_circ: 0.929179
Ran for 7550 frames Cell Events: 278 mean_circ: 0.929081
Ran for 8550 frames Cell Events: 325 mean_circ: 0.929284
Ran for 9550 frames Cell Events: 357 mean_circ: 0.930082
Ran for 10550 frames Cell Events: 402 mean_circ: 0.931447
Ran for 11050 frames Cell Events: 423 mean_circ: 0.931805
Ran for 11550 frames Cell Events: 442 mean_circ: 0.931654
Ran for 12050 frames Cell Events: 463 mean_circ: 0.932123
Ran for 12550 frames Cell Events: 483 mean_circ: 0.931527
Ran for 14050 frames Cell Events: 573 mean_circ: 0.932241
Ran for 14550 frames Cell Events: 587 mean_circ: 0.93198
Ran for 15050 frames Cell Events: 604 mean_circ: 0.931978
Ran for 16050 frames Cell Events: 656 mean_circ: 0.931758
Ran for 16550 frames Cell Events: 675 mean_circ: 0.931353
Ran for 17050 frames Cell Events: 693 mean_circ: 0.931691
Ran for 17550 frames Cell Events: 717 mean_circ: 0.931767
Ran for 18050 frames Cell Events: 732 mean_circ: 0.931934
Ran for 18550 frames Cell Events: 748 mean_circ: 0.931956
Ran for 19550 frames Cell Events: 791 mean_circ: 0.931354
Ran for 20050 frames Cell Events: 808 mean_circ: 0.931447
Ran for 20550 frames Cell Events: 821 mean_circ: 0.931153
Ran for 21050 frames Cell Events: 835 mean_circ: 0.931201
Ran for 22550 frames Cell Events: 897 mean_circ: 0.931026
Ran for 23050 frames Cell Events: 930 mean_circ: 0.930812
Ran for 23550 frames Cell Events: 944 mean_circ: 0.930887
Ran for 24050 frames Cell Events: 963 mean_circ: 0.93075
Ran for 24550 frames Cell Events: 984 mean_circ: 0.930854
Ran for 25550 frames Cell Events: 1026 mean_circ: 0.930816
Ran for 26050 frames Cell Events: 1049 mean_circ: 0.931102
Ran for 27050 frames Cell Events: 1076 mean_circ: 0.931266
Ran for 29050 frames Cell Events: 1157 mean_circ: 0.930604
Ran for 29550 frames Cell Events: 1172 mean_circ: 0.930623
Ran for 30050 frames Cell Events: 1197 mean_circ: 0.930662
Ran for 32050 frames Cell Events: 1283 mean_circ: 0.930633
Ran for 32550 frames Cell Events: 1301 mean_circ: 0.930857
Ran for 33050 frames Cell Events: 1328 mean_circ: 0.931083
Ran for 34050 frames Cell Events: 1366 mean_circ: 0.93116
Ran for 34550 frames Cell Events: 1385 mean_circ: 0.931394
Ran for 35050 frames Cell Events: 1404 mean_circ: 0.931076
Ran for 36550 frames Cell Events: 1486 mean_circ: 0.931233
Ran for 37050 frames Cell Events: 1504 mean_circ: 0.931362
Ran for 37550 frames Cell Events: 1517 mean_circ: 0.931334
Ran for 38050 frames Cell Events: 1541 mean_circ: 0.931343
Ran for 38550 frames Cell Events: 1568 mean_circ: 0.931061
Ran for 39050 frames Cell Events: 1587 mean_circ: 0.93099
Ran for 39550 frames Cell Events: 1602 mean_circ: 0.930866
Ran for 40550 frames Cell Events: 1648 mean_circ: 0.931257
Ran for 42050 frames Cell Events: 1713 mean_circ: 0.930985
Ran for 42550 frames Cell Events: 1736 mean_circ: 0.930938
Ran for 43550 frames Cell Events: 1777 mean_circ: 0.93066
Ran for 44050 frames Cell Events: 1801 mean_circ: 0.930781
Ran for 44550 frames Cell Events: 1819 mean_circ: 0.930705
Ran for 45050 frames Cell Events: 1829 mean_circ: 0.930773
Ran for 45550 frames Cell Events: 1844 mean_circ: 0.930826
Ran for 46050 frames Cell Events: 1864 mean_circ: 0.930978
Ran for 47050 frames Cell Events: 1914 mean_circ: 0.930957
Ran for 47550 frames Cell Events: 1942 mean_circ: 0.930974
Ran for 48050 frames Cell Events: 1950 mean_circ: 0.930989
Ran for 49050 frames Cell Events: 1993 mean_circ: 0.930974
Ran for 49550 frames Cell Events: 2003 mean_circ: 0.931071
Ran for 50050 frames Cell Events: 2021 mean_circ: 0.931103
Ran for 50550 frames Cell Events: 2037 mean_circ: 0.930966
Ran for 51550 frames Cell Events: 2066 mean_circ: 0.930967
Ran for 52050 frames Cell Events: 2091 mean_circ: 0.931093
Ran for 53550 frames Cell Events: 2151 mean_circ: 0.931157
Ran for 54050 frames Cell Events: 2170 mean_circ: 0.93121
Ran for 54550 frames Cell Events: 2189 mean_circ: 0.93125
Ran for 56550 frames Cell Events: 2312 mean_circ: 0.93116
Ran for 58550 frames Cell Events: 2400 mean_circ: 0.93142
Ran for 59550 frames Cell Events: 2448 mean_circ: 0.931178
Ran for 60050 frames Cell Events: 2472 mean_circ: 0.931255
Ran for 61550 frames Cell Events: 2536 mean_circ: 0.931055
Ran for 62050 frames Cell Events: 2561 mean_circ: 0.931025
Ran for 62550 frames Cell Events: 2581 mean_circ: 0.931072
Ran for 63050 frames Cell Events: 2608 mean_circ: 0.931091
Ran for 63550 frames Cell Events: 2630 mean_circ: 0.931231
Ran for 67050 frames Cell Events: 2792 mean_circ: 0.931235
Ran for 68050 frames Cell Events: 2828 mean_circ: 0.931324
Ran for 69050 frames Cell Events: 2875 mean_circ: 0.931416
Ran for 69550 frames Cell Events: 2909 mean_circ: 0.931413
Ran for 70050 frames Cell Events: 2931 mean_circ: 0.93137
Ran for 70550 frames Cell Events: 2954 mean_circ: 0.931292
Ran for 71550 frames Cell Events: 2993 mean_circ: 0.931406
Ran for 72050 frames Cell Events: 3018 mean_circ: 0.931469
Ran for 72550 frames Cell Events: 3037 mean_circ: 0.931488
Ran for 73050 frames Cell Events: 3062 mean_circ: 0.931591
Ran for 73550 frames Cell Events: 3078 mean_circ: 0.931639
Ran for 74550 frames Cell Events: 3120 mean_circ: 0.93158
Ran for 75550 frames Cell Events: 3156 mean_circ: 0.93161
Ran for 76050 frames Cell Events: 3172 mean_circ: 0.931562
Ran for 78550 frames Cell Events: 3269 mean_circ: 0.931594
Ran for 79050 frames Cell Events: 3290 mean_circ: 0.931594
Ran for 79550 frames Cell Events: 3307 mean_circ: 0.931614
Ran for 81050 frames Cell Events: 3380 mean_circ: 0.931697
Ran for 81550 frames Cell Events: 3401 mean_circ: 0.931747
Ran for 82550 frames Cell Events: 3442 mean_circ: 0.931765
Ran for 83050 frames Cell Events: 3459 mean_circ: 0.931788
Ran for 85550 frames Cell Events: 3556 mean_circ: 0.931536
Ran for 86050 frames Cell Events: 3574 mean_circ: 0.931589
Ran for 86550 frames Cell Events: 3592 mean_circ: 0.931612
Ran for 87050 frames Cell Events: 3612 mean_circ: 0.931657
Ran for 88550 frames Cell Events: 3678 mean_circ: 0.931578
Ran for 89050 frames Cell Events: 3701 mean_circ: 0.931536
Ran for 89550 frames Cell Events: 3715 mean_circ: 0.931423
Ran for 90550 frames Cell Events: 3745 mean_circ: 0.931423
Ran for 91050 frames Cell Events: 3759 mean_circ: 0.931484
Ran for 91550 frames Cell Events: 3781 mean_circ: 0.931426
Ran for 92050 frames Cell Events: 3804 mean_circ: 0.931386
Ran for 92550 frames Cell Events: 3826 mean_circ: 0.931401
Ran for 93050 frames Cell Events: 3848 mean_circ: 0.931435
Ran for 93550 frames Cell Events: 3873 mean_circ: 0.93143
Ran for 95550 frames Cell Events: 3966 mean_circ: 0.931308
Ran for 96050 frames Cell Events: 3989 mean_circ: 0.931309
Ran for 96550 frames Cell Events: 4020 mean_circ: 0.931307
Ran for 97050 frames Cell Events: 4035 mean_circ: 0.931293
Ran for 97550 frames Cell Events: 4057 mean_circ: 0.931292
Ran for 98050 frames Cell Events: 4088 mean_circ: 0.931345
Ran for 98550 frames Cell Events: 4112 mean_circ: 0.931256
Ran for 99050 frames Cell Events: 4138 mean_circ: 0.93123
Ran for 99550 frames Cell Events: 4149 mean_circ: 0.931245
Ran for 100550 frames Cell Events: 4188 mean_circ: 0.931164
Ran for 101550 frames Cell Events: 4221 mean_circ: 0.93116
Ran for 102550 frames Cell Events: 4268 mean_circ: 0.931227
Ran for 103050 frames Cell Events: 4296 mean_circ: 0.931204
Ran for 105050 frames Cell Events: 4376 mean_circ: 0.931168
Ran for 105550 frames Cell Events: 4398 mean_circ: 0.93118
Ran for 106050 frames Cell Events: 4412 mean_circ: 0.931116
Ran for 106550 frames Cell Events: 4434 mean_circ: 0.931163
Ran for 107050 frames Cell Events: 4460 mean_circ: 0.931212
Ran for 108050 frames Cell Events: 4512 mean_circ: 0.93119
Ran for 108550 frames Cell Events: 4523 mean_circ: 0.931225
Ran for 109050 frames Cell Events: 4558 mean_circ: 0.931248
Ran for 110050 frames Cell Events: 4593 mean_circ: 0.931207
Ran for 110550 frames Cell Events: 4605 mean_circ: 0.931174
Ran for 111050 frames Cell Events: 4626 mean_circ: 0.931135
Ran for 111550 frames Cell Events: 4651 mean_circ: 0.931171
Ran for 113050 frames Cell Events: 4717 mean_circ: 0.931311
Ran for 114050 frames Cell Events: 4768 mean_circ: 0.931239
Ran for 114550 frames Cell Events: 4781 mean_circ: 0.931181
Ran for 115050 frames Cell Events: 4801 mean_circ: 0.931196
Ran for 115550 frames Cell Events: 4824 mean_circ: 0.931229
Ran for 116050 frames Cell Events: 4845 mean_circ: 0.931177
Ran for 116550 frames Cell Events: 4876 mean_circ: 0.931162
Ran for 117050 frames Cell Events: 4895 mean_circ: 0.931166
Ran for 117550 frames Cell Events: 4908 mean_circ: 0.931187
Ran for 118050 frames Cell Events: 4925 mean_circ: 0.931154
Ran for 118550 frames Cell Events: 4940 mean_circ: 0.931167
Ran for 120050 frames Cell Events: 5003 mean_circ: 0.930986
Ran for 120550 frames Cell Events: 5023 mean_circ: 0.931001
Ran for 121550 frames Cell Events: 5059 mean_circ: 0.93103
Ran for 123050 frames Cell Events: 5126 mean_circ: 0.930989
Ran for 123550 frames Cell Events: 5153 mean_circ: 0.930979
Ran for 124050 frames Cell Events: 5168 mean_circ: 0.930992
Ran for 124550 frames Cell Events: 5189 mean_circ: 0.930995
Ran for 125550 frames Cell Events: 5230 mean_circ: 0.931
Ran for 126050 frames Cell Events: 5251 mean_circ: 0.930981
Ran for 126550 frames Cell Events: 5262 mean_circ: 0.930942
Ran for 128050 frames Cell Events: 5343 mean_circ: 0.930875
Ran for 128550 frames Cell Events: 5358 mean_circ: 0.930914
Ran for 131050 frames Cell Events: 5471 mean_circ: 0.930906
Ran for 133050 frames Cell Events: 5552 mean_circ: 0.930846
Ran for 134550 frames Cell Events: 5618 mean_circ: 0.93079
Ran for 135550 frames Cell Events: 5663 mean_circ: 0.930798
Ran for 136050 frames Cell Events: 5682 mean_circ: 0.930787
Ran for 136550 frames Cell Events: 5697 mean_circ: 0.930828
Ran for 138050 frames Cell Events: 5733 mean_circ: 0.930854
Ran for 138550 frames Cell Events: 5758 mean_circ: 0.930795
Ran for 140550 frames Cell Events: 5857 mean_circ: 0.930783
Ran for 141550 frames Cell Events: 5903 mean_circ: 0.93075
Ran for 142050 frames Cell Events: 5926 mean_circ: 0.930693
Ran for 143050 frames Cell Events: 5957 mean_circ: 0.930679
Ran for 143550 frames Cell Events: 5973 mean_circ: 0.930652
Ran for 144050 frames Cell Events: 6010 mean_circ: 0.930691
Ran for 144550 frames Cell Events: 6040 mean_circ: 0.93063
Ran for 146550 frames Cell Events: 6118 mean_circ: 0.930747
Ran for 148050 frames Cell Events: 6184 mean_circ: 0.930781
Ran for 148550 frames Cell Events: 6201 mean_circ: 0.930777
Ran for 149050 frames Cell Events: 6222 mean_circ: 0.930834
Ran for 149550 frames Cell Events: 6241 mean_circ: 0.930822
Ran for 150550 frames Cell Events: 6283 mean_circ: 0.930833
Ran for 151050 frames Cell Events: 6298 mean_circ: 0.930801
Ran for 151550 frames Cell Events: 6327 mean_circ: 0.930801
Ran for 152050 frames Cell Events: 6347 mean_circ: 0.930815
Ran for 152550 frames Cell Events: 6363 mean_circ: 0.930823
Ran for 153050 frames Cell Events: 6379 mean_circ: 0.930856
Ran for 155050 frames Cell Events: 6464 mean_circ: 0.930838
Ran for 155550 frames Cell Events: 6495 mean_circ: 0.930845
Ran for 157550 frames Cell Events: 6586 mean_circ: 0.930727
Ran for 158050 frames Cell Events: 6603 mean_circ: 0.930711
Ran for 159550 frames Cell Events: 6662 mean_circ: 0.930736
Ran for 160050 frames Cell Events: 6688 mean_circ: 0.930714
Ran for 161050 frames Cell Events: 6722 mean_circ: 0.930701
Ran for 162050 frames Cell Events: 6753 mean_circ: 0.930673
Ran for 163050 frames Cell Events: 6798 mean_circ: 0.930523
Ran for 164050 frames Cell Events: 6851 mean_circ: 0.930607
Ran for 166550 frames Cell Events: 6928 mean_circ: 0.930558
Ran for 167050 frames Cell Events: 6941 mean_circ: 0.930593
Ran for 168550 frames Cell Events: 7010 mean_circ: 0.930445
Ran for 170050 frames Cell Events: 7077 mean_circ: 0.930548
Ran for 171550 frames Cell Events: 7128 mean_circ: 0.930552
Ran for 172550 frames Cell Events: 7166 mean_circ: 0.930592
Ran for 173050 frames Cell Events: 7190 mean_circ: 0.930569
Ran for 173550 frames Cell Events: 7207 mean_circ: 0.930593
Ran for 174550 frames Cell Events: 7263 mean_circ: 0.930595
Ran for 175050 frames Cell Events: 7281 mean_circ: 0.930568
Ran for 176050 frames Cell Events: 7317 mean_circ: 0.930577
Ran for 176550 frames Cell Events: 7329 mean_circ: 0.930589
Ran for 177550 frames Cell Events: 7376 mean_circ: 0.930599
Ran for 178050 frames Cell Events: 7392 mean_circ: 0.930558
Ran for 178550 frames Cell Events: 7413 mean_circ: 0.93056
Ran for 179050 frames Cell Events: 7436 mean_circ: 0.930607
Ran for 179550 frames Cell Events: 7455 mean_circ: 0.930598
Ran for 180050 frames Cell Events: 7475 mean_circ: 0.930593
Ran for 180550 frames Cell Events: 7492 mean_circ: 0.930595
Ran for 181050 frames Cell Events: 7504 mean_circ: 0.930573
Ran for 182550 frames Cell Events: 7559 mean_circ: 0.930508
Ran for 183050 frames Cell Events: 7589 mean_circ: 0.930529
Ran for 183550 frames Cell Events: 7611 mean_circ: 0.930489
Ran for 184050 frames Cell Events: 7631 mean_circ: 0.930491
Ran for 184550 frames Cell Events: 7663 mean_circ: 0.930481
Ran for 185050 frames Cell Events: 7692 mean_circ: 0.930454
Ran for 186050 frames Cell Events: 7733 mean_circ: 0.93046
Ran for 187550 frames Cell Events: 7794 mean_circ: 0.930409
Ran for 188050 frames Cell Events: 7810 mean_circ: 0.930428
Ran for 188550 frames Cell Events: 7841 mean_circ: 0.930407
Ran for 189050 frames Cell Events: 7871 mean_circ: 0.930363
Ran for 190050 frames Cell Events: 7923 mean_circ: 0.930335
Ran for 190550 frames Cell Events: 7937 mean_circ: 0.930341
Ran for 191050 frames Cell Events: 7956 mean_circ: 0.930332
Ran for 191550 frames Cell Events: 7976 mean_circ: 0.930269
Ran for 192550 frames Cell Events: 8026 mean_circ: 0.930296
Ran for 193050 frames Cell Events: 8036 mean_circ: 0.930276
Ran for 193550 frames Cell Events: 8055 mean_circ: 0.930287
Ran for 195050 frames Cell Events: 8115 mean_circ: 0.930256
Ran for 195550 frames Cell Events: 8137 mean_circ: 0.930277
Ran for 196050 frames Cell Events: 8154 mean_circ: 0.930286
Ran for 196550 frames Cell Events: 8170 mean_circ: 0.930332
Ran for 197050 frames Cell Events: 8197 mean_circ: 0.930298
Ran for 198050 frames Cell Events: 8252 mean_circ: 0.930181
Ran for 200050 frames Cell Events: 8342 mean_circ: 0.93013