Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.2775
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 2.18107e+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 1050 frames Cell Events: 38 mean_circ: 0.932158
Ran for 2050 frames Cell Events: 64 mean_circ: 0.934458
Ran for 2550 frames Cell Events: 85 mean_circ: 0.932864
Ran for 3050 frames Cell Events: 109 mean_circ: 0.93508
Ran for 4050 frames Cell Events: 148 mean_circ: 0.934805
Ran for 5050 frames Cell Events: 181 mean_circ: 0.935471
Ran for 6050 frames Cell Events: 224 mean_circ: 0.93367
Ran for 8050 frames Cell Events: 314 mean_circ: 0.935017
Ran for 8550 frames Cell Events: 337 mean_circ: 0.935398
Ran for 9050 frames Cell Events: 359 mean_circ: 0.936286
Ran for 9550 frames Cell Events: 371 mean_circ: 0.936412
Ran for 10050 frames Cell Events: 388 mean_circ: 0.936675
Ran for 11050 frames Cell Events: 434 mean_circ: 0.934892
Ran for 12050 frames Cell Events: 485 mean_circ: 0.934766
Ran for 12550 frames Cell Events: 527 mean_circ: 0.934766
Ran for 15050 frames Cell Events: 620 mean_circ: 0.934856
Ran for 15550 frames Cell Events: 640 mean_circ: 0.935145
Ran for 16050 frames Cell Events: 667 mean_circ: 0.93485
Ran for 16550 frames Cell Events: 691 mean_circ: 0.934937
Ran for 19050 frames Cell Events: 793 mean_circ: 0.935361
Ran for 21050 frames Cell Events: 869 mean_circ: 0.934868
Ran for 21550 frames Cell Events: 884 mean_circ: 0.934621
Ran for 23050 frames Cell Events: 949 mean_circ: 0.934662
Ran for 24050 frames Cell Events: 981 mean_circ: 0.934737
Ran for 24550 frames Cell Events: 998 mean_circ: 0.9348
Ran for 25050 frames Cell Events: 1021 mean_circ: 0.934744
Ran for 25550 frames Cell Events: 1042 mean_circ: 0.934814
Ran for 26050 frames Cell Events: 1058 mean_circ: 0.934897
Ran for 26550 frames Cell Events: 1080 mean_circ: 0.934444
Ran for 28050 frames Cell Events: 1136 mean_circ: 0.933962
Ran for 28550 frames Cell Events: 1152 mean_circ: 0.933927
Ran for 29550 frames Cell Events: 1208 mean_circ: 0.933777
Ran for 30050 frames Cell Events: 1226 mean_circ: 0.933803
Ran for 30550 frames Cell Events: 1245 mean_circ: 0.933785
Ran for 31550 frames Cell Events: 1278 mean_circ: 0.933847
Ran for 32050 frames Cell Events: 1298 mean_circ: 0.933898
Ran for 32550 frames Cell Events: 1330 mean_circ: 0.934078
Ran for 34050 frames Cell Events: 1379 mean_circ: 0.934213
Ran for 34550 frames Cell Events: 1388 mean_circ: 0.934087
Ran for 35050 frames Cell Events: 1415 mean_circ: 0.934056
Ran for 35550 frames Cell Events: 1429 mean_circ: 0.93392
Ran for 37050 frames Cell Events: 1504 mean_circ: 0.934296
Ran for 38050 frames Cell Events: 1538 mean_circ: 0.934407
Ran for 39050 frames Cell Events: 1578 mean_circ: 0.934521
Ran for 39550 frames Cell Events: 1595 mean_circ: 0.93477
Ran for 40550 frames Cell Events: 1628 mean_circ: 0.935078
Ran for 42050 frames Cell Events: 1681 mean_circ: 0.935037
Ran for 42550 frames Cell Events: 1690 mean_circ: 0.935057
Ran for 43050 frames Cell Events: 1710 mean_circ: 0.935257
Ran for 44050 frames Cell Events: 1734 mean_circ: 0.935244
Ran for 45050 frames Cell Events: 1769 mean_circ: 0.935341
Ran for 45550 frames Cell Events: 1780 mean_circ: 0.935334
Ran for 46050 frames Cell Events: 1794 mean_circ: 0.9355
Ran for 46550 frames Cell Events: 1816 mean_circ: 0.935461
Ran for 47050 frames Cell Events: 1832 mean_circ: 0.935604
Ran for 49050 frames Cell Events: 1922 mean_circ: 0.936
Ran for 50050 frames Cell Events: 1946 mean_circ: 0.936094
Ran for 52050 frames Cell Events: 2038 mean_circ: 0.936083
Ran for 52550 frames Cell Events: 2065 mean_circ: 0.93617
Ran for 53050 frames Cell Events: 2078 mean_circ: 0.936145
Ran for 54050 frames Cell Events: 2102 mean_circ: 0.936194
Ran for 54550 frames Cell Events: 2125 mean_circ: 0.936308
Ran for 55050 frames Cell Events: 2143 mean_circ: 0.936313
Ran for 55550 frames Cell Events: 2167 mean_circ: 0.936151
Ran for 56050 frames Cell Events: 2189 mean_circ: 0.93616
Ran for 57050 frames Cell Events: 2223 mean_circ: 0.936005
Ran for 57550 frames Cell Events: 2238 mean_circ: 0.936172
Ran for 59550 frames Cell Events: 2309 mean_circ: 0.936251
Ran for 60050 frames Cell Events: 2328 mean_circ: 0.936201
Ran for 60550 frames Cell Events: 2353 mean_circ: 0.936222
Ran for 61050 frames Cell Events: 2379 mean_circ: 0.936209
Ran for 61550 frames Cell Events: 2393 mean_circ: 0.936202
Ran for 62050 frames Cell Events: 2407 mean_circ: 0.936238
Ran for 62550 frames Cell Events: 2422 mean_circ: 0.936155
Ran for 63550 frames Cell Events: 2466 mean_circ: 0.935847
Ran for 64050 frames Cell Events: 2486 mean_circ: 0.935732
Ran for 65050 frames Cell Events: 2512 mean_circ: 0.935768
Ran for 66550 frames Cell Events: 2563 mean_circ: 0.935689
Ran for 67050 frames Cell Events: 2580 mean_circ: 0.935579
Ran for 68050 frames Cell Events: 2612 mean_circ: 0.935551
Ran for 68550 frames Cell Events: 2636 mean_circ: 0.935445
Ran for 69050 frames Cell Events: 2660 mean_circ: 0.935255
Ran for 70550 frames Cell Events: 2732 mean_circ: 0.935049
Ran for 71550 frames Cell Events: 2763 mean_circ: 0.935021
Ran for 72550 frames Cell Events: 2799 mean_circ: 0.934882
Ran for 73050 frames Cell Events: 2815 mean_circ: 0.934905
Ran for 73550 frames Cell Events: 2825 mean_circ: 0.934961
Ran for 74050 frames Cell Events: 2850 mean_circ: 0.935067
Ran for 75050 frames Cell Events: 2887 mean_circ: 0.93517
Ran for 75550 frames Cell Events: 2905 mean_circ: 0.935179
Ran for 76050 frames Cell Events: 2933 mean_circ: 0.935316
Ran for 76550 frames Cell Events: 2952 mean_circ: 0.935309
Ran for 77550 frames Cell Events: 2994 mean_circ: 0.935496
Ran for 78050 frames Cell Events: 3013 mean_circ: 0.935493
Ran for 78550 frames Cell Events: 3042 mean_circ: 0.935467
Ran for 79550 frames Cell Events: 3085 mean_circ: 0.935469
Ran for 80550 frames Cell Events: 3115 mean_circ: 0.935496
Ran for 81050 frames Cell Events: 3134 mean_circ: 0.935575
Ran for 82050 frames Cell Events: 3165 mean_circ: 0.935707
Ran for 83050 frames Cell Events: 3211 mean_circ: 0.935627
Ran for 83550 frames Cell Events: 3230 mean_circ: 0.935608
Ran for 84050 frames Cell Events: 3244 mean_circ: 0.935556
Ran for 84550 frames Cell Events: 3254 mean_circ: 0.93557
Ran for 85050 frames Cell Events: 3270 mean_circ: 0.935547
Ran for 85550 frames Cell Events: 3288 mean_circ: 0.935547
Ran for 86050 frames Cell Events: 3306 mean_circ: 0.935619
Ran for 86550 frames Cell Events: 3318 mean_circ: 0.935624
Ran for 87550 frames Cell Events: 3342 mean_circ: 0.935616
Ran for 88050 frames Cell Events: 3354 mean_circ: 0.935558
Ran for 88550 frames Cell Events: 3377 mean_circ: 0.93557
Ran for 89050 frames Cell Events: 3396 mean_circ: 0.935582
Ran for 89550 frames Cell Events: 3413 mean_circ: 0.935553
Ran for 90050 frames Cell Events: 3426 mean_circ: 0.935464
Ran for 90550 frames Cell Events: 3447 mean_circ: 0.935508
Ran for 91550 frames Cell Events: 3477 mean_circ: 0.935491
Ran for 92050 frames Cell Events: 3494 mean_circ: 0.935479
Ran for 93050 frames Cell Events: 3532 mean_circ: 0.935482
Ran for 93550 frames Cell Events: 3545 mean_circ: 0.935492
Ran for 95550 frames Cell Events: 3641 mean_circ: 0.935455
Ran for 96050 frames Cell Events: 3659 mean_circ: 0.93536
Ran for 97050 frames Cell Events: 3699 mean_circ: 0.935491
Ran for 99050 frames Cell Events: 3752 mean_circ: 0.935459
Ran for 99550 frames Cell Events: 3767 mean_circ: 0.935527
Ran for 100050 frames Cell Events: 3784 mean_circ: 0.935501
Ran for 101050 frames Cell Events: 3828 mean_circ: 0.935366
Ran for 102050 frames Cell Events: 3867 mean_circ: 0.935272
Ran for 102550 frames Cell Events: 3886 mean_circ: 0.935302
Ran for 104050 frames Cell Events: 3937 mean_circ: 0.93531
Ran for 104550 frames Cell Events: 3959 mean_circ: 0.935256
Ran for 105550 frames Cell Events: 3989 mean_circ: 0.935293
Ran for 106050 frames Cell Events: 4002 mean_circ: 0.935333
Ran for 106550 frames Cell Events: 4019 mean_circ: 0.935268
Ran for 107050 frames Cell Events: 4038 mean_circ: 0.935175
Ran for 108050 frames Cell Events: 4072 mean_circ: 0.935201
Ran for 108550 frames Cell Events: 4094 mean_circ: 0.935185
Ran for 109050 frames Cell Events: 4109 mean_circ: 0.935133
Ran for 109550 frames Cell Events: 4124 mean_circ: 0.935175
Ran for 111050 frames Cell Events: 4174 mean_circ: 0.935176
Ran for 112050 frames Cell Events: 4214 mean_circ: 0.935149
Ran for 113550 frames Cell Events: 4280 mean_circ: 0.935231
Ran for 114050 frames Cell Events: 4300 mean_circ: 0.93525
Ran for 116050 frames Cell Events: 4410 mean_circ: 0.935013
Ran for 116550 frames Cell Events: 4429 mean_circ: 0.935001
Ran for 117050 frames Cell Events: 4451 mean_circ: 0.935035
Ran for 118050 frames Cell Events: 4495 mean_circ: 0.93503
Ran for 118550 frames Cell Events: 4505 mean_circ: 0.935063
Ran for 119050 frames Cell Events: 4525 mean_circ: 0.935051
Ran for 120050 frames Cell Events: 4562 mean_circ: 0.93503
Ran for 120550 frames Cell Events: 4579 mean_circ: 0.93502
Ran for 121050 frames Cell Events: 4599 mean_circ: 0.934996
Ran for 122050 frames Cell Events: 4643 mean_circ: 0.935056
Ran for 122550 frames Cell Events: 4675 mean_circ: 0.935076
Ran for 123550 frames Cell Events: 4724 mean_circ: 0.935012
Ran for 125050 frames Cell Events: 4788 mean_circ: 0.935063
Ran for 125550 frames Cell Events: 4805 mean_circ: 0.935052
Ran for 126050 frames Cell Events: 4829 mean_circ: 0.935077
Ran for 126550 frames Cell Events: 4850 mean_circ: 0.935082
Ran for 127050 frames Cell Events: 4866 mean_circ: 0.935085
Ran for 128050 frames Cell Events: 4912 mean_circ: 0.935159
Ran for 128550 frames Cell Events: 4923 mean_circ: 0.935145
Ran for 129550 frames Cell Events: 4971 mean_circ: 0.935151
Ran for 130550 frames Cell Events: 5012 mean_circ: 0.935163
Ran for 131550 frames Cell Events: 5049 mean_circ: 0.935169
Ran for 132050 frames Cell Events: 5078 mean_circ: 0.935209
Ran for 133050 frames Cell Events: 5103 mean_circ: 0.935225
Ran for 134550 frames Cell Events: 5175 mean_circ: 0.935337
Ran for 135550 frames Cell Events: 5210 mean_circ: 0.935328
Ran for 136050 frames Cell Events: 5231 mean_circ: 0.935285
Ran for 136550 frames Cell Events: 5246 mean_circ: 0.935304
Ran for 137050 frames Cell Events: 5261 mean_circ: 0.935278
Ran for 139050 frames Cell Events: 5342 mean_circ: 0.935232
Ran for 140050 frames Cell Events: 5385 mean_circ: 0.935208
Ran for 143550 frames Cell Events: 5521 mean_circ: 0.935134
Ran for 144550 frames Cell Events: 5568 mean_circ: 0.935033
Ran for 145550 frames Cell Events: 5616 mean_circ: 0.935037
Ran for 146050 frames Cell Events: 5639 mean_circ: 0.935032
Ran for 146550 frames Cell Events: 5662 mean_circ: 0.935062
Ran for 147050 frames Cell Events: 5680 mean_circ: 0.935049
Ran for 148050 frames Cell Events: 5728 mean_circ: 0.935049
Ran for 148550 frames Cell Events: 5743 mean_circ: 0.935052
Ran for 149050 frames Cell Events: 5766 mean_circ: 0.935074
Ran for 149550 frames Cell Events: 5791 mean_circ: 0.935077
Ran for 150550 frames Cell Events: 5849 mean_circ: 0.935081
Ran for 151550 frames Cell Events: 5887 mean_circ: 0.935088
Ran for 152050 frames Cell Events: 5912 mean_circ: 0.935114
Ran for 152550 frames Cell Events: 5923 mean_circ: 0.935137
Ran for 153550 frames Cell Events: 5966 mean_circ: 0.935092
Ran for 154050 frames Cell Events: 5987 mean_circ: 0.935074
Ran for 155050 frames Cell Events: 6045 mean_circ: 0.935025
Ran for 155550 frames Cell Events: 6067 mean_circ: 0.934985
Ran for 157050 frames Cell Events: 6147 mean_circ: 0.935063
Ran for 158050 frames Cell Events: 6179 mean_circ: 0.935105
Ran for 159550 frames Cell Events: 6255 mean_circ: 0.935123
Ran for 160050 frames Cell Events: 6273 mean_circ: 0.935117
Ran for 161550 frames Cell Events: 6324 mean_circ: 0.935123
Ran for 162050 frames Cell Events: 6334 mean_circ: 0.935128
Ran for 162550 frames Cell Events: 6353 mean_circ: 0.935121
Ran for 163050 frames Cell Events: 6370 mean_circ: 0.935094
Ran for 163550 frames Cell Events: 6393 mean_circ: 0.935077
Ran for 165550 frames Cell Events: 6449 mean_circ: 0.935129
Ran for 169050 frames Cell Events: 6588 mean_circ: 0.935062
Ran for 169550 frames Cell Events: 6604 mean_circ: 0.935074
Ran for 174550 frames Cell Events: 6813 mean_circ: 0.935083
Ran for 175550 frames Cell Events: 6850 mean_circ: 0.935104
Ran for 176050 frames Cell Events: 6874 mean_circ: 0.935033
Ran for 176550 frames Cell Events: 6889 mean_circ: 0.935032
Ran for 177050 frames Cell Events: 6900 mean_circ: 0.935031
Ran for 177550 frames Cell Events: 6925 mean_circ: 0.93502
Ran for 178050 frames Cell Events: 6953 mean_circ: 0.935005
Ran for 178550 frames Cell Events: 6976 mean_circ: 0.934956
Ran for 179550 frames Cell Events: 7017 mean_circ: 0.934987
Ran for 180050 frames Cell Events: 7033 mean_circ: 0.935014
Ran for 181050 frames Cell Events: 7074 mean_circ: 0.934953
Ran for 181550 frames Cell Events: 7100 mean_circ: 0.934958
Ran for 182050 frames Cell Events: 7112 mean_circ: 0.934946
Ran for 183550 frames Cell Events: 7147 mean_circ: 0.934956
Ran for 184050 frames Cell Events: 7168 mean_circ: 0.934927
Ran for 184550 frames Cell Events: 7191 mean_circ: 0.934936
Ran for 187550 frames Cell Events: 7337 mean_circ: 0.934836
Ran for 188050 frames Cell Events: 7359 mean_circ: 0.934836
Ran for 189050 frames Cell Events: 7407 mean_circ: 0.934737
Ran for 189550 frames Cell Events: 7420 mean_circ: 0.934738
Ran for 192550 frames Cell Events: 7550 mean_circ: 0.934717
Ran for 193050 frames Cell Events: 7568 mean_circ: 0.934689
Ran for 194050 frames Cell Events: 7599 mean_circ: 0.934666
Ran for 195050 frames Cell Events: 7645 mean_circ: 0.934689
Ran for 195550 frames Cell Events: 7662 mean_circ: 0.934708
Ran for 197050 frames Cell Events: 7727 mean_circ: 0.934745
Ran for 198050 frames Cell Events: 7770 mean_circ: 0.934761
Ran for 199050 frames Cell Events: 7807 mean_circ: 0.934797
Ran for 199550 frames Cell Events: 7823 mean_circ: 0.934798
Ran for 200550 frames Cell Events: 7861 mean_circ: 0.934813
Ran for 201550 frames Cell Events: 7885 mean_circ: 0.934824
Ran for 203050 frames Cell Events: 7944 mean_circ: 0.934842
Ran for 204050 frames Cell Events: 7988 mean_circ: 0.934894
Ran for 204550 frames Cell Events: 8009 mean_circ: 0.934889
Ran for 205050 frames Cell Events: 8028 mean_circ: 0.934908
Ran for 206050 frames Cell Events: 8074 mean_circ: 0.93492
Ran for 206550 frames Cell Events: 8092 mean_circ: 0.934947
Ran for 207050 frames Cell Events: 8111 mean_circ: 0.934968
Ran for 208050 frames Cell Events: 8157 mean_circ: 0.935007
Ran for 208550 frames Cell Events: 8181 mean_circ: 0.934979
Ran for 209550 frames Cell Events: 8215 mean_circ: 0.935033
Ran for 210050 frames Cell Events: 8234 mean_circ: 0.935048
Ran for 211050 frames Cell Events: 8263 mean_circ: 0.935039
Ran for 212050 frames Cell Events: 8292 mean_circ: 0.935047
Ran for 212550 frames Cell Events: 8306 mean_circ: 0.935051
Ran for 213050 frames Cell Events: 8336 mean_circ: 0.935058
Ran for 214550 frames Cell Events: 8394 mean_circ: 0.934981
Ran for 216050 frames Cell Events: 8458 mean_circ: 0.93503
Ran for 216550 frames Cell Events: 8473 mean_circ: 0.935021
Ran for 217050 frames Cell Events: 8490 mean_circ: 0.935017
Ran for 218050 frames Cell Events: 8512 mean_circ: 0.93499
Ran for 219550 frames Cell Events: 8574 mean_circ: 0.934952
Ran for 220050 frames Cell Events: 8600 mean_circ: 0.934986
Ran for 220550 frames Cell Events: 8610 mean_circ: 0.934969
Ran for 221050 frames Cell Events: 8632 mean_circ: 0.934969
Ran for 221550 frames Cell Events: 8639 mean_circ: 0.934997
Ran for 223050 frames Cell Events: 8700 mean_circ: 0.935005
Ran for 223550 frames Cell Events: 8715 mean_circ: 0.934957
Ran for 224550 frames Cell Events: 8753 mean_circ: 0.934958
Ran for 227050 frames Cell Events: 8856 mean_circ: 0.934985
Ran for 228550 frames Cell Events: 8929 mean_circ: 0.934952
Ran for 229050 frames Cell Events: 8955 mean_circ: 0.934893
Ran for 230550 frames Cell Events: 9008 mean_circ: 0.934849
Ran for 231050 frames Cell Events: 9028 mean_circ: 0.934835
Ran for 231550 frames Cell Events: 9043 mean_circ: 0.934862
Ran for 232050 frames Cell Events: 9064 mean_circ: 0.934834
Ran for 235550 frames Cell Events: 9196 mean_circ: 0.934757
Ran for 236050 frames Cell Events: 9219 mean_circ: 0.934729
Ran for 236550 frames Cell Events: 9240 mean_circ: 0.934754
Ran for 237050 frames Cell Events: 9262 mean_circ: 0.934763
Ran for 237550 frames Cell Events: 9288 mean_circ: 0.934725
Ran for 239550 frames Cell Events: 9381 mean_circ: 0.934727
Ran for 241050 frames Cell Events: 9447 mean_circ: 0.934751
Ran for 242550 frames Cell Events: 9503 mean_circ: 0.934712