Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.1742
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.94532e+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 1050 frames Cell Events: 49 mean_circ: 0.951542
Ran for 1550 frames Cell Events: 62 mean_circ: 0.95215
Ran for 2050 frames Cell Events: 98 mean_circ: 0.954554
Ran for 7550 frames Cell Events: 395 mean_circ: 0.954472
Ran for 8050 frames Cell Events: 415 mean_circ: 0.954153
Ran for 9050 frames Cell Events: 460 mean_circ: 0.954083
Ran for 9550 frames Cell Events: 484 mean_circ: 0.953992
Ran for 11050 frames Cell Events: 582 mean_circ: 0.954092
Ran for 11550 frames Cell Events: 604 mean_circ: 0.954652
Ran for 12050 frames Cell Events: 629 mean_circ: 0.954038
Ran for 14050 frames Cell Events: 712 mean_circ: 0.954905
Ran for 15050 frames Cell Events: 772 mean_circ: 0.955042
Ran for 15550 frames Cell Events: 795 mean_circ: 0.955112
Ran for 16550 frames Cell Events: 844 mean_circ: 0.955066
Ran for 17050 frames Cell Events: 858 mean_circ: 0.955103
Ran for 18050 frames Cell Events: 905 mean_circ: 0.955254
Ran for 18550 frames Cell Events: 935 mean_circ: 0.955432
Ran for 19050 frames Cell Events: 963 mean_circ: 0.955527
Ran for 19550 frames Cell Events: 981 mean_circ: 0.955696
Ran for 20050 frames Cell Events: 1003 mean_circ: 0.955692
Ran for 20550 frames Cell Events: 1029 mean_circ: 0.955324
Ran for 22050 frames Cell Events: 1107 mean_circ: 0.955233
Ran for 22550 frames Cell Events: 1118 mean_circ: 0.955271
Ran for 23550 frames Cell Events: 1148 mean_circ: 0.955176
Ran for 25050 frames Cell Events: 1220 mean_circ: 0.955135
Ran for 25550 frames Cell Events: 1244 mean_circ: 0.954944
Ran for 26050 frames Cell Events: 1273 mean_circ: 0.955072
Ran for 26550 frames Cell Events: 1298 mean_circ: 0.954934
Ran for 27050 frames Cell Events: 1332 mean_circ: 0.95487
Ran for 27550 frames Cell Events: 1347 mean_circ: 0.954991
Ran for 28550 frames Cell Events: 1397 mean_circ: 0.95475
Ran for 29550 frames Cell Events: 1442 mean_circ: 0.954625
Ran for 31050 frames Cell Events: 1508 mean_circ: 0.954369
Ran for 32050 frames Cell Events: 1562 mean_circ: 0.954219
Ran for 32550 frames Cell Events: 1586 mean_circ: 0.95442
Ran for 33550 frames Cell Events: 1632 mean_circ: 0.954317
Ran for 34050 frames Cell Events: 1652 mean_circ: 0.954251
Ran for 35050 frames Cell Events: 1711 mean_circ: 0.954354
Ran for 35550 frames Cell Events: 1737 mean_circ: 0.954287
Ran for 36050 frames Cell Events: 1758 mean_circ: 0.9542
Ran for 36550 frames Cell Events: 1779 mean_circ: 0.954231
Ran for 37050 frames Cell Events: 1806 mean_circ: 0.954268
Ran for 38050 frames Cell Events: 1877 mean_circ: 0.953997
Ran for 38550 frames Cell Events: 1903 mean_circ: 0.954062
Ran for 39550 frames Cell Events: 1938 mean_circ: 0.95425
Ran for 40050 frames Cell Events: 1962 mean_circ: 0.954279
Ran for 40550 frames Cell Events: 1986 mean_circ: 0.954255
Ran for 41550 frames Cell Events: 2026 mean_circ: 0.954419
Ran for 42050 frames Cell Events: 2050 mean_circ: 0.954532
Ran for 42550 frames Cell Events: 2075 mean_circ: 0.954437
Ran for 43050 frames Cell Events: 2103 mean_circ: 0.95444
Ran for 43550 frames Cell Events: 2114 mean_circ: 0.954498
Ran for 44550 frames Cell Events: 2155 mean_circ: 0.954517
Ran for 45050 frames Cell Events: 2173 mean_circ: 0.954499
Ran for 45550 frames Cell Events: 2205 mean_circ: 0.954326
Ran for 47050 frames Cell Events: 2282 mean_circ: 0.954196
Ran for 47550 frames Cell Events: 2305 mean_circ: 0.95403
Ran for 48050 frames Cell Events: 2320 mean_circ: 0.953945
Ran for 48550 frames Cell Events: 2335 mean_circ: 0.953939
Ran for 49050 frames Cell Events: 2353 mean_circ: 0.953979
Ran for 50050 frames Cell Events: 2402 mean_circ: 0.954101
Ran for 50550 frames Cell Events: 2425 mean_circ: 0.954067
Ran for 51050 frames Cell Events: 2455 mean_circ: 0.954145
Ran for 51550 frames Cell Events: 2477 mean_circ: 0.954119
Ran for 52050 frames Cell Events: 2494 mean_circ: 0.954209
Ran for 52550 frames Cell Events: 2516 mean_circ: 0.95413
Ran for 54550 frames Cell Events: 2611 mean_circ: 0.954234
Ran for 55050 frames Cell Events: 2630 mean_circ: 0.954286
Ran for 56050 frames Cell Events: 2674 mean_circ: 0.954386
Ran for 56550 frames Cell Events: 2693 mean_circ: 0.954394
Ran for 57550 frames Cell Events: 2737 mean_circ: 0.954387
Ran for 58050 frames Cell Events: 2763 mean_circ: 0.954345
Ran for 59050 frames Cell Events: 2822 mean_circ: 0.954289
Ran for 59550 frames Cell Events: 2836 mean_circ: 0.954112
Ran for 60050 frames Cell Events: 2849 mean_circ: 0.954065
Ran for 60550 frames Cell Events: 2875 mean_circ: 0.954027
Ran for 61050 frames Cell Events: 2897 mean_circ: 0.954062
Ran for 61550 frames Cell Events: 2919 mean_circ: 0.954078
Ran for 62050 frames Cell Events: 2952 mean_circ: 0.954101
Ran for 65050 frames Cell Events: 3107 mean_circ: 0.954176
Ran for 66050 frames Cell Events: 3161 mean_circ: 0.954256
Ran for 68050 frames Cell Events: 3250 mean_circ: 0.95431
Ran for 68550 frames Cell Events: 3266 mean_circ: 0.954356
Ran for 69050 frames Cell Events: 3294 mean_circ: 0.954351
Ran for 69550 frames Cell Events: 3310 mean_circ: 0.954421
Ran for 70050 frames Cell Events: 3325 mean_circ: 0.954457
Ran for 70550 frames Cell Events: 3347 mean_circ: 0.954477
Ran for 71550 frames Cell Events: 3405 mean_circ: 0.954388
Ran for 72050 frames Cell Events: 3426 mean_circ: 0.954422
Ran for 73050 frames Cell Events: 3481 mean_circ: 0.954418
Ran for 74050 frames Cell Events: 3539 mean_circ: 0.954431
Ran for 75050 frames Cell Events: 3587 mean_circ: 0.954465
Ran for 75550 frames Cell Events: 3613 mean_circ: 0.954479
Ran for 76550 frames Cell Events: 3654 mean_circ: 0.954404
Ran for 77050 frames Cell Events: 3667 mean_circ: 0.954389
Ran for 77550 frames Cell Events: 3692 mean_circ: 0.954364
Ran for 78050 frames Cell Events: 3705 mean_circ: 0.954375
Ran for 79050 frames Cell Events: 3765 mean_circ: 0.954305
Ran for 80050 frames Cell Events: 3799 mean_circ: 0.954319
Ran for 80550 frames Cell Events: 3815 mean_circ: 0.954363
Ran for 81050 frames Cell Events: 3836 mean_circ: 0.954419
Ran for 82550 frames Cell Events: 3895 mean_circ: 0.954465
Ran for 83550 frames Cell Events: 3943 mean_circ: 0.95445
Ran for 84550 frames Cell Events: 3989 mean_circ: 0.954444
Ran for 85050 frames Cell Events: 4006 mean_circ: 0.954463
Ran for 85550 frames Cell Events: 4032 mean_circ: 0.95442
Ran for 87050 frames Cell Events: 4114 mean_circ: 0.954443
Ran for 87550 frames Cell Events: 4138 mean_circ: 0.954452
Ran for 88550 frames Cell Events: 4193 mean_circ: 0.954493
Ran for 89050 frames Cell Events: 4211 mean_circ: 0.954521
Ran for 91550 frames Cell Events: 4332 mean_circ: 0.95446
Ran for 93050 frames Cell Events: 4409 mean_circ: 0.954515
Ran for 94550 frames Cell Events: 4491 mean_circ: 0.954492
Ran for 95550 frames Cell Events: 4536 mean_circ: 0.954418
Ran for 96550 frames Cell Events: 4575 mean_circ: 0.954442
Ran for 97550 frames Cell Events: 4599 mean_circ: 0.954436
Ran for 98050 frames Cell Events: 4627 mean_circ: 0.95435
Ran for 100050 frames Cell Events: 4718 mean_circ: 0.95422
Ran for 102050 frames Cell Events: 4831 mean_circ: 0.954209
Ran for 103050 frames Cell Events: 4873 mean_circ: 0.954154
Ran for 104050 frames Cell Events: 4909 mean_circ: 0.954172
Ran for 105550 frames Cell Events: 4995 mean_circ: 0.954167
Ran for 106050 frames Cell Events: 5022 mean_circ: 0.954047
Ran for 107050 frames Cell Events: 5073 mean_circ: 0.954016
Ran for 107550 frames Cell Events: 5101 mean_circ: 0.954025
Ran for 108550 frames Cell Events: 5159 mean_circ: 0.954047
Ran for 109050 frames Cell Events: 5185 mean_circ: 0.954046
Ran for 109550 frames Cell Events: 5207 mean_circ: 0.954078
Ran for 110050 frames Cell Events: 5233 mean_circ: 0.95405
Ran for 110550 frames Cell Events: 5271 mean_circ: 0.954002
Ran for 112550 frames Cell Events: 5392 mean_circ: 0.954011
Ran for 114050 frames Cell Events: 5459 mean_circ: 0.954085
Ran for 114550 frames Cell Events: 5480 mean_circ: 0.954048
Ran for 115050 frames Cell Events: 5495 mean_circ: 0.953995
Ran for 116050 frames Cell Events: 5536 mean_circ: 0.954038
Ran for 116550 frames Cell Events: 5551 mean_circ: 0.954081
Ran for 117550 frames Cell Events: 5597 mean_circ: 0.954109
Ran for 118050 frames Cell Events: 5623 mean_circ: 0.954163
Ran for 118550 frames Cell Events: 5651 mean_circ: 0.954172
Ran for 119550 frames Cell Events: 5700 mean_circ: 0.954233
Ran for 120050 frames Cell Events: 5724 mean_circ: 0.954266
Ran for 120550 frames Cell Events: 5744 mean_circ: 0.954252
Ran for 122050 frames Cell Events: 5815 mean_circ: 0.954122
Ran for 122550 frames Cell Events: 5842 mean_circ: 0.954029
Ran for 123050 frames Cell Events: 5861 mean_circ: 0.953994
Ran for 124050 frames Cell Events: 5905 mean_circ: 0.953928
Ran for 125050 frames Cell Events: 5972 mean_circ: 0.953901
Ran for 125550 frames Cell Events: 5989 mean_circ: 0.953922
Ran for 126050 frames Cell Events: 6009 mean_circ: 0.953919
Ran for 127550 frames Cell Events: 6067 mean_circ: 0.9539
Ran for 128550 frames Cell Events: 6103 mean_circ: 0.953849
Ran for 129050 frames Cell Events: 6122 mean_circ: 0.95383
Ran for 129550 frames Cell Events: 6147 mean_circ: 0.953844
Ran for 130050 frames Cell Events: 6172 mean_circ: 0.953848
Ran for 130550 frames Cell Events: 6188 mean_circ: 0.953836
Ran for 131050 frames Cell Events: 6220 mean_circ: 0.95384
Ran for 131550 frames Cell Events: 6254 mean_circ: 0.953836
Ran for 132050 frames Cell Events: 6269 mean_circ: 0.953827
Ran for 132550 frames Cell Events: 6295 mean_circ: 0.953827
Ran for 133050 frames Cell Events: 6321 mean_circ: 0.953762
Ran for 133550 frames Cell Events: 6348 mean_circ: 0.953782
Ran for 134050 frames Cell Events: 6387 mean_circ: 0.953782
Ran for 135050 frames Cell Events: 6423 mean_circ: 0.953739
Ran for 135550 frames Cell Events: 6438 mean_circ: 0.953725
Ran for 136550 frames Cell Events: 6496 mean_circ: 0.953739
Ran for 137550 frames Cell Events: 6532 mean_circ: 0.953752
Ran for 138550 frames Cell Events: 6580 mean_circ: 0.953735
Ran for 139050 frames Cell Events: 6602 mean_circ: 0.953733
Ran for 139550 frames Cell Events: 6619 mean_circ: 0.953762
Ran for 140550 frames Cell Events: 6662 mean_circ: 0.953767
Ran for 141550 frames Cell Events: 6707 mean_circ: 0.953789
Ran for 142050 frames Cell Events: 6731 mean_circ: 0.953711
Ran for 142550 frames Cell Events: 6764 mean_circ: 0.953695
Ran for 143550 frames Cell Events: 6817 mean_circ: 0.953704
Ran for 144050 frames Cell Events: 6842 mean_circ: 0.953726
Ran for 144550 frames Cell Events: 6866 mean_circ: 0.953716
Ran for 145050 frames Cell Events: 6890 mean_circ: 0.953699
Ran for 145550 frames Cell Events: 6914 mean_circ: 0.953733
Ran for 146050 frames Cell Events: 6931 mean_circ: 0.953732
Ran for 147550 frames Cell Events: 7015 mean_circ: 0.95369
Ran for 148050 frames Cell Events: 7039 mean_circ: 0.95371
Ran for 148550 frames Cell Events: 7062 mean_circ: 0.953735
Ran for 149550 frames Cell Events: 7107 mean_circ: 0.953731
Ran for 151550 frames Cell Events: 7196 mean_circ: 0.953691
Ran for 152550 frames Cell Events: 7239 mean_circ: 0.953714
Ran for 153050 frames Cell Events: 7264 mean_circ: 0.953745
Ran for 153550 frames Cell Events: 7291 mean_circ: 0.953757
Ran for 154050 frames Cell Events: 7312 mean_circ: 0.953774
Ran for 155550 frames Cell Events: 7391 mean_circ: 0.953768
Ran for 156050 frames Cell Events: 7408 mean_circ: 0.953769
Ran for 157050 frames Cell Events: 7456 mean_circ: 0.95376
Ran for 157550 frames Cell Events: 7488 mean_circ: 0.953785
Ran for 158050 frames Cell Events: 7514 mean_circ: 0.953785
Ran for 158550 frames Cell Events: 7534 mean_circ: 0.953746
Ran for 159050 frames Cell Events: 7544 mean_circ: 0.953741
Ran for 160050 frames Cell Events: 7613 mean_circ: 0.953743
Ran for 161050 frames Cell Events: 7648 mean_circ: 0.953756
Ran for 161550 frames Cell Events: 7665 mean_circ: 0.953767
Ran for 163050 frames Cell Events: 7717 mean_circ: 0.953788
Ran for 163550 frames Cell Events: 7731 mean_circ: 0.953806
Ran for 165050 frames Cell Events: 7794 mean_circ: 0.953724
Ran for 165550 frames Cell Events: 7823 mean_circ: 0.953739
Ran for 166050 frames Cell Events: 7853 mean_circ: 0.953739
Ran for 168050 frames Cell Events: 7959 mean_circ: 0.953704
Ran for 168550 frames Cell Events: 7984 mean_circ: 0.953733
Ran for 169050 frames Cell Events: 8013 mean_circ: 0.953718
Ran for 169550 frames Cell Events: 8033 mean_circ: 0.953707
Ran for 170050 frames Cell Events: 8056 mean_circ: 0.953726
Ran for 171050 frames Cell Events: 8101 mean_circ: 0.953744
Ran for 172550 frames Cell Events: 8166 mean_circ: 0.953752
Ran for 174050 frames Cell Events: 8269 mean_circ: 0.953704
Ran for 174550 frames Cell Events: 8298 mean_circ: 0.953704
Ran for 176550 frames Cell Events: 8394 mean_circ: 0.953742
Ran for 177050 frames Cell Events: 8412 mean_circ: 0.953701
Ran for 178550 frames Cell Events: 8481 mean_circ: 0.953671
Ran for 179550 frames Cell Events: 8530 mean_circ: 0.95367
Ran for 180050 frames Cell Events: 8555 mean_circ: 0.953671
Ran for 181550 frames Cell Events: 8626 mean_circ: 0.953713
Ran for 182050 frames Cell Events: 8662 mean_circ: 0.953705
Ran for 182550 frames Cell Events: 8695 mean_circ: 0.953731
Ran for 183050 frames Cell Events: 8718 mean_circ: 0.953715
Ran for 183550 frames Cell Events: 8739 mean_circ: 0.953682
Ran for 184050 frames Cell Events: 8755 mean_circ: 0.953661
Ran for 185550 frames Cell Events: 8821 mean_circ: 0.953648
Ran for 186550 frames Cell Events: 8880 mean_circ: 0.953631
Ran for 187550 frames Cell Events: 8917 mean_circ: 0.953646
Ran for 189050 frames Cell Events: 8978 mean_circ: 0.953635
Ran for 191050 frames Cell Events: 9085 mean_circ: 0.953588
Ran for 191550 frames Cell Events: 9104 mean_circ: 0.953568
Ran for 192050 frames Cell Events: 9130 mean_circ: 0.953572
Ran for 192550 frames Cell Events: 9161 mean_circ: 0.953582
Ran for 193550 frames Cell Events: 9202 mean_circ: 0.953596
Ran for 194050 frames Cell Events: 9217 mean_circ: 0.953594
Ran for 195050 frames Cell Events: 9254 mean_circ: 0.953618
Ran for 195550 frames Cell Events: 9264 mean_circ: 0.953639
Ran for 196550 frames Cell Events: 9320 mean_circ: 0.953621
Ran for 197050 frames Cell Events: 9336 mean_circ: 0.95363
Ran for 197550 frames Cell Events: 9365 mean_circ: 0.953631
Ran for 198050 frames Cell Events: 9373 mean_circ: 0.953637
Ran for 199050 frames Cell Events: 9417 mean_circ: 0.953641
Ran for 199550 frames Cell Events: 9440 mean_circ: 0.953621
Ran for 200050 frames Cell Events: 9472 mean_circ: 0.953632
Ran for 200550 frames Cell Events: 9488 mean_circ: 0.953603
Ran for 202050 frames Cell Events: 9579 mean_circ: 0.953576
Ran for 202550 frames Cell Events: 9598 mean_circ: 0.953582
Ran for 207050 frames Cell Events: 9835 mean_circ: 0.953548
Ran for 209550 frames Cell Events: 9941 mean_circ: 0.953515
End this measurment.
because stop condition (time/nr of cells) was met