Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 26.7226
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.10837e+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: 16 mean_circ: 0.92714
Ran for 1050 frames Cell Events: 37 mean_circ: 0.928439
Ran for 1550 frames Cell Events: 53 mean_circ: 0.916123
Ran for 2050 frames Cell Events: 72 mean_circ: 0.921643
Ran for 2550 frames Cell Events: 88 mean_circ: 0.919663
Ran for 3050 frames Cell Events: 105 mean_circ: 0.920718
Ran for 4550 frames Cell Events: 148 mean_circ: 0.920138
Ran for 5050 frames Cell Events: 159 mean_circ: 0.918961
Ran for 6050 frames Cell Events: 195 mean_circ: 0.921722
Ran for 6550 frames Cell Events: 217 mean_circ: 0.919527
Ran for 7050 frames Cell Events: 238 mean_circ: 0.920379
Ran for 7550 frames Cell Events: 260 mean_circ: 0.920305
Ran for 8050 frames Cell Events: 275 mean_circ: 0.920226
Ran for 8550 frames Cell Events: 293 mean_circ: 0.919117
Ran for 9050 frames Cell Events: 313 mean_circ: 0.919506
Ran for 10050 frames Cell Events: 359 mean_circ: 0.91768
Ran for 10550 frames Cell Events: 386 mean_circ: 0.917944
Ran for 11050 frames Cell Events: 406 mean_circ: 0.917949
Ran for 11550 frames Cell Events: 424 mean_circ: 0.917673
Ran for 13050 frames Cell Events: 481 mean_circ: 0.918032
Ran for 13550 frames Cell Events: 497 mean_circ: 0.918608
Ran for 14050 frames Cell Events: 512 mean_circ: 0.917736
Ran for 14550 frames Cell Events: 535 mean_circ: 0.917719
Ran for 15050 frames Cell Events: 555 mean_circ: 0.917713
Ran for 15550 frames Cell Events: 584 mean_circ: 0.918015
Ran for 16050 frames Cell Events: 597 mean_circ: 0.918381
Ran for 16550 frames Cell Events: 610 mean_circ: 0.918413
Ran for 17050 frames Cell Events: 635 mean_circ: 0.918342
Ran for 17550 frames Cell Events: 653 mean_circ: 0.918783
Ran for 18050 frames Cell Events: 669 mean_circ: 0.918746
Ran for 18550 frames Cell Events: 683 mean_circ: 0.919234
Ran for 19050 frames Cell Events: 697 mean_circ: 0.919383
Ran for 19550 frames Cell Events: 715 mean_circ: 0.919327
Ran for 20050 frames Cell Events: 735 mean_circ: 0.919936
Ran for 21050 frames Cell Events: 761 mean_circ: 0.920447
Ran for 21550 frames Cell Events: 781 mean_circ: 0.920913
Ran for 22050 frames Cell Events: 809 mean_circ: 0.921757
Ran for 22550 frames Cell Events: 840 mean_circ: 0.921507
Ran for 23550 frames Cell Events: 886 mean_circ: 0.921851
Ran for 25550 frames Cell Events: 959 mean_circ: 0.922235
Ran for 26550 frames Cell Events: 1003 mean_circ: 0.922094
Ran for 27050 frames Cell Events: 1027 mean_circ: 0.922521
Ran for 27550 frames Cell Events: 1041 mean_circ: 0.922307
Ran for 28550 frames Cell Events: 1089 mean_circ: 0.922285
Ran for 29550 frames Cell Events: 1126 mean_circ: 0.922397
Ran for 31550 frames Cell Events: 1218 mean_circ: 0.923404
Ran for 35050 frames Cell Events: 1360 mean_circ: 0.923521
Ran for 35550 frames Cell Events: 1375 mean_circ: 0.923666
Ran for 36550 frames Cell Events: 1412 mean_circ: 0.923654
Ran for 37050 frames Cell Events: 1428 mean_circ: 0.92376
Ran for 39550 frames Cell Events: 1512 mean_circ: 0.923983
Ran for 40550 frames Cell Events: 1546 mean_circ: 0.923782
Ran for 41050 frames Cell Events: 1564 mean_circ: 0.923799
Ran for 41550 frames Cell Events: 1584 mean_circ: 0.923971
Ran for 42550 frames Cell Events: 1631 mean_circ: 0.924245
Ran for 43050 frames Cell Events: 1651 mean_circ: 0.924486
Ran for 43550 frames Cell Events: 1669 mean_circ: 0.924507
Ran for 44050 frames Cell Events: 1689 mean_circ: 0.92468
Ran for 44550 frames Cell Events: 1718 mean_circ: 0.924741
Ran for 45550 frames Cell Events: 1756 mean_circ: 0.924785
Ran for 46050 frames Cell Events: 1765 mean_circ: 0.924933
Ran for 46550 frames Cell Events: 1782 mean_circ: 0.924917
Ran for 47050 frames Cell Events: 1800 mean_circ: 0.924781
Ran for 47550 frames Cell Events: 1829 mean_circ: 0.924862
Ran for 48050 frames Cell Events: 1844 mean_circ: 0.924857
Ran for 48550 frames Cell Events: 1861 mean_circ: 0.925004
Ran for 49550 frames Cell Events: 1901 mean_circ: 0.92516
Ran for 50050 frames Cell Events: 1922 mean_circ: 0.925152
Ran for 51050 frames Cell Events: 1972 mean_circ: 0.925175
Ran for 51550 frames Cell Events: 1996 mean_circ: 0.925299
Ran for 53050 frames Cell Events: 2051 mean_circ: 0.9253
Ran for 54050 frames Cell Events: 2094 mean_circ: 0.925156
Ran for 54550 frames Cell Events: 2116 mean_circ: 0.925279
Ran for 55550 frames Cell Events: 2157 mean_circ: 0.925325
Ran for 56050 frames Cell Events: 2174 mean_circ: 0.925304
Ran for 56550 frames Cell Events: 2200 mean_circ: 0.925213
Ran for 57050 frames Cell Events: 2215 mean_circ: 0.925122
Ran for 58050 frames Cell Events: 2265 mean_circ: 0.925086
Ran for 58550 frames Cell Events: 2289 mean_circ: 0.92509
Ran for 59050 frames Cell Events: 2304 mean_circ: 0.925139
Ran for 60550 frames Cell Events: 2358 mean_circ: 0.925246
Ran for 61050 frames Cell Events: 2377 mean_circ: 0.925239
Ran for 61550 frames Cell Events: 2396 mean_circ: 0.9252
Ran for 62550 frames Cell Events: 2445 mean_circ: 0.925304
Ran for 63550 frames Cell Events: 2481 mean_circ: 0.9254
Ran for 64550 frames Cell Events: 2524 mean_circ: 0.925402
Ran for 65050 frames Cell Events: 2537 mean_circ: 0.925324
Ran for 66050 frames Cell Events: 2571 mean_circ: 0.925366
Ran for 66550 frames Cell Events: 2597 mean_circ: 0.925268
Ran for 67050 frames Cell Events: 2618 mean_circ: 0.92533
Ran for 67550 frames Cell Events: 2642 mean_circ: 0.925478
Ran for 68050 frames Cell Events: 2669 mean_circ: 0.9254
Ran for 69050 frames Cell Events: 2714 mean_circ: 0.925534
Ran for 69550 frames Cell Events: 2739 mean_circ: 0.925435
Ran for 70550 frames Cell Events: 2794 mean_circ: 0.925341
Ran for 71550 frames Cell Events: 2841 mean_circ: 0.925446
Ran for 72050 frames Cell Events: 2855 mean_circ: 0.925256
Ran for 73050 frames Cell Events: 2894 mean_circ: 0.925301
Ran for 75050 frames Cell Events: 2985 mean_circ: 0.925567
Ran for 75550 frames Cell Events: 3015 mean_circ: 0.925565
Ran for 76550 frames Cell Events: 3051 mean_circ: 0.925592
Ran for 77050 frames Cell Events: 3065 mean_circ: 0.925645
Ran for 77550 frames Cell Events: 3086 mean_circ: 0.925642
Ran for 79550 frames Cell Events: 3144 mean_circ: 0.925844
Ran for 80050 frames Cell Events: 3159 mean_circ: 0.925892
Ran for 80550 frames Cell Events: 3177 mean_circ: 0.925946
Ran for 81050 frames Cell Events: 3196 mean_circ: 0.925975
Ran for 81550 frames Cell Events: 3225 mean_circ: 0.925885
Ran for 82050 frames Cell Events: 3246 mean_circ: 0.925772
Ran for 83050 frames Cell Events: 3295 mean_circ: 0.925599
Ran for 83550 frames Cell Events: 3314 mean_circ: 0.925499
Ran for 84550 frames Cell Events: 3354 mean_circ: 0.925501
Ran for 87050 frames Cell Events: 3456 mean_circ: 0.925494
Ran for 87550 frames Cell Events: 3476 mean_circ: 0.925497
Ran for 88050 frames Cell Events: 3496 mean_circ: 0.925393
Ran for 88550 frames Cell Events: 3505 mean_circ: 0.925444
Ran for 89050 frames Cell Events: 3517 mean_circ: 0.925411
Ran for 90050 frames Cell Events: 3564 mean_circ: 0.925409
Ran for 90550 frames Cell Events: 3584 mean_circ: 0.925396
Ran for 91550 frames Cell Events: 3634 mean_circ: 0.925185
Ran for 92550 frames Cell Events: 3671 mean_circ: 0.925011
Ran for 93050 frames Cell Events: 3694 mean_circ: 0.925033
Ran for 93550 frames Cell Events: 3720 mean_circ: 0.925114
Ran for 94050 frames Cell Events: 3742 mean_circ: 0.925117
Ran for 95050 frames Cell Events: 3784 mean_circ: 0.925198
Ran for 97050 frames Cell Events: 3869 mean_circ: 0.925147
Ran for 97550 frames Cell Events: 3895 mean_circ: 0.925207
Ran for 98050 frames Cell Events: 3922 mean_circ: 0.925211
Ran for 99050 frames Cell Events: 3967 mean_circ: 0.925107
Ran for 99550 frames Cell Events: 3987 mean_circ: 0.925169
Ran for 100550 frames Cell Events: 4032 mean_circ: 0.92515
Ran for 101550 frames Cell Events: 4074 mean_circ: 0.925169
Ran for 102050 frames Cell Events: 4092 mean_circ: 0.925096
Ran for 102550 frames Cell Events: 4112 mean_circ: 0.925084
Ran for 103050 frames Cell Events: 4132 mean_circ: 0.924979
Ran for 105050 frames Cell Events: 4235 mean_circ: 0.924731
Ran for 105550 frames Cell Events: 4248 mean_circ: 0.924738
Ran for 106050 frames Cell Events: 4278 mean_circ: 0.924804
Ran for 107050 frames Cell Events: 4321 mean_circ: 0.924662
Ran for 108050 frames Cell Events: 4404 mean_circ: 0.924754
Ran for 108550 frames Cell Events: 4424 mean_circ: 0.924962
Ran for 109050 frames Cell Events: 4438 mean_circ: 0.924918
Ran for 109550 frames Cell Events: 4457 mean_circ: 0.924909
Ran for 110050 frames Cell Events: 4486 mean_circ: 0.924857
Ran for 110550 frames Cell Events: 4506 mean_circ: 0.924946
Ran for 111050 frames Cell Events: 4522 mean_circ: 0.924905
Ran for 111550 frames Cell Events: 4547 mean_circ: 0.924903
Ran for 112550 frames Cell Events: 4576 mean_circ: 0.924945
Ran for 113550 frames Cell Events: 4608 mean_circ: 0.924834
Ran for 114050 frames Cell Events: 4626 mean_circ: 0.924815
Ran for 115050 frames Cell Events: 4654 mean_circ: 0.924906
Ran for 116050 frames Cell Events: 4697 mean_circ: 0.924944
Ran for 116550 frames Cell Events: 4721 mean_circ: 0.924966
Ran for 117050 frames Cell Events: 4739 mean_circ: 0.924992
Ran for 118050 frames Cell Events: 4768 mean_circ: 0.925062
Ran for 118550 frames Cell Events: 4788 mean_circ: 0.925047
Ran for 119550 frames Cell Events: 4833 mean_circ: 0.925017
Ran for 120050 frames Cell Events: 4856 mean_circ: 0.925042
Ran for 120550 frames Cell Events: 4871 mean_circ: 0.925049
Ran for 122550 frames Cell Events: 4942 mean_circ: 0.925027
Ran for 123050 frames Cell Events: 4952 mean_circ: 0.924975
Ran for 123550 frames Cell Events: 4970 mean_circ: 0.924998
Ran for 125050 frames Cell Events: 5020 mean_circ: 0.925067
Ran for 125550 frames Cell Events: 5033 mean_circ: 0.925048
Ran for 126550 frames Cell Events: 5081 mean_circ: 0.925172
Ran for 127050 frames Cell Events: 5096 mean_circ: 0.925142
Ran for 127550 frames Cell Events: 5109 mean_circ: 0.92515
Ran for 128050 frames Cell Events: 5137 mean_circ: 0.925218
Ran for 128550 frames Cell Events: 5160 mean_circ: 0.925295
Ran for 129050 frames Cell Events: 5175 mean_circ: 0.925315
Ran for 130050 frames Cell Events: 5227 mean_circ: 0.92538
Ran for 130550 frames Cell Events: 5247 mean_circ: 0.925374
Ran for 131050 frames Cell Events: 5270 mean_circ: 0.9254
Ran for 132550 frames Cell Events: 5329 mean_circ: 0.925402
Ran for 135550 frames Cell Events: 5433 mean_circ: 0.925446
Ran for 136550 frames Cell Events: 5483 mean_circ: 0.925339
Ran for 137050 frames Cell Events: 5494 mean_circ: 0.925369
Ran for 138050 frames Cell Events: 5530 mean_circ: 0.925425
Ran for 138550 frames Cell Events: 5554 mean_circ: 0.925432
Ran for 139550 frames Cell Events: 5591 mean_circ: 0.925443
Ran for 141550 frames Cell Events: 5688 mean_circ: 0.92547
Ran for 142050 frames Cell Events: 5716 mean_circ: 0.925501
Ran for 142550 frames Cell Events: 5739 mean_circ: 0.925546
Ran for 143550 frames Cell Events: 5786 mean_circ: 0.925558
Ran for 144050 frames Cell Events: 5808 mean_circ: 0.925546
Ran for 144550 frames Cell Events: 5827 mean_circ: 0.925562
Ran for 145550 frames Cell Events: 5874 mean_circ: 0.925669
Ran for 146550 frames Cell Events: 5919 mean_circ: 0.925637
Ran for 147550 frames Cell Events: 5951 mean_circ: 0.925521
Ran for 149050 frames Cell Events: 6013 mean_circ: 0.925469
Ran for 149550 frames Cell Events: 6041 mean_circ: 0.925459
Ran for 150550 frames Cell Events: 6088 mean_circ: 0.925501
Ran for 151550 frames Cell Events: 6117 mean_circ: 0.925509
Ran for 153050 frames Cell Events: 6182 mean_circ: 0.925564
Ran for 153550 frames Cell Events: 6201 mean_circ: 0.925581
Ran for 154050 frames Cell Events: 6213 mean_circ: 0.925548
Ran for 155050 frames Cell Events: 6249 mean_circ: 0.925536
Ran for 156050 frames Cell Events: 6284 mean_circ: 0.925427
Ran for 156550 frames Cell Events: 6302 mean_circ: 0.925411
Ran for 157050 frames Cell Events: 6315 mean_circ: 0.925393
Ran for 158050 frames Cell Events: 6354 mean_circ: 0.925403
Ran for 158550 frames Cell Events: 6363 mean_circ: 0.925407
Ran for 160050 frames Cell Events: 6426 mean_circ: 0.925366
Ran for 160550 frames Cell Events: 6449 mean_circ: 0.925375
Ran for 161050 frames Cell Events: 6467 mean_circ: 0.925303
Ran for 161550 frames Cell Events: 6486 mean_circ: 0.925277
Ran for 162050 frames Cell Events: 6510 mean_circ: 0.92518
Ran for 164550 frames Cell Events: 6609 mean_circ: 0.925234
Ran for 167050 frames Cell Events: 6706 mean_circ: 0.92513
Ran for 168050 frames Cell Events: 6752 mean_circ: 0.925099
Ran for 168550 frames Cell Events: 6778 mean_circ: 0.925084
Ran for 169050 frames Cell Events: 6792 mean_circ: 0.92509
Ran for 170050 frames Cell Events: 6828 mean_circ: 0.92515
Ran for 171550 frames Cell Events: 6879 mean_circ: 0.925168
Ran for 174550 frames Cell Events: 6996 mean_circ: 0.925124
Ran for 175050 frames Cell Events: 7017 mean_circ: 0.925069
Ran for 177550 frames Cell Events: 7148 mean_circ: 0.925265
Ran for 179550 frames Cell Events: 7251 mean_circ: 0.925138
Ran for 180050 frames Cell Events: 7276 mean_circ: 0.925188
Ran for 181550 frames Cell Events: 7356 mean_circ: 0.925184
Ran for 182050 frames Cell Events: 7375 mean_circ: 0.925129
Ran for 182550 frames Cell Events: 7403 mean_circ: 0.925198
Ran for 184050 frames Cell Events: 7440 mean_circ: 0.92522
Ran for 184550 frames Cell Events: 7461 mean_circ: 0.92523
Ran for 185050 frames Cell Events: 7485 mean_circ: 0.925165
Ran for 186550 frames Cell Events: 7543 mean_circ: 0.925226
Ran for 187050 frames Cell Events: 7562 mean_circ: 0.925232
Ran for 187550 frames Cell Events: 7574 mean_circ: 0.925258
Ran for 188050 frames Cell Events: 7591 mean_circ: 0.925298
Ran for 188550 frames Cell Events: 7611 mean_circ: 0.925243
Ran for 189050 frames Cell Events: 7630 mean_circ: 0.925237
Ran for 190050 frames Cell Events: 7676 mean_circ: 0.925259
Ran for 190550 frames Cell Events: 7703 mean_circ: 0.925283
Ran for 191050 frames Cell Events: 7726 mean_circ: 0.925269
Ran for 195050 frames Cell Events: 7930 mean_circ: 0.925138
Ran for 196050 frames Cell Events: 7977 mean_circ: 0.925128
Ran for 197550 frames Cell Events: 8031 mean_circ: 0.92514