Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 25.7812
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 5.57159e+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 1050 frames Cell Events: 53 mean_circ: 0.946348
Ran for 2550 frames Cell Events: 157 mean_circ: 0.937866
Ran for 3550 frames Cell Events: 223 mean_circ: 0.939121
Ran for 4050 frames Cell Events: 249 mean_circ: 0.940843
Ran for 4550 frames Cell Events: 279 mean_circ: 0.940151
Ran for 5550 frames Cell Events: 330 mean_circ: 0.940578
Ran for 6550 frames Cell Events: 387 mean_circ: 0.940969
Ran for 7050 frames Cell Events: 414 mean_circ: 0.940171
Ran for 7550 frames Cell Events: 436 mean_circ: 0.940159
Ran for 8050 frames Cell Events: 465 mean_circ: 0.940795
Ran for 8550 frames Cell Events: 486 mean_circ: 0.940856
Ran for 9050 frames Cell Events: 503 mean_circ: 0.940946
Ran for 10050 frames Cell Events: 553 mean_circ: 0.940905
Ran for 10550 frames Cell Events: 577 mean_circ: 0.940991
Ran for 13050 frames Cell Events: 707 mean_circ: 0.94104
Ran for 13550 frames Cell Events: 729 mean_circ: 0.941072
Ran for 14050 frames Cell Events: 752 mean_circ: 0.941311
Ran for 16550 frames Cell Events: 861 mean_circ: 0.940531
Ran for 17050 frames Cell Events: 887 mean_circ: 0.940457
Ran for 17550 frames Cell Events: 925 mean_circ: 0.939908
Ran for 18050 frames Cell Events: 942 mean_circ: 0.939765
Ran for 18550 frames Cell Events: 977 mean_circ: 0.940011
Ran for 19550 frames Cell Events: 1031 mean_circ: 0.940272
Ran for 20050 frames Cell Events: 1059 mean_circ: 0.940546
Ran for 21050 frames Cell Events: 1090 mean_circ: 0.940481
Ran for 23050 frames Cell Events: 1197 mean_circ: 0.939689
Ran for 23550 frames Cell Events: 1213 mean_circ: 0.939664
Ran for 24050 frames Cell Events: 1237 mean_circ: 0.939891
Ran for 25050 frames Cell Events: 1290 mean_circ: 0.940029
Ran for 25550 frames Cell Events: 1311 mean_circ: 0.939623
Ran for 26550 frames Cell Events: 1362 mean_circ: 0.939666
Ran for 27550 frames Cell Events: 1414 mean_circ: 0.939726
Ran for 28050 frames Cell Events: 1439 mean_circ: 0.939539
Ran for 30550 frames Cell Events: 1600 mean_circ: 0.939743
Ran for 33550 frames Cell Events: 1808 mean_circ: 0.939336
Ran for 34550 frames Cell Events: 1866 mean_circ: 0.938989
Ran for 35550 frames Cell Events: 1924 mean_circ: 0.938976
Ran for 36550 frames Cell Events: 1978 mean_circ: 0.938406
Ran for 37050 frames Cell Events: 2012 mean_circ: 0.938118
Ran for 37550 frames Cell Events: 2036 mean_circ: 0.938222
Ran for 39050 frames Cell Events: 2131 mean_circ: 0.938634
Ran for 40550 frames Cell Events: 2222 mean_circ: 0.938699
Ran for 41050 frames Cell Events: 2258 mean_circ: 0.938793
Ran for 41550 frames Cell Events: 2281 mean_circ: 0.938734
Ran for 42050 frames Cell Events: 2294 mean_circ: 0.938864
Ran for 42550 frames Cell Events: 2314 mean_circ: 0.938804
Ran for 43050 frames Cell Events: 2324 mean_circ: 0.938859
Ran for 43550 frames Cell Events: 2338 mean_circ: 0.93888
Ran for 44050 frames Cell Events: 2368 mean_circ: 0.938855
Ran for 45050 frames Cell Events: 2405 mean_circ: 0.93884
Ran for 46550 frames Cell Events: 2477 mean_circ: 0.938893
Ran for 47550 frames Cell Events: 2532 mean_circ: 0.938854
Ran for 48050 frames Cell Events: 2549 mean_circ: 0.938842
Ran for 48550 frames Cell Events: 2574 mean_circ: 0.938678
Ran for 50050 frames Cell Events: 2635 mean_circ: 0.938333
Ran for 50550 frames Cell Events: 2665 mean_circ: 0.938248
Ran for 51050 frames Cell Events: 2691 mean_circ: 0.938195
Ran for 52050 frames Cell Events: 2728 mean_circ: 0.938456
Ran for 55050 frames Cell Events: 2872 mean_circ: 0.938622
Ran for 57050 frames Cell Events: 2940 mean_circ: 0.938792
Ran for 57550 frames Cell Events: 2965 mean_circ: 0.938748
Ran for 58050 frames Cell Events: 2991 mean_circ: 0.938818
Ran for 58550 frames Cell Events: 3016 mean_circ: 0.938783
Ran for 59550 frames Cell Events: 3062 mean_circ: 0.938732
Ran for 60050 frames Cell Events: 3079 mean_circ: 0.938732
Ran for 61050 frames Cell Events: 3119 mean_circ: 0.938751
Ran for 62050 frames Cell Events: 3166 mean_circ: 0.938954
Ran for 62550 frames Cell Events: 3186 mean_circ: 0.938901
Ran for 63050 frames Cell Events: 3208 mean_circ: 0.93898
Ran for 64050 frames Cell Events: 3238 mean_circ: 0.939058
Ran for 64550 frames Cell Events: 3264 mean_circ: 0.93908
Ran for 65050 frames Cell Events: 3279 mean_circ: 0.939083
Ran for 66050 frames Cell Events: 3331 mean_circ: 0.939018
Ran for 66550 frames Cell Events: 3358 mean_circ: 0.939062
Ran for 67050 frames Cell Events: 3378 mean_circ: 0.938974
Ran for 67550 frames Cell Events: 3409 mean_circ: 0.938877
Ran for 68050 frames Cell Events: 3434 mean_circ: 0.938823
Ran for 68550 frames Cell Events: 3454 mean_circ: 0.938658
Ran for 69050 frames Cell Events: 3473 mean_circ: 0.938536
Ran for 70050 frames Cell Events: 3507 mean_circ: 0.938619
Ran for 72550 frames Cell Events: 3623 mean_circ: 0.93887
Ran for 73050 frames Cell Events: 3647 mean_circ: 0.938898
Ran for 73550 frames Cell Events: 3668 mean_circ: 0.938889
Ran for 74050 frames Cell Events: 3686 mean_circ: 0.938974
Ran for 75550 frames Cell Events: 3773 mean_circ: 0.938962
Ran for 76050 frames Cell Events: 3796 mean_circ: 0.938963
Ran for 76550 frames Cell Events: 3809 mean_circ: 0.938951
Ran for 78050 frames Cell Events: 3874 mean_circ: 0.939025
Ran for 78550 frames Cell Events: 3890 mean_circ: 0.939078
Ran for 79050 frames Cell Events: 3898 mean_circ: 0.939098
Ran for 79550 frames Cell Events: 3912 mean_circ: 0.939103
Ran for 81050 frames Cell Events: 3960 mean_circ: 0.939192
Ran for 82050 frames Cell Events: 3997 mean_circ: 0.939218
Ran for 82550 frames Cell Events: 4016 mean_circ: 0.93919
Ran for 83050 frames Cell Events: 4039 mean_circ: 0.939242
Ran for 85050 frames Cell Events: 4159 mean_circ: 0.939287
Ran for 86550 frames Cell Events: 4220 mean_circ: 0.93918
Ran for 87050 frames Cell Events: 4239 mean_circ: 0.939213
Ran for 87550 frames Cell Events: 4261 mean_circ: 0.939255
Ran for 88050 frames Cell Events: 4277 mean_circ: 0.93927
Ran for 89550 frames Cell Events: 4349 mean_circ: 0.939399
Ran for 90050 frames Cell Events: 4386 mean_circ: 0.939287
Ran for 90550 frames Cell Events: 4396 mean_circ: 0.939235
Ran for 91050 frames Cell Events: 4410 mean_circ: 0.939203
Ran for 92050 frames Cell Events: 4460 mean_circ: 0.939269
Ran for 93050 frames Cell Events: 4496 mean_circ: 0.939339
Ran for 93550 frames Cell Events: 4527 mean_circ: 0.939351
Ran for 94050 frames Cell Events: 4541 mean_circ: 0.939431
Ran for 94550 frames Cell Events: 4555 mean_circ: 0.939452
Ran for 95550 frames Cell Events: 4598 mean_circ: 0.939359
Ran for 96050 frames Cell Events: 4622 mean_circ: 0.939281
Ran for 96550 frames Cell Events: 4639 mean_circ: 0.939272
Ran for 97050 frames Cell Events: 4658 mean_circ: 0.939284
Ran for 98050 frames Cell Events: 4687 mean_circ: 0.939317
Ran for 99050 frames Cell Events: 4751 mean_circ: 0.939286
Ran for 99550 frames Cell Events: 4777 mean_circ: 0.939255
Ran for 100050 frames Cell Events: 4808 mean_circ: 0.939272
Ran for 100550 frames Cell Events: 4822 mean_circ: 0.93926
Ran for 101050 frames Cell Events: 4849 mean_circ: 0.939369
Ran for 102550 frames Cell Events: 4909 mean_circ: 0.939528
Ran for 103550 frames Cell Events: 4974 mean_circ: 0.939586
Ran for 105050 frames Cell Events: 5043 mean_circ: 0.939534
Ran for 105550 frames Cell Events: 5062 mean_circ: 0.939538
Ran for 106050 frames Cell Events: 5083 mean_circ: 0.939465
Ran for 106550 frames Cell Events: 5102 mean_circ: 0.9394
Ran for 107050 frames Cell Events: 5126 mean_circ: 0.939455
Ran for 107550 frames Cell Events: 5150 mean_circ: 0.939424
Ran for 108050 frames Cell Events: 5182 mean_circ: 0.939363
Ran for 109050 frames Cell Events: 5221 mean_circ: 0.939366
Ran for 110550 frames Cell Events: 5305 mean_circ: 0.939385
Ran for 111050 frames Cell Events: 5328 mean_circ: 0.939355
Ran for 112050 frames Cell Events: 5377 mean_circ: 0.939466
Ran for 112550 frames Cell Events: 5401 mean_circ: 0.93951
Ran for 113050 frames Cell Events: 5420 mean_circ: 0.939515
Ran for 114050 frames Cell Events: 5474 mean_circ: 0.939506
Ran for 114550 frames Cell Events: 5494 mean_circ: 0.939551
Ran for 115050 frames Cell Events: 5506 mean_circ: 0.939541
Ran for 116550 frames Cell Events: 5586 mean_circ: 0.939475
Ran for 117050 frames Cell Events: 5612 mean_circ: 0.939485
Ran for 118550 frames Cell Events: 5683 mean_circ: 0.939548
Ran for 120050 frames Cell Events: 5784 mean_circ: 0.939366
Ran for 120550 frames Cell Events: 5804 mean_circ: 0.939369
Ran for 122050 frames Cell Events: 5879 mean_circ: 0.939433
Ran for 123550 frames Cell Events: 5956 mean_circ: 0.939452
Ran for 124550 frames Cell Events: 6008 mean_circ: 0.939426
Ran for 126050 frames Cell Events: 6088 mean_circ: 0.939541
Ran for 126550 frames Cell Events: 6119 mean_circ: 0.939583
Ran for 127050 frames Cell Events: 6138 mean_circ: 0.939648
Ran for 128050 frames Cell Events: 6184 mean_circ: 0.93963
Ran for 128550 frames Cell Events: 6205 mean_circ: 0.939665
Ran for 129050 frames Cell Events: 6228 mean_circ: 0.939647
Ran for 130050 frames Cell Events: 6281 mean_circ: 0.939693
Ran for 132550 frames Cell Events: 6387 mean_circ: 0.939581
Ran for 133050 frames Cell Events: 6409 mean_circ: 0.939668
Ran for 133550 frames Cell Events: 6439 mean_circ: 0.939609
Ran for 134050 frames Cell Events: 6461 mean_circ: 0.93965
Ran for 134550 frames Cell Events: 6481 mean_circ: 0.939669
Ran for 135550 frames Cell Events: 6530 mean_circ: 0.939714
Ran for 136050 frames Cell Events: 6559 mean_circ: 0.939715
Ran for 136550 frames Cell Events: 6582 mean_circ: 0.939705
Ran for 137550 frames Cell Events: 6609 mean_circ: 0.939723
Ran for 138550 frames Cell Events: 6657 mean_circ: 0.939812
Ran for 139050 frames Cell Events: 6676 mean_circ: 0.939834
Ran for 140550 frames Cell Events: 6756 mean_circ: 0.93988
Ran for 141050 frames Cell Events: 6772 mean_circ: 0.939871
Ran for 141550 frames Cell Events: 6792 mean_circ: 0.939837
Ran for 142050 frames Cell Events: 6818 mean_circ: 0.939836
Ran for 142550 frames Cell Events: 6837 mean_circ: 0.93987
Ran for 143050 frames Cell Events: 6857 mean_circ: 0.939914
Ran for 143550 frames Cell Events: 6870 mean_circ: 0.939911
Ran for 144050 frames Cell Events: 6894 mean_circ: 0.939946
Ran for 144550 frames Cell Events: 6911 mean_circ: 0.939952
Ran for 145550 frames Cell Events: 6981 mean_circ: 0.93995
Ran for 146050 frames Cell Events: 7007 mean_circ: 0.939975
Ran for 146550 frames Cell Events: 7027 mean_circ: 0.939924
Ran for 147050 frames Cell Events: 7055 mean_circ: 0.939948
Ran for 148050 frames Cell Events: 7092 mean_circ: 0.939979
Ran for 148550 frames Cell Events: 7115 mean_circ: 0.940012
Ran for 149050 frames Cell Events: 7133 mean_circ: 0.940087
Ran for 149550 frames Cell Events: 7158 mean_circ: 0.940092
Ran for 150050 frames Cell Events: 7175 mean_circ: 0.940126
Ran for 150550 frames Cell Events: 7197 mean_circ: 0.94012
Ran for 151550 frames Cell Events: 7245 mean_circ: 0.940136
Ran for 153050 frames Cell Events: 7326 mean_circ: 0.940136
Ran for 153550 frames Cell Events: 7356 mean_circ: 0.940145
Ran for 154550 frames Cell Events: 7404 mean_circ: 0.940221
Ran for 155050 frames Cell Events: 7438 mean_circ: 0.940211
Ran for 155550 frames Cell Events: 7465 mean_circ: 0.940252
Ran for 156050 frames Cell Events: 7489 mean_circ: 0.940245
Ran for 156550 frames Cell Events: 7512 mean_circ: 0.940208
Ran for 157050 frames Cell Events: 7532 mean_circ: 0.940175
Ran for 158050 frames Cell Events: 7587 mean_circ: 0.940167
Ran for 158550 frames Cell Events: 7611 mean_circ: 0.940147
Ran for 159050 frames Cell Events: 7626 mean_circ: 0.940164
Ran for 159550 frames Cell Events: 7653 mean_circ: 0.940199
Ran for 160050 frames Cell Events: 7691 mean_circ: 0.940199
Ran for 161550 frames Cell Events: 7768 mean_circ: 0.940324
Ran for 162050 frames Cell Events: 7790 mean_circ: 0.940347
Ran for 162550 frames Cell Events: 7811 mean_circ: 0.940348
Ran for 163550 frames Cell Events: 7854 mean_circ: 0.94038
Ran for 164050 frames Cell Events: 7874 mean_circ: 0.94032
Ran for 164550 frames Cell Events: 7904 mean_circ: 0.94031
Ran for 165550 frames Cell Events: 7969 mean_circ: 0.940335
Ran for 166050 frames Cell Events: 7982 mean_circ: 0.940313
Ran for 166550 frames Cell Events: 8000 mean_circ: 0.940322
Ran for 167550 frames Cell Events: 8042 mean_circ: 0.940327
Ran for 168550 frames Cell Events: 8078 mean_circ: 0.940334
Ran for 169050 frames Cell Events: 8112 mean_circ: 0.940403
Ran for 170050 frames Cell Events: 8180 mean_circ: 0.940444
Ran for 170550 frames Cell Events: 8200 mean_circ: 0.940468
Ran for 171050 frames Cell Events: 8222 mean_circ: 0.94048
Ran for 171550 frames Cell Events: 8244 mean_circ: 0.940509
Ran for 172050 frames Cell Events: 8263 mean_circ: 0.940516
Ran for 172550 frames Cell Events: 8281 mean_circ: 0.940559
Ran for 173550 frames Cell Events: 8328 mean_circ: 0.940637
Ran for 175050 frames Cell Events: 8409 mean_circ: 0.940482
Ran for 175550 frames Cell Events: 8431 mean_circ: 0.940502
Ran for 176050 frames Cell Events: 8456 mean_circ: 0.940522
Ran for 177050 frames Cell Events: 8514 mean_circ: 0.940554
Ran for 177550 frames Cell Events: 8537 mean_circ: 0.940568
Ran for 178050 frames Cell Events: 8550 mean_circ: 0.940561
Ran for 179550 frames Cell Events: 8609 mean_circ: 0.940597
Ran for 180050 frames Cell Events: 8636 mean_circ: 0.940574
Ran for 181550 frames Cell Events: 8699 mean_circ: 0.940628
Ran for 182050 frames Cell Events: 8707 mean_circ: 0.940643
Ran for 182550 frames Cell Events: 8721 mean_circ: 0.94065
Ran for 183550 frames Cell Events: 8767 mean_circ: 0.940648
Ran for 184050 frames Cell Events: 8784 mean_circ: 0.940678
Ran for 185050 frames Cell Events: 8834 mean_circ: 0.940611
Ran for 185550 frames Cell Events: 8849 mean_circ: 0.940619
Ran for 186050 frames Cell Events: 8878 mean_circ: 0.940649
Ran for 186550 frames Cell Events: 8900 mean_circ: 0.940669
Ran for 187550 frames Cell Events: 8950 mean_circ: 0.940654
Ran for 188050 frames Cell Events: 8974 mean_circ: 0.940612
Ran for 189050 frames Cell Events: 9025 mean_circ: 0.940651
Ran for 189550 frames Cell Events: 9045 mean_circ: 0.940631
Ran for 190050 frames Cell Events: 9072 mean_circ: 0.940613
Ran for 190550 frames Cell Events: 9096 mean_circ: 0.940533
Ran for 191050 frames Cell Events: 9117 mean_circ: 0.940554
Ran for 192050 frames Cell Events: 9166 mean_circ: 0.940538
Ran for 192550 frames Cell Events: 9186 mean_circ: 0.940532
Ran for 193050 frames Cell Events: 9204 mean_circ: 0.940566
Ran for 193550 frames Cell Events: 9240 mean_circ: 0.940534
Ran for 194550 frames Cell Events: 9302 mean_circ: 0.940481
Ran for 196050 frames Cell Events: 9359 mean_circ: 0.940423
Ran for 197050 frames Cell Events: 9393 mean_circ: 0.940417
Ran for 198050 frames Cell Events: 9457 mean_circ: 0.940352
Ran for 198550 frames Cell Events: 9494 mean_circ: 0.940356
Ran for 199050 frames Cell Events: 9510 mean_circ: 0.940353
Ran for 200050 frames Cell Events: 9567 mean_circ: 0.940371
Ran for 201550 frames Cell Events: 9651 mean_circ: 0.940315
Ran for 202050 frames Cell Events: 9676 mean_circ: 0.940295
Ran for 203050 frames Cell Events: 9733 mean_circ: 0.940208
Ran for 204050 frames Cell Events: 9786 mean_circ: 0.940246
Ran for 204550 frames Cell Events: 9817 mean_circ: 0.940229
Ran for 205550 frames Cell Events: 9864 mean_circ: 0.940169
Ran for 206550 frames Cell Events: 9897 mean_circ: 0.940177
Ran for 207050 frames Cell Events: 9913 mean_circ: 0.940178
Ran for 207550 frames Cell Events: 9931 mean_circ: 0.940187
Ran for 208050 frames Cell Events: 9949 mean_circ: 0.940213
Ran for 209050 frames Cell Events: 9986 mean_circ: 0.940177
End this measurment.
because stop condition (time/nr of cells) was met