Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 26.9504
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.18447e+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: 33 mean_circ: 0.905237
Ran for 1050 frames Cell Events: 54 mean_circ: 0.916383
Ran for 1550 frames Cell Events: 72 mean_circ: 0.919174
Ran for 2050 frames Cell Events: 100 mean_circ: 0.921985
Ran for 2550 frames Cell Events: 120 mean_circ: 0.92435
Ran for 4050 frames Cell Events: 178 mean_circ: 0.928091
Ran for 5050 frames Cell Events: 202 mean_circ: 0.928496
Ran for 7550 frames Cell Events: 342 mean_circ: 0.931116
Ran for 8050 frames Cell Events: 367 mean_circ: 0.931119
Ran for 9050 frames Cell Events: 411 mean_circ: 0.932245
Ran for 9550 frames Cell Events: 429 mean_circ: 0.932261
Ran for 10550 frames Cell Events: 479 mean_circ: 0.933621
Ran for 13550 frames Cell Events: 621 mean_circ: 0.933545
Ran for 14550 frames Cell Events: 684 mean_circ: 0.934269
Ran for 15050 frames Cell Events: 702 mean_circ: 0.934349
Ran for 15550 frames Cell Events: 730 mean_circ: 0.934447
Ran for 16050 frames Cell Events: 754 mean_circ: 0.93423
Ran for 16550 frames Cell Events: 777 mean_circ: 0.933866
Ran for 17050 frames Cell Events: 802 mean_circ: 0.934106
Ran for 17550 frames Cell Events: 823 mean_circ: 0.934412
Ran for 18050 frames Cell Events: 843 mean_circ: 0.934631
Ran for 19550 frames Cell Events: 914 mean_circ: 0.934748
Ran for 20050 frames Cell Events: 939 mean_circ: 0.934865
Ran for 20550 frames Cell Events: 974 mean_circ: 0.934961
Ran for 21050 frames Cell Events: 1001 mean_circ: 0.934904
Ran for 21550 frames Cell Events: 1026 mean_circ: 0.934622
Ran for 22050 frames Cell Events: 1051 mean_circ: 0.934586
Ran for 23050 frames Cell Events: 1082 mean_circ: 0.934559
Ran for 23550 frames Cell Events: 1106 mean_circ: 0.934473
Ran for 24550 frames Cell Events: 1174 mean_circ: 0.934078
Ran for 25050 frames Cell Events: 1193 mean_circ: 0.934023
Ran for 26050 frames Cell Events: 1236 mean_circ: 0.934011
Ran for 28550 frames Cell Events: 1345 mean_circ: 0.934034
Ran for 29550 frames Cell Events: 1392 mean_circ: 0.93383
Ran for 30050 frames Cell Events: 1415 mean_circ: 0.933865
Ran for 30550 frames Cell Events: 1433 mean_circ: 0.934069
Ran for 31050 frames Cell Events: 1453 mean_circ: 0.934273
Ran for 31550 frames Cell Events: 1490 mean_circ: 0.93424
Ran for 32050 frames Cell Events: 1520 mean_circ: 0.9343
Ran for 32550 frames Cell Events: 1541 mean_circ: 0.934161
Ran for 33550 frames Cell Events: 1574 mean_circ: 0.934303
Ran for 34550 frames Cell Events: 1618 mean_circ: 0.934644
Ran for 35050 frames Cell Events: 1642 mean_circ: 0.934608
Ran for 36050 frames Cell Events: 1724 mean_circ: 0.934972
Ran for 36550 frames Cell Events: 1755 mean_circ: 0.934881
Ran for 37050 frames Cell Events: 1778 mean_circ: 0.934847
Ran for 37550 frames Cell Events: 1802 mean_circ: 0.935062
Ran for 38550 frames Cell Events: 1862 mean_circ: 0.935403
Ran for 39550 frames Cell Events: 1894 mean_circ: 0.935372
Ran for 40550 frames Cell Events: 1946 mean_circ: 0.935473
Ran for 41550 frames Cell Events: 2003 mean_circ: 0.935569
Ran for 44550 frames Cell Events: 2165 mean_circ: 0.935903
Ran for 46050 frames Cell Events: 2277 mean_circ: 0.935958
Ran for 46550 frames Cell Events: 2299 mean_circ: 0.935991
Ran for 47550 frames Cell Events: 2337 mean_circ: 0.935874
Ran for 48550 frames Cell Events: 2377 mean_circ: 0.936027
Ran for 49050 frames Cell Events: 2404 mean_circ: 0.93593
Ran for 49550 frames Cell Events: 2428 mean_circ: 0.935837
Ran for 50050 frames Cell Events: 2462 mean_circ: 0.935767
Ran for 50550 frames Cell Events: 2481 mean_circ: 0.935688
Ran for 51050 frames Cell Events: 2503 mean_circ: 0.935584
Ran for 51550 frames Cell Events: 2521 mean_circ: 0.935574
Ran for 52050 frames Cell Events: 2548 mean_circ: 0.935557
Ran for 52550 frames Cell Events: 2567 mean_circ: 0.935539
Ran for 53050 frames Cell Events: 2584 mean_circ: 0.935579
Ran for 53550 frames Cell Events: 2604 mean_circ: 0.935547
Ran for 54050 frames Cell Events: 2622 mean_circ: 0.935678
Ran for 55050 frames Cell Events: 2679 mean_circ: 0.935501
Ran for 55550 frames Cell Events: 2701 mean_circ: 0.93566
Ran for 56550 frames Cell Events: 2758 mean_circ: 0.935423
Ran for 57050 frames Cell Events: 2780 mean_circ: 0.935425
Ran for 58050 frames Cell Events: 2819 mean_circ: 0.935403
Ran for 58550 frames Cell Events: 2850 mean_circ: 0.93539
Ran for 59050 frames Cell Events: 2884 mean_circ: 0.935346
Ran for 60550 frames Cell Events: 2954 mean_circ: 0.935339
Ran for 61550 frames Cell Events: 2991 mean_circ: 0.935356
Ran for 62050 frames Cell Events: 3009 mean_circ: 0.935365
Ran for 63050 frames Cell Events: 3045 mean_circ: 0.935352
Ran for 63550 frames Cell Events: 3071 mean_circ: 0.93541
Ran for 64550 frames Cell Events: 3115 mean_circ: 0.935343
Ran for 65050 frames Cell Events: 3129 mean_circ: 0.935358
Ran for 65550 frames Cell Events: 3156 mean_circ: 0.93539
Ran for 66050 frames Cell Events: 3177 mean_circ: 0.935304
Ran for 67050 frames Cell Events: 3191 mean_circ: 0.935291
Ran for 67550 frames Cell Events: 3211 mean_circ: 0.935316
Ran for 68050 frames Cell Events: 3245 mean_circ: 0.935162
Ran for 68550 frames Cell Events: 3262 mean_circ: 0.935267
Ran for 69050 frames Cell Events: 3289 mean_circ: 0.935149
Ran for 69550 frames Cell Events: 3302 mean_circ: 0.935105
Ran for 70550 frames Cell Events: 3336 mean_circ: 0.935085
Ran for 73550 frames Cell Events: 3434 mean_circ: 0.935227
Ran for 74050 frames Cell Events: 3452 mean_circ: 0.935234
Ran for 74550 frames Cell Events: 3472 mean_circ: 0.935147
Ran for 75050 frames Cell Events: 3491 mean_circ: 0.935115
Ran for 75550 frames Cell Events: 3509 mean_circ: 0.935114
Ran for 76550 frames Cell Events: 3557 mean_circ: 0.93526
Ran for 78050 frames Cell Events: 3616 mean_circ: 0.93531
Ran for 79050 frames Cell Events: 3659 mean_circ: 0.935394
Ran for 79550 frames Cell Events: 3687 mean_circ: 0.935385
Ran for 80050 frames Cell Events: 3701 mean_circ: 0.935435
Ran for 80550 frames Cell Events: 3722 mean_circ: 0.935349
Ran for 81550 frames Cell Events: 3790 mean_circ: 0.935238
Ran for 82550 frames Cell Events: 3825 mean_circ: 0.935303
Ran for 83050 frames Cell Events: 3846 mean_circ: 0.935234
Ran for 83550 frames Cell Events: 3861 mean_circ: 0.935269
Ran for 84550 frames Cell Events: 3897 mean_circ: 0.935261
Ran for 85050 frames Cell Events: 3919 mean_circ: 0.935213
Ran for 85550 frames Cell Events: 3940 mean_circ: 0.935313
Ran for 86050 frames Cell Events: 3954 mean_circ: 0.935315
Ran for 87550 frames Cell Events: 4037 mean_circ: 0.935289
Ran for 88050 frames Cell Events: 4055 mean_circ: 0.935267
Ran for 89550 frames Cell Events: 4126 mean_circ: 0.935194
Ran for 90550 frames Cell Events: 4174 mean_circ: 0.935205
Ran for 91050 frames Cell Events: 4198 mean_circ: 0.935261
Ran for 91550 frames Cell Events: 4217 mean_circ: 0.93529
Ran for 92050 frames Cell Events: 4232 mean_circ: 0.935275
Ran for 93550 frames Cell Events: 4322 mean_circ: 0.935218
Ran for 94050 frames Cell Events: 4341 mean_circ: 0.935259
Ran for 94550 frames Cell Events: 4362 mean_circ: 0.935315
Ran for 96050 frames Cell Events: 4436 mean_circ: 0.935331
Ran for 96550 frames Cell Events: 4456 mean_circ: 0.935356
Ran for 97050 frames Cell Events: 4476 mean_circ: 0.935333
Ran for 97550 frames Cell Events: 4494 mean_circ: 0.935281
Ran for 98050 frames Cell Events: 4516 mean_circ: 0.935298
Ran for 98550 frames Cell Events: 4532 mean_circ: 0.935275
Ran for 101550 frames Cell Events: 4675 mean_circ: 0.935427
Ran for 102050 frames Cell Events: 4690 mean_circ: 0.935432
Ran for 102550 frames Cell Events: 4706 mean_circ: 0.935464
Ran for 103050 frames Cell Events: 4730 mean_circ: 0.935465
Ran for 103550 frames Cell Events: 4748 mean_circ: 0.935499
Ran for 104050 frames Cell Events: 4769 mean_circ: 0.935507
Ran for 104550 frames Cell Events: 4794 mean_circ: 0.935508
Ran for 105550 frames Cell Events: 4838 mean_circ: 0.935519
Ran for 108050 frames Cell Events: 4942 mean_circ: 0.935572
Ran for 110050 frames Cell Events: 5038 mean_circ: 0.935566
Ran for 111550 frames Cell Events: 5121 mean_circ: 0.935454
Ran for 112050 frames Cell Events: 5143 mean_circ: 0.93545
Ran for 112550 frames Cell Events: 5172 mean_circ: 0.935508
Ran for 114050 frames Cell Events: 5253 mean_circ: 0.935405
Ran for 115550 frames Cell Events: 5325 mean_circ: 0.935391
Ran for 116050 frames Cell Events: 5355 mean_circ: 0.935331
Ran for 117050 frames Cell Events: 5406 mean_circ: 0.935313
Ran for 117550 frames Cell Events: 5429 mean_circ: 0.935335
Ran for 118050 frames Cell Events: 5447 mean_circ: 0.935227
Ran for 118550 frames Cell Events: 5472 mean_circ: 0.935227
Ran for 119050 frames Cell Events: 5497 mean_circ: 0.935262
Ran for 119550 frames Cell Events: 5522 mean_circ: 0.935214
Ran for 120050 frames Cell Events: 5545 mean_circ: 0.935237
Ran for 120550 frames Cell Events: 5579 mean_circ: 0.935241
Ran for 121050 frames Cell Events: 5595 mean_circ: 0.935267
Ran for 121550 frames Cell Events: 5609 mean_circ: 0.935168
Ran for 122050 frames Cell Events: 5640 mean_circ: 0.935181
Ran for 123050 frames Cell Events: 5683 mean_circ: 0.935143
Ran for 123550 frames Cell Events: 5708 mean_circ: 0.935129
Ran for 124050 frames Cell Events: 5731 mean_circ: 0.935127
Ran for 126050 frames Cell Events: 5821 mean_circ: 0.935027
Ran for 126550 frames Cell Events: 5837 mean_circ: 0.935048
Ran for 127050 frames Cell Events: 5857 mean_circ: 0.935039
Ran for 128550 frames Cell Events: 5927 mean_circ: 0.935055
Ran for 129550 frames Cell Events: 5983 mean_circ: 0.935064
Ran for 130050 frames Cell Events: 6009 mean_circ: 0.935044
Ran for 130550 frames Cell Events: 6036 mean_circ: 0.93507
Ran for 131050 frames Cell Events: 6061 mean_circ: 0.935084
Ran for 131550 frames Cell Events: 6083 mean_circ: 0.935138
Ran for 132050 frames Cell Events: 6103 mean_circ: 0.935167
Ran for 133050 frames Cell Events: 6141 mean_circ: 0.935131
Ran for 133550 frames Cell Events: 6157 mean_circ: 0.935101
Ran for 134050 frames Cell Events: 6178 mean_circ: 0.935107
Ran for 135550 frames Cell Events: 6242 mean_circ: 0.9351
Ran for 136050 frames Cell Events: 6266 mean_circ: 0.935144
Ran for 136550 frames Cell Events: 6289 mean_circ: 0.935072
Ran for 137050 frames Cell Events: 6318 mean_circ: 0.935083
Ran for 137550 frames Cell Events: 6341 mean_circ: 0.93509
Ran for 138050 frames Cell Events: 6360 mean_circ: 0.935111
Ran for 138550 frames Cell Events: 6383 mean_circ: 0.935153
Ran for 139050 frames Cell Events: 6410 mean_circ: 0.935157
Ran for 140050 frames Cell Events: 6455 mean_circ: 0.935088
Ran for 141550 frames Cell Events: 6542 mean_circ: 0.935125
Ran for 142550 frames Cell Events: 6585 mean_circ: 0.935134
Ran for 144050 frames Cell Events: 6671 mean_circ: 0.935238
Ran for 144550 frames Cell Events: 6694 mean_circ: 0.93524
Ran for 145050 frames Cell Events: 6721 mean_circ: 0.935298
Ran for 146050 frames Cell Events: 6759 mean_circ: 0.935304
Ran for 148050 frames Cell Events: 6839 mean_circ: 0.935352
Ran for 148550 frames Cell Events: 6859 mean_circ: 0.935343
Ran for 150550 frames Cell Events: 6921 mean_circ: 0.935394
Ran for 151050 frames Cell Events: 6938 mean_circ: 0.935359
Ran for 151550 frames Cell Events: 6966 mean_circ: 0.935331
Ran for 153550 frames Cell Events: 7047 mean_circ: 0.935341
Ran for 154050 frames Cell Events: 7086 mean_circ: 0.935392
Ran for 154550 frames Cell Events: 7107 mean_circ: 0.935429
Ran for 155050 frames Cell Events: 7126 mean_circ: 0.935437
Ran for 155550 frames Cell Events: 7144 mean_circ: 0.935403
Ran for 156050 frames Cell Events: 7173 mean_circ: 0.935407
Ran for 157050 frames Cell Events: 7224 mean_circ: 0.935265
Ran for 157550 frames Cell Events: 7255 mean_circ: 0.935288
Ran for 158050 frames Cell Events: 7288 mean_circ: 0.93522
Ran for 159050 frames Cell Events: 7344 mean_circ: 0.935244
Ran for 159550 frames Cell Events: 7357 mean_circ: 0.935244
Ran for 160050 frames Cell Events: 7372 mean_circ: 0.935269
Ran for 160550 frames Cell Events: 7391 mean_circ: 0.935273
Ran for 161050 frames Cell Events: 7402 mean_circ: 0.935263
Ran for 161550 frames Cell Events: 7427 mean_circ: 0.935287
Ran for 162050 frames Cell Events: 7449 mean_circ: 0.935252
Ran for 163050 frames Cell Events: 7498 mean_circ: 0.935217
Ran for 164050 frames Cell Events: 7554 mean_circ: 0.935095
Ran for 164550 frames Cell Events: 7570 mean_circ: 0.935132
Ran for 165050 frames Cell Events: 7583 mean_circ: 0.935113
Ran for 165550 frames Cell Events: 7599 mean_circ: 0.935075
Ran for 166050 frames Cell Events: 7618 mean_circ: 0.935055
Ran for 166550 frames Cell Events: 7636 mean_circ: 0.935064
Ran for 167550 frames Cell Events: 7665 mean_circ: 0.935052
Ran for 168050 frames Cell Events: 7682 mean_circ: 0.935068
Ran for 169050 frames Cell Events: 7734 mean_circ: 0.93495
Ran for 169550 frames Cell Events: 7750 mean_circ: 0.934962
Ran for 170050 frames Cell Events: 7770 mean_circ: 0.934966
Ran for 170550 frames Cell Events: 7800 mean_circ: 0.934988
Ran for 172050 frames Cell Events: 7881 mean_circ: 0.93503
Ran for 173050 frames Cell Events: 7919 mean_circ: 0.935007
Ran for 173550 frames Cell Events: 7932 mean_circ: 0.935004
Ran for 174050 frames Cell Events: 7950 mean_circ: 0.935024
Ran for 174550 frames Cell Events: 7971 mean_circ: 0.935061
Ran for 175550 frames Cell Events: 8014 mean_circ: 0.935095
Ran for 176050 frames Cell Events: 8041 mean_circ: 0.935107
Ran for 176550 frames Cell Events: 8064 mean_circ: 0.935099
Ran for 177550 frames Cell Events: 8108 mean_circ: 0.934955
Ran for 178050 frames Cell Events: 8118 mean_circ: 0.934946
Ran for 178550 frames Cell Events: 8139 mean_circ: 0.934916
Ran for 179050 frames Cell Events: 8158 mean_circ: 0.934926
Ran for 180050 frames Cell Events: 8195 mean_circ: 0.934938
Ran for 181050 frames Cell Events: 8248 mean_circ: 0.934955
Ran for 181550 frames Cell Events: 8266 mean_circ: 0.934971
Ran for 182050 frames Cell Events: 8297 mean_circ: 0.935001
Ran for 183050 frames Cell Events: 8351 mean_circ: 0.93489
Ran for 184050 frames Cell Events: 8390 mean_circ: 0.934972
Ran for 184550 frames Cell Events: 8417 mean_circ: 0.934991
Ran for 185050 frames Cell Events: 8439 mean_circ: 0.935002
Ran for 186550 frames Cell Events: 8512 mean_circ: 0.934993
Ran for 187050 frames Cell Events: 8536 mean_circ: 0.934974
Ran for 187550 frames Cell Events: 8564 mean_circ: 0.934953
Ran for 188050 frames Cell Events: 8582 mean_circ: 0.934993
Ran for 188550 frames Cell Events: 8602 mean_circ: 0.935006
Ran for 189050 frames Cell Events: 8621 mean_circ: 0.935032
Ran for 189550 frames Cell Events: 8654 mean_circ: 0.935054
Ran for 191050 frames Cell Events: 8719 mean_circ: 0.935125
Ran for 192050 frames Cell Events: 8766 mean_circ: 0.935133
Ran for 192550 frames Cell Events: 8788 mean_circ: 0.935134
Ran for 193050 frames Cell Events: 8824 mean_circ: 0.935083
Ran for 193550 frames Cell Events: 8840 mean_circ: 0.935075
Ran for 194050 frames Cell Events: 8861 mean_circ: 0.935121
Ran for 194550 frames Cell Events: 8877 mean_circ: 0.935078
Ran for 195050 frames Cell Events: 8908 mean_circ: 0.935114
Ran for 196050 frames Cell Events: 8962 mean_circ: 0.935155
Ran for 199050 frames Cell Events: 9090 mean_circ: 0.935108