Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.6691
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.85554e+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 550 frames Cell Events: 14 mean_circ: 0.933715
Ran for 1550 frames Cell Events: 86 mean_circ: 0.916608
Ran for 2050 frames Cell Events: 109 mean_circ: 0.911592
Ran for 2550 frames Cell Events: 127 mean_circ: 0.913483
Ran for 3550 frames Cell Events: 173 mean_circ: 0.910653
Ran for 4050 frames Cell Events: 188 mean_circ: 0.911105
Ran for 4550 frames Cell Events: 200 mean_circ: 0.912509
Ran for 6550 frames Cell Events: 318 mean_circ: 0.911839
Ran for 7050 frames Cell Events: 341 mean_circ: 0.913459
Ran for 10550 frames Cell Events: 567 mean_circ: 0.915834
Ran for 12050 frames Cell Events: 673 mean_circ: 0.917621
Ran for 13050 frames Cell Events: 738 mean_circ: 0.917947
Ran for 13550 frames Cell Events: 758 mean_circ: 0.917965
Ran for 14050 frames Cell Events: 786 mean_circ: 0.917812
Ran for 14550 frames Cell Events: 806 mean_circ: 0.917899
Ran for 15050 frames Cell Events: 827 mean_circ: 0.917017
Ran for 15550 frames Cell Events: 848 mean_circ: 0.916447
Ran for 19050 frames Cell Events: 1004 mean_circ: 0.916959
Ran for 19550 frames Cell Events: 1036 mean_circ: 0.917215
Ran for 20050 frames Cell Events: 1054 mean_circ: 0.917496
Ran for 22050 frames Cell Events: 1149 mean_circ: 0.917856
Ran for 22550 frames Cell Events: 1168 mean_circ: 0.917722
Ran for 23050 frames Cell Events: 1184 mean_circ: 0.917749
Ran for 23550 frames Cell Events: 1205 mean_circ: 0.91794
Ran for 24050 frames Cell Events: 1238 mean_circ: 0.917926
Ran for 24550 frames Cell Events: 1261 mean_circ: 0.918017
Ran for 25050 frames Cell Events: 1288 mean_circ: 0.918112
Ran for 26050 frames Cell Events: 1328 mean_circ: 0.918275
Ran for 26550 frames Cell Events: 1352 mean_circ: 0.918379
Ran for 29050 frames Cell Events: 1492 mean_circ: 0.918059
Ran for 31050 frames Cell Events: 1591 mean_circ: 0.918238
Ran for 32050 frames Cell Events: 1631 mean_circ: 0.918158
Ran for 33050 frames Cell Events: 1674 mean_circ: 0.917909
Ran for 33550 frames Cell Events: 1692 mean_circ: 0.917865
Ran for 34050 frames Cell Events: 1719 mean_circ: 0.917752
Ran for 34550 frames Cell Events: 1746 mean_circ: 0.917398
Ran for 35050 frames Cell Events: 1771 mean_circ: 0.917266
Ran for 35550 frames Cell Events: 1794 mean_circ: 0.917238
Ran for 36050 frames Cell Events: 1807 mean_circ: 0.917305
Ran for 37050 frames Cell Events: 1856 mean_circ: 0.917417
Ran for 38050 frames Cell Events: 1908 mean_circ: 0.917293
Ran for 39050 frames Cell Events: 1944 mean_circ: 0.917139
Ran for 39550 frames Cell Events: 1966 mean_circ: 0.917036
Ran for 40050 frames Cell Events: 1988 mean_circ: 0.917068
Ran for 42050 frames Cell Events: 2083 mean_circ: 0.917054
Ran for 42550 frames Cell Events: 2106 mean_circ: 0.916999
Ran for 43050 frames Cell Events: 2131 mean_circ: 0.917113
Ran for 44050 frames Cell Events: 2163 mean_circ: 0.916743
Ran for 44550 frames Cell Events: 2197 mean_circ: 0.916523
Ran for 46050 frames Cell Events: 2254 mean_circ: 0.916486
Ran for 46550 frames Cell Events: 2273 mean_circ: 0.916486
Ran for 47550 frames Cell Events: 2334 mean_circ: 0.916372
Ran for 49550 frames Cell Events: 2426 mean_circ: 0.916282
Ran for 51050 frames Cell Events: 2473 mean_circ: 0.916214
Ran for 51550 frames Cell Events: 2504 mean_circ: 0.916013
Ran for 52050 frames Cell Events: 2540 mean_circ: 0.91596
Ran for 52550 frames Cell Events: 2565 mean_circ: 0.915815
Ran for 53050 frames Cell Events: 2579 mean_circ: 0.915763
Ran for 53550 frames Cell Events: 2602 mean_circ: 0.915954
Ran for 56050 frames Cell Events: 2747 mean_circ: 0.915806
Ran for 57050 frames Cell Events: 2793 mean_circ: 0.915891
Ran for 57550 frames Cell Events: 2821 mean_circ: 0.915909
Ran for 58550 frames Cell Events: 2875 mean_circ: 0.915718
Ran for 59050 frames Cell Events: 2897 mean_circ: 0.915692
Ran for 60050 frames Cell Events: 2937 mean_circ: 0.915697
Ran for 60550 frames Cell Events: 2967 mean_circ: 0.91555
Ran for 61050 frames Cell Events: 2988 mean_circ: 0.915425
Ran for 63050 frames Cell Events: 3051 mean_circ: 0.915258
Ran for 64050 frames Cell Events: 3107 mean_circ: 0.915112
Ran for 64550 frames Cell Events: 3132 mean_circ: 0.915183
Ran for 66050 frames Cell Events: 3191 mean_circ: 0.915309
Ran for 66550 frames Cell Events: 3214 mean_circ: 0.915241
Ran for 67050 frames Cell Events: 3232 mean_circ: 0.915263
Ran for 67550 frames Cell Events: 3249 mean_circ: 0.915263
Ran for 68050 frames Cell Events: 3264 mean_circ: 0.915213
Ran for 69550 frames Cell Events: 3330 mean_circ: 0.915126
Ran for 70050 frames Cell Events: 3352 mean_circ: 0.91514
Ran for 71050 frames Cell Events: 3382 mean_circ: 0.915091
Ran for 72050 frames Cell Events: 3444 mean_circ: 0.915147
Ran for 72550 frames Cell Events: 3476 mean_circ: 0.915342
Ran for 73550 frames Cell Events: 3521 mean_circ: 0.91551
Ran for 74550 frames Cell Events: 3582 mean_circ: 0.915689
Ran for 75550 frames Cell Events: 3641 mean_circ: 0.915669
Ran for 78550 frames Cell Events: 3769 mean_circ: 0.915955
Ran for 79050 frames Cell Events: 3787 mean_circ: 0.915983
Ran for 81050 frames Cell Events: 3921 mean_circ: 0.915797
Ran for 81550 frames Cell Events: 3947 mean_circ: 0.915853
Ran for 83050 frames Cell Events: 4023 mean_circ: 0.91594
Ran for 83550 frames Cell Events: 4042 mean_circ: 0.915941
Ran for 84050 frames Cell Events: 4079 mean_circ: 0.915944
Ran for 84550 frames Cell Events: 4100 mean_circ: 0.915927
Ran for 85550 frames Cell Events: 4161 mean_circ: 0.915879
Ran for 86550 frames Cell Events: 4201 mean_circ: 0.915685
Ran for 87050 frames Cell Events: 4223 mean_circ: 0.915734
Ran for 88050 frames Cell Events: 4270 mean_circ: 0.915885
Ran for 88550 frames Cell Events: 4288 mean_circ: 0.915925
Ran for 90550 frames Cell Events: 4376 mean_circ: 0.915758
Ran for 91550 frames Cell Events: 4429 mean_circ: 0.915594
Ran for 92050 frames Cell Events: 4461 mean_circ: 0.915531
Ran for 92550 frames Cell Events: 4489 mean_circ: 0.915531
Ran for 93050 frames Cell Events: 4511 mean_circ: 0.915491
Ran for 94050 frames Cell Events: 4556 mean_circ: 0.915557
Ran for 94550 frames Cell Events: 4573 mean_circ: 0.915595
Ran for 95050 frames Cell Events: 4593 mean_circ: 0.915545
Ran for 95550 frames Cell Events: 4612 mean_circ: 0.915528
Ran for 96050 frames Cell Events: 4622 mean_circ: 0.915504
Ran for 96550 frames Cell Events: 4650 mean_circ: 0.915472
Ran for 98050 frames Cell Events: 4712 mean_circ: 0.915432
Ran for 100050 frames Cell Events: 4828 mean_circ: 0.91531
Ran for 100550 frames Cell Events: 4850 mean_circ: 0.91526
Ran for 101050 frames Cell Events: 4880 mean_circ: 0.915255
Ran for 101550 frames Cell Events: 4902 mean_circ: 0.915227
Ran for 102550 frames Cell Events: 4947 mean_circ: 0.915196
Ran for 104050 frames Cell Events: 5008 mean_circ: 0.915146
Ran for 104550 frames Cell Events: 5023 mean_circ: 0.915178
Ran for 105050 frames Cell Events: 5040 mean_circ: 0.915117
Ran for 105550 frames Cell Events: 5068 mean_circ: 0.915222
Ran for 106050 frames Cell Events: 5091 mean_circ: 0.915123
Ran for 106550 frames Cell Events: 5107 mean_circ: 0.915114
Ran for 107550 frames Cell Events: 5167 mean_circ: 0.915137
Ran for 109550 frames Cell Events: 5259 mean_circ: 0.915162
Ran for 110550 frames Cell Events: 5327 mean_circ: 0.915323
Ran for 111050 frames Cell Events: 5346 mean_circ: 0.915304
Ran for 112050 frames Cell Events: 5392 mean_circ: 0.915217
Ran for 113550 frames Cell Events: 5469 mean_circ: 0.915274
Ran for 114050 frames Cell Events: 5497 mean_circ: 0.915267
Ran for 115550 frames Cell Events: 5594 mean_circ: 0.915135
Ran for 116050 frames Cell Events: 5610 mean_circ: 0.91506
Ran for 117550 frames Cell Events: 5691 mean_circ: 0.915034
Ran for 118050 frames Cell Events: 5734 mean_circ: 0.914905
Ran for 118550 frames Cell Events: 5760 mean_circ: 0.914783
Ran for 120050 frames Cell Events: 5855 mean_circ: 0.914783
Ran for 120550 frames Cell Events: 5869 mean_circ: 0.914784
Ran for 121050 frames Cell Events: 5895 mean_circ: 0.914771
Ran for 123050 frames Cell Events: 5980 mean_circ: 0.914861
Ran for 125550 frames Cell Events: 6124 mean_circ: 0.914728
Ran for 127050 frames Cell Events: 6202 mean_circ: 0.91483
Ran for 128050 frames Cell Events: 6246 mean_circ: 0.914884
Ran for 131050 frames Cell Events: 6409 mean_circ: 0.914946
Ran for 133050 frames Cell Events: 6494 mean_circ: 0.914885
Ran for 134050 frames Cell Events: 6552 mean_circ: 0.914822
Ran for 134550 frames Cell Events: 6581 mean_circ: 0.914765
Ran for 135050 frames Cell Events: 6605 mean_circ: 0.914758
Ran for 136050 frames Cell Events: 6644 mean_circ: 0.914805
Ran for 136550 frames Cell Events: 6669 mean_circ: 0.914829
Ran for 137050 frames Cell Events: 6710 mean_circ: 0.914958
Ran for 137550 frames Cell Events: 6738 mean_circ: 0.914983
Ran for 138050 frames Cell Events: 6774 mean_circ: 0.915041
Ran for 139050 frames Cell Events: 6824 mean_circ: 0.915013
Ran for 139550 frames Cell Events: 6851 mean_circ: 0.914993
Ran for 140050 frames Cell Events: 6884 mean_circ: 0.914977
Ran for 141050 frames Cell Events: 6943 mean_circ: 0.914964
Ran for 141550 frames Cell Events: 6978 mean_circ: 0.914923
Ran for 142050 frames Cell Events: 7000 mean_circ: 0.914869
Ran for 142550 frames Cell Events: 7017 mean_circ: 0.914881
Ran for 143550 frames Cell Events: 7085 mean_circ: 0.914922
Ran for 144050 frames Cell Events: 7112 mean_circ: 0.914973
Ran for 144550 frames Cell Events: 7137 mean_circ: 0.915004
Ran for 145050 frames Cell Events: 7155 mean_circ: 0.914937
Ran for 147050 frames Cell Events: 7295 mean_circ: 0.914988
Ran for 148050 frames Cell Events: 7342 mean_circ: 0.915031
Ran for 148550 frames Cell Events: 7372 mean_circ: 0.914994
Ran for 150550 frames Cell Events: 7465 mean_circ: 0.914956
Ran for 151550 frames Cell Events: 7521 mean_circ: 0.914988
Ran for 152050 frames Cell Events: 7549 mean_circ: 0.914917
Ran for 152550 frames Cell Events: 7560 mean_circ: 0.914949
Ran for 153050 frames Cell Events: 7582 mean_circ: 0.914971
Ran for 153550 frames Cell Events: 7602 mean_circ: 0.914945
Ran for 154050 frames Cell Events: 7619 mean_circ: 0.914941
Ran for 154550 frames Cell Events: 7648 mean_circ: 0.914946
Ran for 155050 frames Cell Events: 7666 mean_circ: 0.914946
Ran for 155550 frames Cell Events: 7691 mean_circ: 0.914927
Ran for 157050 frames Cell Events: 7763 mean_circ: 0.914863
Ran for 158550 frames Cell Events: 7841 mean_circ: 0.914791
Ran for 159550 frames Cell Events: 7892 mean_circ: 0.914812
Ran for 160550 frames Cell Events: 7941 mean_circ: 0.914727
Ran for 161050 frames Cell Events: 7962 mean_circ: 0.914727
Ran for 161550 frames Cell Events: 7992 mean_circ: 0.914758
Ran for 162550 frames Cell Events: 8053 mean_circ: 0.914764
Ran for 163550 frames Cell Events: 8113 mean_circ: 0.91487
Ran for 164550 frames Cell Events: 8160 mean_circ: 0.914891
Ran for 165050 frames Cell Events: 8195 mean_circ: 0.914881
Ran for 165550 frames Cell Events: 8222 mean_circ: 0.914828
Ran for 166550 frames Cell Events: 8291 mean_circ: 0.914826
Ran for 167050 frames Cell Events: 8312 mean_circ: 0.914834
Ran for 167550 frames Cell Events: 8334 mean_circ: 0.914785
Ran for 168050 frames Cell Events: 8352 mean_circ: 0.914834
Ran for 169050 frames Cell Events: 8406 mean_circ: 0.914835
Ran for 170050 frames Cell Events: 8487 mean_circ: 0.91491
Ran for 171050 frames Cell Events: 8527 mean_circ: 0.914987
Ran for 172050 frames Cell Events: 8563 mean_circ: 0.91499
Ran for 172550 frames Cell Events: 8584 mean_circ: 0.915013
Ran for 173550 frames Cell Events: 8649 mean_circ: 0.914856
Ran for 174050 frames Cell Events: 8681 mean_circ: 0.914858
Ran for 174550 frames Cell Events: 8702 mean_circ: 0.914835
Ran for 175050 frames Cell Events: 8728 mean_circ: 0.914823
Ran for 177050 frames Cell Events: 8844 mean_circ: 0.914863
Ran for 177550 frames Cell Events: 8865 mean_circ: 0.914881
Ran for 178050 frames Cell Events: 8885 mean_circ: 0.914844
Ran for 179050 frames Cell Events: 8937 mean_circ: 0.914676
Ran for 179550 frames Cell Events: 8960 mean_circ: 0.914703
Ran for 180050 frames Cell Events: 8977 mean_circ: 0.914741
Ran for 180550 frames Cell Events: 8997 mean_circ: 0.914757
Ran for 181050 frames Cell Events: 9015 mean_circ: 0.914718
Ran for 181550 frames Cell Events: 9034 mean_circ: 0.914662
Ran for 182050 frames Cell Events: 9065 mean_circ: 0.91472
Ran for 183550 frames Cell Events: 9127 mean_circ: 0.914752
Ran for 184050 frames Cell Events: 9147 mean_circ: 0.914739
Ran for 184550 frames Cell Events: 9178 mean_circ: 0.914742
Ran for 185050 frames Cell Events: 9202 mean_circ: 0.914759
Ran for 186050 frames Cell Events: 9246 mean_circ: 0.91473
Ran for 186550 frames Cell Events: 9271 mean_circ: 0.914729
Ran for 187550 frames Cell Events: 9340 mean_circ: 0.914795
Ran for 188550 frames Cell Events: 9386 mean_circ: 0.914755
Ran for 189050 frames Cell Events: 9402 mean_circ: 0.914743
Ran for 189550 frames Cell Events: 9430 mean_circ: 0.914733
Ran for 191050 frames Cell Events: 9530 mean_circ: 0.914655
Ran for 192550 frames Cell Events: 9619 mean_circ: 0.914696
Ran for 193050 frames Cell Events: 9645 mean_circ: 0.914704
Ran for 193550 frames Cell Events: 9673 mean_circ: 0.914727
Ran for 194050 frames Cell Events: 9710 mean_circ: 0.914718
Ran for 194550 frames Cell Events: 9748 mean_circ: 0.914719
Ran for 195550 frames Cell Events: 9806 mean_circ: 0.914729
Ran for 196550 frames Cell Events: 9842 mean_circ: 0.914689
Ran for 197550 frames Cell Events: 9893 mean_circ: 0.914649
Ran for 198050 frames Cell Events: 9919 mean_circ: 0.914613
End this measurment.
because stop condition (time/nr of cells) was met
Ran for 199550 frames Cell Events: 10001 mean_circ: 0.91467
Stopping time: 1.85564e+009
****************************************
Measurement finished
Mean Circularitiy: 0.914676
Mean Area: 610.267
Mean FL-1 intensity: 2957.25
Mean FL-2 intensity: 3492.08
Mean FL-3 intensity: 0
frames processed: 197655
Total Time: 99845ms
Number of Runs (new bg img) 0
Frames collected: 199550
Skipped frames: 62127
Rescued Frames: 3426883
Samples DAQ: 49887980
Samples written: 99775024
Samples per Channel: 49887512
FPS: 1998.6
Samples per second: 499650
Expected samples/s: 500000