Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.6503
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 6.35826e+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: 15 mean_circ: 0.95148
Ran for 2550 frames Cell Events: 127 mean_circ: 0.93188
Ran for 4050 frames Cell Events: 181 mean_circ: 0.930889
Ran for 5050 frames Cell Events: 244 mean_circ: 0.929271
Ran for 6050 frames Cell Events: 313 mean_circ: 0.929253
Ran for 8550 frames Cell Events: 395 mean_circ: 0.928781
Ran for 9050 frames Cell Events: 416 mean_circ: 0.92935
Ran for 9550 frames Cell Events: 437 mean_circ: 0.929738
Ran for 10050 frames Cell Events: 449 mean_circ: 0.930128
Ran for 10550 frames Cell Events: 463 mean_circ: 0.929663
Ran for 11050 frames Cell Events: 479 mean_circ: 0.929396
Ran for 12050 frames Cell Events: 516 mean_circ: 0.929376
Ran for 12550 frames Cell Events: 534 mean_circ: 0.930004
Ran for 13050 frames Cell Events: 559 mean_circ: 0.930017
Ran for 13550 frames Cell Events: 578 mean_circ: 0.930411
Ran for 14050 frames Cell Events: 596 mean_circ: 0.930423
Ran for 15550 frames Cell Events: 655 mean_circ: 0.931584
Ran for 16050 frames Cell Events: 677 mean_circ: 0.931492
Ran for 16550 frames Cell Events: 698 mean_circ: 0.93208
Ran for 17050 frames Cell Events: 719 mean_circ: 0.931868
Ran for 17550 frames Cell Events: 737 mean_circ: 0.931691
Ran for 18050 frames Cell Events: 761 mean_circ: 0.931812
Ran for 19550 frames Cell Events: 832 mean_circ: 0.932026
Ran for 20050 frames Cell Events: 855 mean_circ: 0.93246
Ran for 21050 frames Cell Events: 899 mean_circ: 0.932145
Ran for 22050 frames Cell Events: 949 mean_circ: 0.931869
Ran for 22550 frames Cell Events: 976 mean_circ: 0.932134
Ran for 23550 frames Cell Events: 1020 mean_circ: 0.931951
Ran for 24550 frames Cell Events: 1058 mean_circ: 0.932165
Ran for 25050 frames Cell Events: 1077 mean_circ: 0.931891
Ran for 25550 frames Cell Events: 1096 mean_circ: 0.931964
Ran for 26050 frames Cell Events: 1120 mean_circ: 0.931796
Ran for 26550 frames Cell Events: 1147 mean_circ: 0.931783
Ran for 27050 frames Cell Events: 1166 mean_circ: 0.93137
Ran for 28050 frames Cell Events: 1208 mean_circ: 0.93142
Ran for 28550 frames Cell Events: 1238 mean_circ: 0.93156
Ran for 29050 frames Cell Events: 1264 mean_circ: 0.93169
Ran for 29550 frames Cell Events: 1282 mean_circ: 0.931779
Ran for 30050 frames Cell Events: 1312 mean_circ: 0.931694
Ran for 30550 frames Cell Events: 1334 mean_circ: 0.931265
Ran for 31050 frames Cell Events: 1357 mean_circ: 0.931229
Ran for 31550 frames Cell Events: 1375 mean_circ: 0.931234
Ran for 32050 frames Cell Events: 1388 mean_circ: 0.931069
Ran for 32550 frames Cell Events: 1410 mean_circ: 0.931134
Ran for 33050 frames Cell Events: 1428 mean_circ: 0.931119
Ran for 33550 frames Cell Events: 1442 mean_circ: 0.931237
Ran for 34050 frames Cell Events: 1459 mean_circ: 0.931415
Ran for 34550 frames Cell Events: 1472 mean_circ: 0.931374
Ran for 35550 frames Cell Events: 1510 mean_circ: 0.93157
Ran for 36050 frames Cell Events: 1537 mean_circ: 0.931664
Ran for 37050 frames Cell Events: 1569 mean_circ: 0.931704
Ran for 37550 frames Cell Events: 1579 mean_circ: 0.931638
Ran for 38050 frames Cell Events: 1601 mean_circ: 0.931725
Ran for 38550 frames Cell Events: 1627 mean_circ: 0.931772
Ran for 39050 frames Cell Events: 1655 mean_circ: 0.931626
Ran for 39550 frames Cell Events: 1671 mean_circ: 0.931696
Ran for 40050 frames Cell Events: 1692 mean_circ: 0.931716
Ran for 40550 frames Cell Events: 1710 mean_circ: 0.931678
Ran for 41050 frames Cell Events: 1725 mean_circ: 0.93173
Ran for 42050 frames Cell Events: 1763 mean_circ: 0.931614
Ran for 42550 frames Cell Events: 1783 mean_circ: 0.931643
Ran for 43050 frames Cell Events: 1794 mean_circ: 0.931608
Ran for 43550 frames Cell Events: 1812 mean_circ: 0.931697
Ran for 44050 frames Cell Events: 1841 mean_circ: 0.931627
Ran for 45050 frames Cell Events: 1891 mean_circ: 0.931618
Ran for 46050 frames Cell Events: 1926 mean_circ: 0.931466
Ran for 47050 frames Cell Events: 1961 mean_circ: 0.931525
Ran for 49050 frames Cell Events: 2057 mean_circ: 0.93117
Ran for 49550 frames Cell Events: 2081 mean_circ: 0.931104
Ran for 50550 frames Cell Events: 2129 mean_circ: 0.931239
Ran for 51550 frames Cell Events: 2183 mean_circ: 0.931044
Ran for 52050 frames Cell Events: 2204 mean_circ: 0.930946
Ran for 52550 frames Cell Events: 2234 mean_circ: 0.930809
Ran for 53050 frames Cell Events: 2255 mean_circ: 0.930877
Ran for 53550 frames Cell Events: 2278 mean_circ: 0.930886
Ran for 54550 frames Cell Events: 2327 mean_circ: 0.930998
Ran for 55050 frames Cell Events: 2359 mean_circ: 0.931041
Ran for 55550 frames Cell Events: 2385 mean_circ: 0.931024
Ran for 56550 frames Cell Events: 2451 mean_circ: 0.931146
Ran for 57050 frames Cell Events: 2465 mean_circ: 0.931112
Ran for 58050 frames Cell Events: 2523 mean_circ: 0.930831
Ran for 59050 frames Cell Events: 2567 mean_circ: 0.930798
Ran for 60050 frames Cell Events: 2617 mean_circ: 0.930855
Ran for 61050 frames Cell Events: 2673 mean_circ: 0.93101
Ran for 62050 frames Cell Events: 2725 mean_circ: 0.930848
Ran for 62550 frames Cell Events: 2752 mean_circ: 0.930835
Ran for 63050 frames Cell Events: 2773 mean_circ: 0.930818
Ran for 63550 frames Cell Events: 2800 mean_circ: 0.930812
Ran for 64050 frames Cell Events: 2826 mean_circ: 0.930786
Ran for 64550 frames Cell Events: 2843 mean_circ: 0.930704
Ran for 65050 frames Cell Events: 2866 mean_circ: 0.930731
Ran for 65550 frames Cell Events: 2884 mean_circ: 0.930683
Ran for 66550 frames Cell Events: 2947 mean_circ: 0.930694
Ran for 67050 frames Cell Events: 2969 mean_circ: 0.930801
Ran for 68550 frames Cell Events: 3033 mean_circ: 0.930829
Ran for 69050 frames Cell Events: 3071 mean_circ: 0.930616
Ran for 70050 frames Cell Events: 3115 mean_circ: 0.930481
Ran for 71050 frames Cell Events: 3158 mean_circ: 0.930378
Ran for 71550 frames Cell Events: 3185 mean_circ: 0.930389
Ran for 72050 frames Cell Events: 3206 mean_circ: 0.930389
Ran for 72550 frames Cell Events: 3222 mean_circ: 0.930406
Ran for 74050 frames Cell Events: 3286 mean_circ: 0.930261
Ran for 75050 frames Cell Events: 3326 mean_circ: 0.930298
Ran for 75550 frames Cell Events: 3353 mean_circ: 0.930308
Ran for 76050 frames Cell Events: 3367 mean_circ: 0.930245
Ran for 76550 frames Cell Events: 3390 mean_circ: 0.93027
Ran for 77050 frames Cell Events: 3416 mean_circ: 0.930303
Ran for 77550 frames Cell Events: 3432 mean_circ: 0.930308
Ran for 78050 frames Cell Events: 3452 mean_circ: 0.930284
Ran for 79050 frames Cell Events: 3513 mean_circ: 0.930402
Ran for 81050 frames Cell Events: 3593 mean_circ: 0.9304
Ran for 81550 frames Cell Events: 3615 mean_circ: 0.930424
Ran for 82050 frames Cell Events: 3635 mean_circ: 0.93045
Ran for 82550 frames Cell Events: 3650 mean_circ: 0.930325
Ran for 83050 frames Cell Events: 3672 mean_circ: 0.930377
Ran for 83550 frames Cell Events: 3693 mean_circ: 0.930367
Ran for 84050 frames Cell Events: 3712 mean_circ: 0.930436
Ran for 84550 frames Cell Events: 3739 mean_circ: 0.930455
Ran for 85050 frames Cell Events: 3754 mean_circ: 0.930444
Ran for 85550 frames Cell Events: 3782 mean_circ: 0.930392
Ran for 86550 frames Cell Events: 3832 mean_circ: 0.930515
Ran for 88050 frames Cell Events: 3868 mean_circ: 0.930338
Ran for 89050 frames Cell Events: 3913 mean_circ: 0.93032
Ran for 89550 frames Cell Events: 3935 mean_circ: 0.930299
Ran for 90550 frames Cell Events: 4001 mean_circ: 0.930256
Ran for 91050 frames Cell Events: 4044 mean_circ: 0.930251
Ran for 92050 frames Cell Events: 4106 mean_circ: 0.930349
Ran for 93050 frames Cell Events: 4155 mean_circ: 0.930194
Ran for 94050 frames Cell Events: 4199 mean_circ: 0.930169
Ran for 94550 frames Cell Events: 4217 mean_circ: 0.930197
Ran for 96050 frames Cell Events: 4289 mean_circ: 0.93024
Ran for 96550 frames Cell Events: 4302 mean_circ: 0.930266
Ran for 97050 frames Cell Events: 4331 mean_circ: 0.9303
Ran for 98550 frames Cell Events: 4446 mean_circ: 0.930249
Ran for 99050 frames Cell Events: 4466 mean_circ: 0.930224
Ran for 99550 frames Cell Events: 4483 mean_circ: 0.930201
Ran for 100050 frames Cell Events: 4513 mean_circ: 0.930123
Ran for 100550 frames Cell Events: 4546 mean_circ: 0.930123
Ran for 101050 frames Cell Events: 4562 mean_circ: 0.930006
Ran for 101550 frames Cell Events: 4592 mean_circ: 0.930006
Ran for 104050 frames Cell Events: 4700 mean_circ: 0.930182
Ran for 105050 frames Cell Events: 4765 mean_circ: 0.930134
Ran for 106550 frames Cell Events: 4854 mean_circ: 0.930276
Ran for 107550 frames Cell Events: 4894 mean_circ: 0.930349
Ran for 108050 frames Cell Events: 4928 mean_circ: 0.930408
Ran for 108550 frames Cell Events: 4952 mean_circ: 0.930431
Ran for 110050 frames Cell Events: 5007 mean_circ: 0.930466
Ran for 110550 frames Cell Events: 5023 mean_circ: 0.930518
Ran for 112050 frames Cell Events: 5093 mean_circ: 0.930419
Ran for 113050 frames Cell Events: 5137 mean_circ: 0.930441
Ran for 113550 frames Cell Events: 5159 mean_circ: 0.930355
Ran for 114550 frames Cell Events: 5219 mean_circ: 0.930436
Ran for 115050 frames Cell Events: 5251 mean_circ: 0.930436
Ran for 115550 frames Cell Events: 5273 mean_circ: 0.930435
Ran for 116550 frames Cell Events: 5329 mean_circ: 0.930317
Ran for 117050 frames Cell Events: 5341 mean_circ: 0.930301
Ran for 118550 frames Cell Events: 5415 mean_circ: 0.930311
Ran for 119050 frames Cell Events: 5450 mean_circ: 0.930307
Ran for 119550 frames Cell Events: 5466 mean_circ: 0.93032
Ran for 121050 frames Cell Events: 5566 mean_circ: 0.930288
Ran for 121550 frames Cell Events: 5581 mean_circ: 0.930261
Ran for 123050 frames Cell Events: 5660 mean_circ: 0.930323
Ran for 123550 frames Cell Events: 5687 mean_circ: 0.930313
Ran for 125050 frames Cell Events: 5764 mean_circ: 0.93028
Ran for 125550 frames Cell Events: 5789 mean_circ: 0.930275
Ran for 126050 frames Cell Events: 5816 mean_circ: 0.930244
Ran for 126550 frames Cell Events: 5841 mean_circ: 0.930172
Ran for 127050 frames Cell Events: 5862 mean_circ: 0.930207
Ran for 127550 frames Cell Events: 5886 mean_circ: 0.930124
Ran for 128050 frames Cell Events: 5902 mean_circ: 0.93008
Ran for 129550 frames Cell Events: 5972 mean_circ: 0.930087
Ran for 130050 frames Cell Events: 5993 mean_circ: 0.930078
Ran for 130550 frames Cell Events: 6010 mean_circ: 0.930056
Ran for 131050 frames Cell Events: 6031 mean_circ: 0.930063
Ran for 131550 frames Cell Events: 6049 mean_circ: 0.930062
Ran for 132050 frames Cell Events: 6084 mean_circ: 0.930016
Ran for 136050 frames Cell Events: 6268 mean_circ: 0.93005
Ran for 136550 frames Cell Events: 6293 mean_circ: 0.93007
Ran for 137550 frames Cell Events: 6322 mean_circ: 0.930032
Ran for 138050 frames Cell Events: 6347 mean_circ: 0.930031
Ran for 138550 frames Cell Events: 6384 mean_circ: 0.929964
Ran for 139050 frames Cell Events: 6411 mean_circ: 0.930013
Ran for 139550 frames Cell Events: 6430 mean_circ: 0.930057
Ran for 140050 frames Cell Events: 6448 mean_circ: 0.930102
Ran for 140550 frames Cell Events: 6466 mean_circ: 0.930112
Ran for 141050 frames Cell Events: 6488 mean_circ: 0.930134
Ran for 142050 frames Cell Events: 6526 mean_circ: 0.930144
Ran for 142550 frames Cell Events: 6548 mean_circ: 0.930117
Ran for 143050 frames Cell Events: 6577 mean_circ: 0.930067
Ran for 143550 frames Cell Events: 6601 mean_circ: 0.93009
Ran for 144050 frames Cell Events: 6624 mean_circ: 0.930093
Ran for 145050 frames Cell Events: 6678 mean_circ: 0.930118
Ran for 145550 frames Cell Events: 6700 mean_circ: 0.930046
Ran for 146050 frames Cell Events: 6731 mean_circ: 0.930043
Ran for 146550 frames Cell Events: 6753 mean_circ: 0.930017
Ran for 147050 frames Cell Events: 6771 mean_circ: 0.930022
Ran for 148050 frames Cell Events: 6820 mean_circ: 0.930072
Ran for 148550 frames Cell Events: 6846 mean_circ: 0.929994
Ran for 149050 frames Cell Events: 6863 mean_circ: 0.930012
Ran for 149550 frames Cell Events: 6883 mean_circ: 0.929966
Ran for 150050 frames Cell Events: 6907 mean_circ: 0.929972
Ran for 151550 frames Cell Events: 6967 mean_circ: 0.930048
Ran for 152050 frames Cell Events: 6986 mean_circ: 0.929999
Ran for 152550 frames Cell Events: 7012 mean_circ: 0.929978
Ran for 153050 frames Cell Events: 7030 mean_circ: 0.929997
Ran for 153550 frames Cell Events: 7055 mean_circ: 0.929989
Ran for 155050 frames Cell Events: 7156 mean_circ: 0.929954
Ran for 156550 frames Cell Events: 7233 mean_circ: 0.929914
Ran for 157550 frames Cell Events: 7266 mean_circ: 0.929911
Ran for 158050 frames Cell Events: 7299 mean_circ: 0.929937
Ran for 160550 frames Cell Events: 7424 mean_circ: 0.929936
Ran for 161050 frames Cell Events: 7436 mean_circ: 0.929971
Ran for 162550 frames Cell Events: 7511 mean_circ: 0.929942
Ran for 163550 frames Cell Events: 7558 mean_circ: 0.930007
Ran for 164050 frames Cell Events: 7586 mean_circ: 0.930022
Ran for 164550 frames Cell Events: 7614 mean_circ: 0.930057
Ran for 165050 frames Cell Events: 7636 mean_circ: 0.930067
Ran for 165550 frames Cell Events: 7669 mean_circ: 0.930079
Ran for 166550 frames Cell Events: 7704 mean_circ: 0.930084
Ran for 167050 frames Cell Events: 7727 mean_circ: 0.930101
Ran for 167550 frames Cell Events: 7744 mean_circ: 0.930119
Ran for 171050 frames Cell Events: 7917 mean_circ: 0.930061
Ran for 171550 frames Cell Events: 7934 mean_circ: 0.930079
Ran for 173050 frames Cell Events: 7998 mean_circ: 0.930071
Ran for 173550 frames Cell Events: 8016 mean_circ: 0.930078
Ran for 174050 frames Cell Events: 8050 mean_circ: 0.930034
Ran for 174550 frames Cell Events: 8071 mean_circ: 0.930033
Ran for 175050 frames Cell Events: 8093 mean_circ: 0.930046
Ran for 175550 frames Cell Events: 8117 mean_circ: 0.930041
End this measurment..
Ran for 176550 frames Cell Events: 8172 mean_circ: 0.9301
Stopping time: 6.35915e+008
****************************************
Measurement finished
Mean Circularitiy: 0.930092
Mean Area: 646.73
Mean FL-1 intensity: 3081.72
Mean FL-2 intensity: 4661
Mean FL-3 intensity: 0
frames processed: 173796
Total Time: 88345.8ms
Number of Runs (new bg img) 0
Frames collected: 176550
Skipped frames: 73491
Rescued Frames: 3436679
Samples DAQ: 44138061
Samples written: 88274808
Samples per Channel: 44137404
FPS: 1998.4
Samples per second: 499598
Expected samples/s: 500000