Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 24.5758
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 2.34004e+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: 13 mean_circ: 0.933283
Ran for 1050 frames Cell Events: 23 mean_circ: 0.939339
Ran for 1550 frames Cell Events: 45 mean_circ: 0.939986
Ran for 2050 frames Cell Events: 56 mean_circ: 0.940153
Ran for 2550 frames Cell Events: 73 mean_circ: 0.936518
Ran for 3050 frames Cell Events: 86 mean_circ: 0.937809
Ran for 3550 frames Cell Events: 103 mean_circ: 0.938232
Ran for 4550 frames Cell Events: 163 mean_circ: 0.93548
Ran for 6050 frames Cell Events: 264 mean_circ: 0.937128
Ran for 7050 frames Cell Events: 320 mean_circ: 0.936777
Ran for 8550 frames Cell Events: 399 mean_circ: 0.936175
Ran for 9050 frames Cell Events: 414 mean_circ: 0.936741
Ran for 9550 frames Cell Events: 441 mean_circ: 0.936565
Ran for 10050 frames Cell Events: 470 mean_circ: 0.937918
Ran for 10550 frames Cell Events: 499 mean_circ: 0.93795
Ran for 13050 frames Cell Events: 633 mean_circ: 0.938733
Ran for 15550 frames Cell Events: 757 mean_circ: 0.938337
Ran for 17550 frames Cell Events: 883 mean_circ: 0.938119
Ran for 18050 frames Cell Events: 904 mean_circ: 0.938142
Ran for 18550 frames Cell Events: 930 mean_circ: 0.938048
Ran for 19050 frames Cell Events: 950 mean_circ: 0.937875
Ran for 19550 frames Cell Events: 969 mean_circ: 0.937798
Ran for 20050 frames Cell Events: 985 mean_circ: 0.937744
Ran for 21050 frames Cell Events: 1029 mean_circ: 0.937798
Ran for 22050 frames Cell Events: 1065 mean_circ: 0.937891
Ran for 22550 frames Cell Events: 1086 mean_circ: 0.937927
Ran for 23050 frames Cell Events: 1101 mean_circ: 0.938009
Ran for 24050 frames Cell Events: 1141 mean_circ: 0.938223
Ran for 25050 frames Cell Events: 1173 mean_circ: 0.938071
Ran for 25550 frames Cell Events: 1197 mean_circ: 0.937827
Ran for 27050 frames Cell Events: 1277 mean_circ: 0.93801
Ran for 28050 frames Cell Events: 1325 mean_circ: 0.938199
Ran for 29050 frames Cell Events: 1367 mean_circ: 0.937849
Ran for 29550 frames Cell Events: 1375 mean_circ: 0.938039
Ran for 30550 frames Cell Events: 1407 mean_circ: 0.938131
Ran for 31550 frames Cell Events: 1443 mean_circ: 0.938009
Ran for 32550 frames Cell Events: 1485 mean_circ: 0.937815
Ran for 33050 frames Cell Events: 1502 mean_circ: 0.937943
Ran for 33550 frames Cell Events: 1527 mean_circ: 0.938043
Ran for 35050 frames Cell Events: 1585 mean_circ: 0.937977
Ran for 35550 frames Cell Events: 1609 mean_circ: 0.937947
Ran for 36050 frames Cell Events: 1624 mean_circ: 0.937781
Ran for 36550 frames Cell Events: 1655 mean_circ: 0.937698
Ran for 37050 frames Cell Events: 1686 mean_circ: 0.937507
Ran for 37550 frames Cell Events: 1706 mean_circ: 0.937521
Ran for 39050 frames Cell Events: 1765 mean_circ: 0.937861
Ran for 39550 frames Cell Events: 1776 mean_circ: 0.937867
Ran for 40050 frames Cell Events: 1798 mean_circ: 0.937976
Ran for 41050 frames Cell Events: 1830 mean_circ: 0.937831
Ran for 41550 frames Cell Events: 1848 mean_circ: 0.937551
Ran for 42050 frames Cell Events: 1865 mean_circ: 0.937517
Ran for 43550 frames Cell Events: 1919 mean_circ: 0.937525
Ran for 44550 frames Cell Events: 1959 mean_circ: 0.937475
Ran for 45050 frames Cell Events: 1977 mean_circ: 0.937597
Ran for 45550 frames Cell Events: 1987 mean_circ: 0.937557
Ran for 46050 frames Cell Events: 2004 mean_circ: 0.937456
Ran for 47050 frames Cell Events: 2035 mean_circ: 0.937479
Ran for 47550 frames Cell Events: 2052 mean_circ: 0.93769
Ran for 48550 frames Cell Events: 2098 mean_circ: 0.93763
Ran for 49050 frames Cell Events: 2120 mean_circ: 0.937574
Ran for 49550 frames Cell Events: 2147 mean_circ: 0.937673
Ran for 51550 frames Cell Events: 2235 mean_circ: 0.937594
Ran for 52050 frames Cell Events: 2260 mean_circ: 0.937825
Ran for 53050 frames Cell Events: 2312 mean_circ: 0.937808
Ran for 53550 frames Cell Events: 2339 mean_circ: 0.937972
Ran for 54050 frames Cell Events: 2357 mean_circ: 0.937741
Ran for 54550 frames Cell Events: 2386 mean_circ: 0.937921
Ran for 55550 frames Cell Events: 2448 mean_circ: 0.937739
Ran for 56050 frames Cell Events: 2468 mean_circ: 0.937776
Ran for 56550 frames Cell Events: 2491 mean_circ: 0.937764
Ran for 57050 frames Cell Events: 2513 mean_circ: 0.937864
Ran for 57550 frames Cell Events: 2533 mean_circ: 0.937869
Ran for 58050 frames Cell Events: 2560 mean_circ: 0.93795
Ran for 59050 frames Cell Events: 2618 mean_circ: 0.93795
Ran for 60050 frames Cell Events: 2664 mean_circ: 0.938093
Ran for 61050 frames Cell Events: 2722 mean_circ: 0.938109
Ran for 62050 frames Cell Events: 2755 mean_circ: 0.937992
Ran for 62550 frames Cell Events: 2769 mean_circ: 0.937995
Ran for 63050 frames Cell Events: 2781 mean_circ: 0.937998
Ran for 63550 frames Cell Events: 2810 mean_circ: 0.938088
Ran for 65050 frames Cell Events: 2856 mean_circ: 0.938199
Ran for 65550 frames Cell Events: 2884 mean_circ: 0.938152
Ran for 66050 frames Cell Events: 2902 mean_circ: 0.938092
Ran for 66550 frames Cell Events: 2911 mean_circ: 0.938111
Ran for 67050 frames Cell Events: 2929 mean_circ: 0.938145
Ran for 67550 frames Cell Events: 2957 mean_circ: 0.938158
Ran for 68050 frames Cell Events: 2976 mean_circ: 0.938212
Ran for 68550 frames Cell Events: 2994 mean_circ: 0.938047
Ran for 70050 frames Cell Events: 3051 mean_circ: 0.938192
Ran for 72050 frames Cell Events: 3154 mean_circ: 0.938265
Ran for 72550 frames Cell Events: 3169 mean_circ: 0.938218
Ran for 73550 frames Cell Events: 3224 mean_circ: 0.938231
Ran for 74550 frames Cell Events: 3280 mean_circ: 0.938294
Ran for 75050 frames Cell Events: 3303 mean_circ: 0.938282
Ran for 75550 frames Cell Events: 3333 mean_circ: 0.938376
Ran for 76550 frames Cell Events: 3376 mean_circ: 0.938387
Ran for 77550 frames Cell Events: 3430 mean_circ: 0.938106
Ran for 78050 frames Cell Events: 3444 mean_circ: 0.937996
Ran for 79050 frames Cell Events: 3481 mean_circ: 0.938164
Ran for 79550 frames Cell Events: 3498 mean_circ: 0.938181
Ran for 80550 frames Cell Events: 3542 mean_circ: 0.937989
Ran for 82050 frames Cell Events: 3613 mean_circ: 0.937962
Ran for 82550 frames Cell Events: 3644 mean_circ: 0.937918
Ran for 83550 frames Cell Events: 3694 mean_circ: 0.937928
Ran for 84050 frames Cell Events: 3726 mean_circ: 0.93795
Ran for 84550 frames Cell Events: 3747 mean_circ: 0.937862
Ran for 85550 frames Cell Events: 3795 mean_circ: 0.937856
Ran for 86050 frames Cell Events: 3810 mean_circ: 0.937917
Ran for 86550 frames Cell Events: 3843 mean_circ: 0.937949
Ran for 87050 frames Cell Events: 3872 mean_circ: 0.937799
Ran for 87550 frames Cell Events: 3905 mean_circ: 0.937799
Ran for 88050 frames Cell Events: 3928 mean_circ: 0.937786
Ran for 88550 frames Cell Events: 3950 mean_circ: 0.937828
Ran for 90050 frames Cell Events: 4017 mean_circ: 0.937657
Ran for 90550 frames Cell Events: 4052 mean_circ: 0.937684
Ran for 91550 frames Cell Events: 4090 mean_circ: 0.937859
Ran for 92050 frames Cell Events: 4111 mean_circ: 0.937788
Ran for 92550 frames Cell Events: 4132 mean_circ: 0.937754
Ran for 94550 frames Cell Events: 4272 mean_circ: 0.937702
Ran for 95550 frames Cell Events: 4322 mean_circ: 0.937639
Ran for 97550 frames Cell Events: 4441 mean_circ: 0.937891
Ran for 98050 frames Cell Events: 4464 mean_circ: 0.937876
Ran for 100050 frames Cell Events: 4578 mean_circ: 0.937776
Ran for 100550 frames Cell Events: 4611 mean_circ: 0.937763
Ran for 101050 frames Cell Events: 4637 mean_circ: 0.937724
Ran for 101550 frames Cell Events: 4656 mean_circ: 0.937773
Ran for 102050 frames Cell Events: 4674 mean_circ: 0.937767
Ran for 102550 frames Cell Events: 4691 mean_circ: 0.937785
Ran for 103550 frames Cell Events: 4737 mean_circ: 0.937802
Ran for 105550 frames Cell Events: 4834 mean_circ: 0.937721
Ran for 106050 frames Cell Events: 4860 mean_circ: 0.937833
Ran for 107550 frames Cell Events: 4915 mean_circ: 0.937885
Ran for 108050 frames Cell Events: 4938 mean_circ: 0.93789
Ran for 108550 frames Cell Events: 4968 mean_circ: 0.937875
Ran for 109050 frames Cell Events: 4998 mean_circ: 0.937792
Ran for 111050 frames Cell Events: 5100 mean_circ: 0.937745
Ran for 111550 frames Cell Events: 5121 mean_circ: 0.937669
Ran for 112050 frames Cell Events: 5139 mean_circ: 0.937638
Ran for 112550 frames Cell Events: 5170 mean_circ: 0.937605
Ran for 113550 frames Cell Events: 5228 mean_circ: 0.937515
Ran for 114050 frames Cell Events: 5246 mean_circ: 0.937491
Ran for 114550 frames Cell Events: 5274 mean_circ: 0.937459
Ran for 116050 frames Cell Events: 5341 mean_circ: 0.937458
Ran for 117050 frames Cell Events: 5396 mean_circ: 0.937503
Ran for 120050 frames Cell Events: 5520 mean_circ: 0.937555
Ran for 120550 frames Cell Events: 5549 mean_circ: 0.937524
Ran for 121050 frames Cell Events: 5561 mean_circ: 0.937469
Ran for 121550 frames Cell Events: 5585 mean_circ: 0.937495
Ran for 122050 frames Cell Events: 5606 mean_circ: 0.937533
Ran for 123050 frames Cell Events: 5642 mean_circ: 0.937526
Ran for 124050 frames Cell Events: 5691 mean_circ: 0.93761
Ran for 124550 frames Cell Events: 5713 mean_circ: 0.937615
Ran for 125550 frames Cell Events: 5748 mean_circ: 0.937613
Ran for 126550 frames Cell Events: 5800 mean_circ: 0.93764
Ran for 127050 frames Cell Events: 5821 mean_circ: 0.937655
Ran for 127550 frames Cell Events: 5834 mean_circ: 0.937675
Ran for 128050 frames Cell Events: 5850 mean_circ: 0.937675
Ran for 128550 frames Cell Events: 5872 mean_circ: 0.937637
Ran for 129550 frames Cell Events: 5904 mean_circ: 0.937679
Ran for 130050 frames Cell Events: 5921 mean_circ: 0.937742
Ran for 130550 frames Cell Events: 5939 mean_circ: 0.937742
Ran for 131050 frames Cell Events: 5967 mean_circ: 0.937755
Ran for 132050 frames Cell Events: 6008 mean_circ: 0.937809
Ran for 132550 frames Cell Events: 6028 mean_circ: 0.937699
Ran for 134050 frames Cell Events: 6105 mean_circ: 0.937642
Ran for 135050 frames Cell Events: 6151 mean_circ: 0.937683
Ran for 135550 frames Cell Events: 6169 mean_circ: 0.937703
Ran for 136050 frames Cell Events: 6191 mean_circ: 0.937716
Ran for 136550 frames Cell Events: 6213 mean_circ: 0.937655
Ran for 137550 frames Cell Events: 6263 mean_circ: 0.937657
Ran for 138050 frames Cell Events: 6290 mean_circ: 0.937577
Ran for 138550 frames Cell Events: 6316 mean_circ: 0.937615
Ran for 139550 frames Cell Events: 6362 mean_circ: 0.937627
Ran for 140050 frames Cell Events: 6374 mean_circ: 0.937613
Ran for 141550 frames Cell Events: 6470 mean_circ: 0.937625
Ran for 143050 frames Cell Events: 6559 mean_circ: 0.937591
Ran for 143550 frames Cell Events: 6590 mean_circ: 0.937566
Ran for 144050 frames Cell Events: 6604 mean_circ: 0.937593
Ran for 144550 frames Cell Events: 6624 mean_circ: 0.937582
Ran for 146050 frames Cell Events: 6721 mean_circ: 0.937725
Ran for 147050 frames Cell Events: 6784 mean_circ: 0.937653
Ran for 149550 frames Cell Events: 6933 mean_circ: 0.937689
Ran for 150050 frames Cell Events: 6955 mean_circ: 0.937719
Ran for 152050 frames Cell Events: 7066 mean_circ: 0.937725
Ran for 152550 frames Cell Events: 7088 mean_circ: 0.937734
Ran for 153050 frames Cell Events: 7110 mean_circ: 0.937746
Ran for 153550 frames Cell Events: 7134 mean_circ: 0.937743
Ran for 154050 frames Cell Events: 7163 mean_circ: 0.937737
Ran for 156550 frames Cell Events: 7303 mean_circ: 0.937708
Ran for 157050 frames Cell Events: 7338 mean_circ: 0.937678
Ran for 157550 frames Cell Events: 7352 mean_circ: 0.937644
Ran for 158050 frames Cell Events: 7378 mean_circ: 0.937626
Ran for 159550 frames Cell Events: 7444 mean_circ: 0.937623
Ran for 163050 frames Cell Events: 7661 mean_circ: 0.937277
Ran for 164050 frames Cell Events: 7706 mean_circ: 0.937187
Ran for 164550 frames Cell Events: 7730 mean_circ: 0.937165
Ran for 165050 frames Cell Events: 7754 mean_circ: 0.937145
Ran for 166550 frames Cell Events: 7825 mean_circ: 0.937123
Ran for 167050 frames Cell Events: 7850 mean_circ: 0.937167
Ran for 167550 frames Cell Events: 7864 mean_circ: 0.937167
Ran for 168050 frames Cell Events: 7877 mean_circ: 0.937127
Ran for 168550 frames Cell Events: 7907 mean_circ: 0.937095
Ran for 170050 frames Cell Events: 7967 mean_circ: 0.936999
Ran for 171050 frames Cell Events: 8017 mean_circ: 0.936956
Ran for 171550 frames Cell Events: 8045 mean_circ: 0.936889
Ran for 172050 frames Cell Events: 8052 mean_circ: 0.936874
Ran for 173050 frames Cell Events: 8111 mean_circ: 0.936841
Ran for 173550 frames Cell Events: 8130 mean_circ: 0.93685
Ran for 174050 frames Cell Events: 8152 mean_circ: 0.936863
Ran for 175050 frames Cell Events: 8190 mean_circ: 0.936822
Ran for 175550 frames Cell Events: 8219 mean_circ: 0.936805
Ran for 176050 frames Cell Events: 8251 mean_circ: 0.936794
Ran for 177550 frames Cell Events: 8339 mean_circ: 0.936673
Ran for 178050 frames Cell Events: 8360 mean_circ: 0.93666