Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.0159
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.92674e+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 50 frames Cell Events: 0 mean_circ: 0.915845
Ran for 550 frames Cell Events: 13 mean_circ: 0.968286
Ran for 1050 frames Cell Events: 36 mean_circ: 0.961631
Ran for 2050 frames Cell Events: 71 mean_circ: 0.95196
Ran for 2550 frames Cell Events: 88 mean_circ: 0.953937
Ran for 3050 frames Cell Events: 102 mean_circ: 0.955471
Ran for 4050 frames Cell Events: 158 mean_circ: 0.949072
Ran for 4550 frames Cell Events: 197 mean_circ: 0.945635
Ran for 5050 frames Cell Events: 228 mean_circ: 0.946915
Ran for 6550 frames Cell Events: 311 mean_circ: 0.946707
Ran for 8050 frames Cell Events: 398 mean_circ: 0.942469
Ran for 9050 frames Cell Events: 446 mean_circ: 0.943225
Ran for 9550 frames Cell Events: 461 mean_circ: 0.943262
Ran for 11050 frames Cell Events: 550 mean_circ: 0.9421
Ran for 13050 frames Cell Events: 650 mean_circ: 0.942932
Ran for 13550 frames Cell Events: 668 mean_circ: 0.94287
Ran for 14550 frames Cell Events: 710 mean_circ: 0.943381
Ran for 15550 frames Cell Events: 752 mean_circ: 0.943363
Ran for 16050 frames Cell Events: 771 mean_circ: 0.943601
Ran for 18050 frames Cell Events: 854 mean_circ: 0.944358
Ran for 19050 frames Cell Events: 892 mean_circ: 0.944807
Ran for 20050 frames Cell Events: 927 mean_circ: 0.945067
Ran for 20550 frames Cell Events: 944 mean_circ: 0.945058
Ran for 21050 frames Cell Events: 971 mean_circ: 0.94487
Ran for 22050 frames Cell Events: 1013 mean_circ: 0.945336
Ran for 23050 frames Cell Events: 1058 mean_circ: 0.945527
Ran for 24550 frames Cell Events: 1135 mean_circ: 0.945546
Ran for 25050 frames Cell Events: 1164 mean_circ: 0.94551
Ran for 26550 frames Cell Events: 1204 mean_circ: 0.945769
Ran for 27550 frames Cell Events: 1242 mean_circ: 0.945888
Ran for 28050 frames Cell Events: 1262 mean_circ: 0.945848
Ran for 29050 frames Cell Events: 1301 mean_circ: 0.946413
Ran for 31050 frames Cell Events: 1370 mean_circ: 0.945963
Ran for 31550 frames Cell Events: 1394 mean_circ: 0.945657
Ran for 32050 frames Cell Events: 1423 mean_circ: 0.945617
Ran for 32550 frames Cell Events: 1454 mean_circ: 0.945715
Ran for 33550 frames Cell Events: 1501 mean_circ: 0.946015
Ran for 34550 frames Cell Events: 1549 mean_circ: 0.946136
Ran for 35550 frames Cell Events: 1594 mean_circ: 0.946022
Ran for 36050 frames Cell Events: 1614 mean_circ: 0.946053
Ran for 36550 frames Cell Events: 1627 mean_circ: 0.945873
Ran for 37550 frames Cell Events: 1674 mean_circ: 0.946036
Ran for 38050 frames Cell Events: 1706 mean_circ: 0.946032
Ran for 38550 frames Cell Events: 1737 mean_circ: 0.946268
Ran for 39550 frames Cell Events: 1777 mean_circ: 0.946262
Ran for 40050 frames Cell Events: 1791 mean_circ: 0.946409
Ran for 42550 frames Cell Events: 1913 mean_circ: 0.946341
Ran for 43050 frames Cell Events: 1929 mean_circ: 0.94664
Ran for 43550 frames Cell Events: 1950 mean_circ: 0.946644
Ran for 44050 frames Cell Events: 1968 mean_circ: 0.946496
Ran for 44550 frames Cell Events: 1984 mean_circ: 0.946483
Ran for 45050 frames Cell Events: 2015 mean_circ: 0.946564
Ran for 45550 frames Cell Events: 2038 mean_circ: 0.946647
Ran for 47050 frames Cell Events: 2104 mean_circ: 0.946728
Ran for 47550 frames Cell Events: 2127 mean_circ: 0.94679
Ran for 49550 frames Cell Events: 2225 mean_circ: 0.946736
Ran for 50050 frames Cell Events: 2251 mean_circ: 0.946703
Ran for 51050 frames Cell Events: 2302 mean_circ: 0.946736
Ran for 51550 frames Cell Events: 2326 mean_circ: 0.94673
Ran for 56050 frames Cell Events: 2614 mean_circ: 0.946792
Ran for 56550 frames Cell Events: 2638 mean_circ: 0.946844
Ran for 57550 frames Cell Events: 2679 mean_circ: 0.946979
Ran for 58550 frames Cell Events: 2733 mean_circ: 0.946779
Ran for 59050 frames Cell Events: 2752 mean_circ: 0.946729
Ran for 60550 frames Cell Events: 2820 mean_circ: 0.946671
Ran for 62050 frames Cell Events: 2893 mean_circ: 0.946945
Ran for 64050 frames Cell Events: 3018 mean_circ: 0.946867
Ran for 64550 frames Cell Events: 3041 mean_circ: 0.946899
Ran for 67550 frames Cell Events: 3174 mean_circ: 0.947016
Ran for 69050 frames Cell Events: 3254 mean_circ: 0.947001
Ran for 69550 frames Cell Events: 3269 mean_circ: 0.947013
Ran for 70050 frames Cell Events: 3286 mean_circ: 0.947025
Ran for 71050 frames Cell Events: 3324 mean_circ: 0.947022
Ran for 71550 frames Cell Events: 3342 mean_circ: 0.947048
Ran for 72050 frames Cell Events: 3360 mean_circ: 0.947083
Ran for 72550 frames Cell Events: 3375 mean_circ: 0.94713
Ran for 73050 frames Cell Events: 3400 mean_circ: 0.947057
Ran for 73550 frames Cell Events: 3428 mean_circ: 0.94703
Ran for 74550 frames Cell Events: 3455 mean_circ: 0.946965
Ran for 75050 frames Cell Events: 3481 mean_circ: 0.947004
Ran for 75550 frames Cell Events: 3503 mean_circ: 0.947017
Ran for 78050 frames Cell Events: 3616 mean_circ: 0.947079
Ran for 78550 frames Cell Events: 3639 mean_circ: 0.947114
Ran for 79550 frames Cell Events: 3680 mean_circ: 0.94713
Ran for 80050 frames Cell Events: 3708 mean_circ: 0.947106
Ran for 81550 frames Cell Events: 3766 mean_circ: 0.946893
Ran for 82050 frames Cell Events: 3791 mean_circ: 0.946935
Ran for 82550 frames Cell Events: 3814 mean_circ: 0.947002
Ran for 83050 frames Cell Events: 3839 mean_circ: 0.947018
Ran for 83550 frames Cell Events: 3863 mean_circ: 0.946965
Ran for 84050 frames Cell Events: 3889 mean_circ: 0.94697
Ran for 84550 frames Cell Events: 3904 mean_circ: 0.946986
Ran for 86050 frames Cell Events: 3992 mean_circ: 0.946794
Ran for 87050 frames Cell Events: 4044 mean_circ: 0.946822
Ran for 88050 frames Cell Events: 4087 mean_circ: 0.946845
Ran for 88550 frames Cell Events: 4112 mean_circ: 0.946823
Ran for 89550 frames Cell Events: 4150 mean_circ: 0.946879
Ran for 90050 frames Cell Events: 4177 mean_circ: 0.946873
Ran for 90550 frames Cell Events: 4199 mean_circ: 0.946926
Ran for 91550 frames Cell Events: 4249 mean_circ: 0.947089
Ran for 92050 frames Cell Events: 4276 mean_circ: 0.947061
Ran for 92550 frames Cell Events: 4302 mean_circ: 0.947061
Ran for 93050 frames Cell Events: 4336 mean_circ: 0.947067
Ran for 94550 frames Cell Events: 4415 mean_circ: 0.947031
Ran for 95550 frames Cell Events: 4473 mean_circ: 0.947062
Ran for 96050 frames Cell Events: 4481 mean_circ: 0.947022
Ran for 96550 frames Cell Events: 4501 mean_circ: 0.947021
Ran for 97050 frames Cell Events: 4525 mean_circ: 0.947
Ran for 97550 frames Cell Events: 4540 mean_circ: 0.947033
Ran for 100050 frames Cell Events: 4661 mean_circ: 0.947197
Ran for 100550 frames Cell Events: 4687 mean_circ: 0.947145
Ran for 101050 frames Cell Events: 4713 mean_circ: 0.947222
Ran for 102050 frames Cell Events: 4775 mean_circ: 0.947254
Ran for 102550 frames Cell Events: 4801 mean_circ: 0.947265
Ran for 103550 frames Cell Events: 4848 mean_circ: 0.94717
Ran for 104550 frames Cell Events: 4903 mean_circ: 0.947019
Ran for 106050 frames Cell Events: 4989 mean_circ: 0.947166
Ran for 106550 frames Cell Events: 5006 mean_circ: 0.94716
Ran for 107550 frames Cell Events: 5053 mean_circ: 0.947174
Ran for 108050 frames Cell Events: 5075 mean_circ: 0.947174
Ran for 109550 frames Cell Events: 5144 mean_circ: 0.947106
Ran for 110050 frames Cell Events: 5156 mean_circ: 0.947132
Ran for 110550 frames Cell Events: 5172 mean_circ: 0.947094
Ran for 112550 frames Cell Events: 5269 mean_circ: 0.947272
Ran for 113050 frames Cell Events: 5288 mean_circ: 0.947116
Ran for 113550 frames Cell Events: 5326 mean_circ: 0.947138
Ran for 114050 frames Cell Events: 5364 mean_circ: 0.947068
Ran for 114550 frames Cell Events: 5404 mean_circ: 0.947021
Ran for 115050 frames Cell Events: 5425 mean_circ: 0.946994
Ran for 115550 frames Cell Events: 5449 mean_circ: 0.947022
Ran for 116050 frames Cell Events: 5478 mean_circ: 0.947062
Ran for 117050 frames Cell Events: 5510 mean_circ: 0.947077
Ran for 117550 frames Cell Events: 5534 mean_circ: 0.947051
Ran for 118050 frames Cell Events: 5562 mean_circ: 0.947087
Ran for 118550 frames Cell Events: 5578 mean_circ: 0.947095
Ran for 119550 frames Cell Events: 5620 mean_circ: 0.947155
Ran for 121550 frames Cell Events: 5732 mean_circ: 0.947246
Ran for 123050 frames Cell Events: 5810 mean_circ: 0.947287
Ran for 124050 frames Cell Events: 5864 mean_circ: 0.94722
Ran for 125050 frames Cell Events: 5916 mean_circ: 0.947152
Ran for 126050 frames Cell Events: 6014 mean_circ: 0.947072
Ran for 127550 frames Cell Events: 6096 mean_circ: 0.947195
Ran for 128550 frames Cell Events: 6159 mean_circ: 0.947208
Ran for 129050 frames Cell Events: 6199 mean_circ: 0.94719
Ran for 129550 frames Cell Events: 6235 mean_circ: 0.947233
Ran for 130050 frames Cell Events: 6256 mean_circ: 0.947252
Ran for 132550 frames Cell Events: 6387 mean_circ: 0.94731
Ran for 133550 frames Cell Events: 6426 mean_circ: 0.947323
Ran for 134550 frames Cell Events: 6492 mean_circ: 0.947369
Ran for 135550 frames Cell Events: 6560 mean_circ: 0.947364
Ran for 136550 frames Cell Events: 6601 mean_circ: 0.947339
Ran for 137050 frames Cell Events: 6625 mean_circ: 0.947308
Ran for 137550 frames Cell Events: 6654 mean_circ: 0.947269
Ran for 138050 frames Cell Events: 6681 mean_circ: 0.947255
Ran for 138550 frames Cell Events: 6703 mean_circ: 0.947271
Ran for 140050 frames Cell Events: 6807 mean_circ: 0.947204
Ran for 141050 frames Cell Events: 6906 mean_circ: 0.947052
Ran for 142050 frames Cell Events: 6980 mean_circ: 0.947024
Ran for 142550 frames Cell Events: 7003 mean_circ: 0.947059
Ran for 144550 frames Cell Events: 7080 mean_circ: 0.947014
Ran for 145550 frames Cell Events: 7143 mean_circ: 0.947101
Ran for 147050 frames Cell Events: 7209 mean_circ: 0.947108
Ran for 148050 frames Cell Events: 7269 mean_circ: 0.947122
Ran for 149550 frames Cell Events: 7358 mean_circ: 0.947172
Ran for 150550 frames Cell Events: 7423 mean_circ: 0.947177
Ran for 151050 frames Cell Events: 7460 mean_circ: 0.947077
Ran for 151550 frames Cell Events: 7488 mean_circ: 0.947078
Ran for 153050 frames Cell Events: 7588 mean_circ: 0.947084
Ran for 153550 frames Cell Events: 7615 mean_circ: 0.947146
Ran for 154050 frames Cell Events: 7635 mean_circ: 0.947195
Ran for 154550 frames Cell Events: 7662 mean_circ: 0.947213
Ran for 157050 frames Cell Events: 7819 mean_circ: 0.947218
Ran for 158550 frames Cell Events: 7915 mean_circ: 0.947255
Ran for 159050 frames Cell Events: 7941 mean_circ: 0.947195
Ran for 159550 frames Cell Events: 7966 mean_circ: 0.947152
Ran for 160050 frames Cell Events: 7987 mean_circ: 0.947167
End this measurment..
Ran for 161550 frames Cell Events: 8060 mean_circ: 0.947198
Stopping time: 1.92682e+009
****************************************
Measurement finished
Mean Circularitiy: 0.947189
Mean Area: 658.613
Mean FL-1 intensity: 3628.59
Mean FL-2 intensity: 4138.72
Mean FL-3 intensity: 0
frames processed: 160282
Total Time: 80874.5ms
Number of Runs (new bg img) 0
Frames collected: 161550
Skipped frames: 65324
Rescued Frames: 1596221
Samples DAQ: 40387997
Samples written: 80774782
Samples per Channel: 40387391
FPS: 1997.54
Samples per second: 499384
Expected samples/s: 500000