Reset global variables..
Circular Buffer Size is: 1000000
Ambient Temperature [C] = 26.9851
Start pulse train for BG Aquisition..
Now refreshing the background image stored in the framegrabber
STATE: 3
Starting time: 1.21097e+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: 36 mean_circ: 0.930475
Ran for 1550 frames Cell Events: 47 mean_circ: 0.929353
Ran for 2050 frames Cell Events: 63 mean_circ: 0.931447
Ran for 2550 frames Cell Events: 76 mean_circ: 0.933843
Ran for 4550 frames Cell Events: 155 mean_circ: 0.932895
Ran for 5050 frames Cell Events: 176 mean_circ: 0.933753
Ran for 5550 frames Cell Events: 191 mean_circ: 0.935171
Ran for 7050 frames Cell Events: 258 mean_circ: 0.933027
Ran for 7550 frames Cell Events: 272 mean_circ: 0.932099
Ran for 9050 frames Cell Events: 345 mean_circ: 0.934593
Ran for 9550 frames Cell Events: 368 mean_circ: 0.934474
Ran for 11050 frames Cell Events: 416 mean_circ: 0.932704
Ran for 11550 frames Cell Events: 435 mean_circ: 0.933528
Ran for 12550 frames Cell Events: 480 mean_circ: 0.934204
Ran for 13050 frames Cell Events: 505 mean_circ: 0.933808
Ran for 14050 frames Cell Events: 529 mean_circ: 0.933734
Ran for 14550 frames Cell Events: 548 mean_circ: 0.933405
Ran for 15550 frames Cell Events: 592 mean_circ: 0.933772
Ran for 16050 frames Cell Events: 621 mean_circ: 0.932822
Ran for 16550 frames Cell Events: 637 mean_circ: 0.932507
Ran for 17050 frames Cell Events: 659 mean_circ: 0.933028
Ran for 19550 frames Cell Events: 766 mean_circ: 0.934248
Ran for 20550 frames Cell Events: 824 mean_circ: 0.934704
Ran for 21550 frames Cell Events: 862 mean_circ: 0.934851
Ran for 22050 frames Cell Events: 889 mean_circ: 0.934927
Ran for 22550 frames Cell Events: 904 mean_circ: 0.934775
Ran for 23550 frames Cell Events: 941 mean_circ: 0.934979
Ran for 24050 frames Cell Events: 956 mean_circ: 0.934804
Ran for 25050 frames Cell Events: 997 mean_circ: 0.934164
Ran for 25550 frames Cell Events: 1016 mean_circ: 0.933793
Ran for 26050 frames Cell Events: 1043 mean_circ: 0.933613
Ran for 26550 frames Cell Events: 1066 mean_circ: 0.933401
Ran for 27550 frames Cell Events: 1101 mean_circ: 0.9336
Ran for 28050 frames Cell Events: 1123 mean_circ: 0.933689
Ran for 28550 frames Cell Events: 1144 mean_circ: 0.933685
Ran for 29050 frames Cell Events: 1160 mean_circ: 0.933774
Ran for 29550 frames Cell Events: 1178 mean_circ: 0.934044
Ran for 30050 frames Cell Events: 1198 mean_circ: 0.933662
Ran for 30550 frames Cell Events: 1223 mean_circ: 0.933558
Ran for 31050 frames Cell Events: 1245 mean_circ: 0.93367
Ran for 31550 frames Cell Events: 1261 mean_circ: 0.933872
Ran for 32050 frames Cell Events: 1273 mean_circ: 0.933967
Ran for 33050 frames Cell Events: 1303 mean_circ: 0.933948
Ran for 33550 frames Cell Events: 1317 mean_circ: 0.93409
Ran for 34050 frames Cell Events: 1337 mean_circ: 0.933998
Ran for 34550 frames Cell Events: 1362 mean_circ: 0.934031
Ran for 35550 frames Cell Events: 1377 mean_circ: 0.934016
Ran for 36050 frames Cell Events: 1400 mean_circ: 0.933967
Ran for 36550 frames Cell Events: 1425 mean_circ: 0.93399
Ran for 37050 frames Cell Events: 1454 mean_circ: 0.93409
Ran for 38550 frames Cell Events: 1501 mean_circ: 0.934489
Ran for 39550 frames Cell Events: 1531 mean_circ: 0.934362
Ran for 40550 frames Cell Events: 1593 mean_circ: 0.934303
Ran for 41050 frames Cell Events: 1627 mean_circ: 0.934348
Ran for 42050 frames Cell Events: 1670 mean_circ: 0.934182
Ran for 42550 frames Cell Events: 1687 mean_circ: 0.934177
Ran for 43050 frames Cell Events: 1700 mean_circ: 0.934021
Ran for 44050 frames Cell Events: 1731 mean_circ: 0.934079
Ran for 44550 frames Cell Events: 1753 mean_circ: 0.934194
Ran for 45550 frames Cell Events: 1800 mean_circ: 0.934144
Ran for 46050 frames Cell Events: 1815 mean_circ: 0.934257
Ran for 46550 frames Cell Events: 1839 mean_circ: 0.934379
Ran for 47050 frames Cell Events: 1862 mean_circ: 0.934515
Ran for 47550 frames Cell Events: 1887 mean_circ: 0.934629
Ran for 48050 frames Cell Events: 1903 mean_circ: 0.934651
Ran for 48550 frames Cell Events: 1925 mean_circ: 0.934778
Ran for 49050 frames Cell Events: 1942 mean_circ: 0.934717
Ran for 49550 frames Cell Events: 1967 mean_circ: 0.934741
Ran for 50550 frames Cell Events: 1998 mean_circ: 0.934788
Ran for 52050 frames Cell Events: 2065 mean_circ: 0.934597
Ran for 52550 frames Cell Events: 2088 mean_circ: 0.934598
Ran for 53050 frames Cell Events: 2103 mean_circ: 0.934361
Ran for 53550 frames Cell Events: 2122 mean_circ: 0.934397
Ran for 55550 frames Cell Events: 2211 mean_circ: 0.934536
Ran for 56050 frames Cell Events: 2238 mean_circ: 0.934682
Ran for 56550 frames Cell Events: 2251 mean_circ: 0.934734
Ran for 57050 frames Cell Events: 2271 mean_circ: 0.934689
Ran for 57550 frames Cell Events: 2297 mean_circ: 0.934702
Ran for 58050 frames Cell Events: 2317 mean_circ: 0.934752
Ran for 59050 frames Cell Events: 2355 mean_circ: 0.934889
Ran for 59550 frames Cell Events: 2384 mean_circ: 0.934858
Ran for 60050 frames Cell Events: 2402 mean_circ: 0.934983
Ran for 60550 frames Cell Events: 2419 mean_circ: 0.935029
Ran for 61550 frames Cell Events: 2474 mean_circ: 0.934762
Ran for 62050 frames Cell Events: 2503 mean_circ: 0.934837
Ran for 62550 frames Cell Events: 2532 mean_circ: 0.934781
Ran for 63050 frames Cell Events: 2583 mean_circ: 0.934751
Ran for 63550 frames Cell Events: 2616 mean_circ: 0.934705
Ran for 65050 frames Cell Events: 2689 mean_circ: 0.934354
Ran for 65550 frames Cell Events: 2714 mean_circ: 0.934383
Ran for 66050 frames Cell Events: 2732 mean_circ: 0.934476
Ran for 66550 frames Cell Events: 2744 mean_circ: 0.934484
Ran for 67550 frames Cell Events: 2798 mean_circ: 0.934653
Ran for 68050 frames Cell Events: 2813 mean_circ: 0.934677
Ran for 68550 frames Cell Events: 2835 mean_circ: 0.934772
Ran for 69550 frames Cell Events: 2871 mean_circ: 0.934971
Ran for 70550 frames Cell Events: 2914 mean_circ: 0.934862
Ran for 71050 frames Cell Events: 2950 mean_circ: 0.934908
Ran for 72050 frames Cell Events: 2997 mean_circ: 0.935004
Ran for 72550 frames Cell Events: 3019 mean_circ: 0.935072
Ran for 73050 frames Cell Events: 3046 mean_circ: 0.935055
Ran for 73550 frames Cell Events: 3060 mean_circ: 0.935057
Ran for 74050 frames Cell Events: 3079 mean_circ: 0.9351
Ran for 74550 frames Cell Events: 3106 mean_circ: 0.935159
Ran for 75050 frames Cell Events: 3127 mean_circ: 0.935094
Ran for 75550 frames Cell Events: 3144 mean_circ: 0.935145
Ran for 78050 frames Cell Events: 3246 mean_circ: 0.935164
Ran for 78550 frames Cell Events: 3261 mean_circ: 0.935203
Ran for 79050 frames Cell Events: 3277 mean_circ: 0.935178
Ran for 79550 frames Cell Events: 3289 mean_circ: 0.935243
Ran for 80050 frames Cell Events: 3303 mean_circ: 0.935265
Ran for 80550 frames Cell Events: 3326 mean_circ: 0.93534
Ran for 81050 frames Cell Events: 3345 mean_circ: 0.935224
Ran for 81550 frames Cell Events: 3368 mean_circ: 0.935273
Ran for 82050 frames Cell Events: 3388 mean_circ: 0.935354
Ran for 82550 frames Cell Events: 3396 mean_circ: 0.93536
Ran for 83050 frames Cell Events: 3412 mean_circ: 0.935417
Ran for 83550 frames Cell Events: 3432 mean_circ: 0.935436
Ran for 84050 frames Cell Events: 3456 mean_circ: 0.935423
Ran for 84550 frames Cell Events: 3478 mean_circ: 0.935308
Ran for 85050 frames Cell Events: 3502 mean_circ: 0.9353
Ran for 85550 frames Cell Events: 3529 mean_circ: 0.935123
Ran for 86050 frames Cell Events: 3552 mean_circ: 0.935235
Ran for 87550 frames Cell Events: 3628 mean_circ: 0.935227
Ran for 88050 frames Cell Events: 3651 mean_circ: 0.93521
Ran for 88550 frames Cell Events: 3669 mean_circ: 0.935278
Ran for 89050 frames Cell Events: 3686 mean_circ: 0.935147
Ran for 89550 frames Cell Events: 3700 mean_circ: 0.93515
Ran for 90550 frames Cell Events: 3733 mean_circ: 0.935273
Ran for 91050 frames Cell Events: 3750 mean_circ: 0.935278
Ran for 92050 frames Cell Events: 3784 mean_circ: 0.935413
Ran for 92550 frames Cell Events: 3804 mean_circ: 0.935439
Ran for 93550 frames Cell Events: 3815 mean_circ: 0.935489
Ran for 94050 frames Cell Events: 3832 mean_circ: 0.935493
Ran for 94550 frames Cell Events: 3852 mean_circ: 0.935543
Ran for 96550 frames Cell Events: 3947 mean_circ: 0.93544
Ran for 97550 frames Cell Events: 3999 mean_circ: 0.935552
Ran for 98050 frames Cell Events: 4028 mean_circ: 0.935563
Ran for 98550 frames Cell Events: 4047 mean_circ: 0.935635
Ran for 99050 frames Cell Events: 4073 mean_circ: 0.935623
Ran for 99550 frames Cell Events: 4086 mean_circ: 0.935648
Ran for 100550 frames Cell Events: 4122 mean_circ: 0.935552
Ran for 102550 frames Cell Events: 4194 mean_circ: 0.935629
Ran for 103050 frames Cell Events: 4205 mean_circ: 0.935607
Ran for 103550 frames Cell Events: 4222 mean_circ: 0.935671
Ran for 104550 frames Cell Events: 4268 mean_circ: 0.935731
Ran for 105550 frames Cell Events: 4305 mean_circ: 0.935803
Ran for 106050 frames Cell Events: 4317 mean_circ: 0.935803
Ran for 107050 frames Cell Events: 4359 mean_circ: 0.935792
Ran for 107550 frames Cell Events: 4375 mean_circ: 0.935826
Ran for 108050 frames Cell Events: 4392 mean_circ: 0.935828
Ran for 108550 frames Cell Events: 4399 mean_circ: 0.935839
Ran for 109050 frames Cell Events: 4418 mean_circ: 0.935826
Ran for 109550 frames Cell Events: 4431 mean_circ: 0.935814
Ran for 110050 frames Cell Events: 4448 mean_circ: 0.935765
Ran for 110550 frames Cell Events: 4467 mean_circ: 0.93577
Ran for 111050 frames Cell Events: 4482 mean_circ: 0.935848
Ran for 111550 frames Cell Events: 4504 mean_circ: 0.935818
Ran for 112050 frames Cell Events: 4526 mean_circ: 0.935841
Ran for 113050 frames Cell Events: 4564 mean_circ: 0.93596
Ran for 114050 frames Cell Events: 4597 mean_circ: 0.935942
Ran for 114550 frames Cell Events: 4620 mean_circ: 0.935978
Ran for 115050 frames Cell Events: 4651 mean_circ: 0.935956
Ran for 115550 frames Cell Events: 4674 mean_circ: 0.935908
Ran for 116050 frames Cell Events: 4696 mean_circ: 0.935945
Ran for 116550 frames Cell Events: 4711 mean_circ: 0.935948
Ran for 117550 frames Cell Events: 4756 mean_circ: 0.935991
Ran for 118550 frames Cell Events: 4797 mean_circ: 0.935821
Ran for 119550 frames Cell Events: 4835 mean_circ: 0.935751
Ran for 120050 frames Cell Events: 4853 mean_circ: 0.935779
Ran for 120550 frames Cell Events: 4865 mean_circ: 0.935783
Ran for 121550 frames Cell Events: 4899 mean_circ: 0.935773
Ran for 123550 frames Cell Events: 4987 mean_circ: 0.935892
Ran for 124550 frames Cell Events: 5022 mean_circ: 0.935825
Ran for 125050 frames Cell Events: 5040 mean_circ: 0.93579
Ran for 126050 frames Cell Events: 5072 mean_circ: 0.935785
Ran for 126550 frames Cell Events: 5091 mean_circ: 0.935815
Ran for 127050 frames Cell Events: 5110 mean_circ: 0.93579
Ran for 127550 frames Cell Events: 5125 mean_circ: 0.935757
Ran for 128550 frames Cell Events: 5166 mean_circ: 0.935749
Ran for 129050 frames Cell Events: 5190 mean_circ: 0.935813
Ran for 129550 frames Cell Events: 5209 mean_circ: 0.935758
Ran for 130050 frames Cell Events: 5229 mean_circ: 0.935774
Ran for 131050 frames Cell Events: 5261 mean_circ: 0.935768
Ran for 132050 frames Cell Events: 5302 mean_circ: 0.935811
Ran for 132550 frames Cell Events: 5321 mean_circ: 0.935833
Ran for 133050 frames Cell Events: 5337 mean_circ: 0.935826
Ran for 133550 frames Cell Events: 5357 mean_circ: 0.935823
Ran for 135050 frames Cell Events: 5399 mean_circ: 0.935853
Ran for 135550 frames Cell Events: 5418 mean_circ: 0.935902
Ran for 136050 frames Cell Events: 5431 mean_circ: 0.935918
Ran for 136550 frames Cell Events: 5448 mean_circ: 0.935895
Ran for 137050 frames Cell Events: 5465 mean_circ: 0.935948
Ran for 137550 frames Cell Events: 5483 mean_circ: 0.935977
Ran for 138050 frames Cell Events: 5507 mean_circ: 0.935991
Ran for 138550 frames Cell Events: 5525 mean_circ: 0.935978
Ran for 139550 frames Cell Events: 5564 mean_circ: 0.936005
Ran for 140550 frames Cell Events: 5598 mean_circ: 0.936025
Ran for 141050 frames Cell Events: 5611 mean_circ: 0.93601
Ran for 141550 frames Cell Events: 5626 mean_circ: 0.936036
Ran for 143050 frames Cell Events: 5671 mean_circ: 0.936092
Ran for 143550 frames Cell Events: 5699 mean_circ: 0.936067
Ran for 144050 frames Cell Events: 5723 mean_circ: 0.936022
Ran for 144550 frames Cell Events: 5742 mean_circ: 0.936028
Ran for 145050 frames Cell Events: 5757 mean_circ: 0.936015
Ran for 147050 frames Cell Events: 5845 mean_circ: 0.935991
Ran for 148050 frames Cell Events: 5896 mean_circ: 0.935989
Ran for 149550 frames Cell Events: 5950 mean_circ: 0.936086
Ran for 150050 frames Cell Events: 5964 mean_circ: 0.936108
Ran for 150550 frames Cell Events: 5994 mean_circ: 0.936087
Ran for 151050 frames Cell Events: 6009 mean_circ: 0.93614
Ran for 151550 frames Cell Events: 6026 mean_circ: 0.936126
Ran for 152050 frames Cell Events: 6048 mean_circ: 0.936109
Ran for 152550 frames Cell Events: 6080 mean_circ: 0.93613
Ran for 153050 frames Cell Events: 6095 mean_circ: 0.936127
Ran for 154550 frames Cell Events: 6156 mean_circ: 0.936101
Ran for 155050 frames Cell Events: 6176 mean_circ: 0.93615
Ran for 155550 frames Cell Events: 6190 mean_circ: 0.936159
Ran for 157050 frames Cell Events: 6250 mean_circ: 0.936161
Ran for 157550 frames Cell Events: 6267 mean_circ: 0.936182
Ran for 158050 frames Cell Events: 6280 mean_circ: 0.936187
Ran for 158550 frames Cell Events: 6292 mean_circ: 0.936156
Ran for 159550 frames Cell Events: 6336 mean_circ: 0.936156
Ran for 160050 frames Cell Events: 6352 mean_circ: 0.936192
Ran for 160550 frames Cell Events: 6362 mean_circ: 0.936206
Ran for 161050 frames Cell Events: 6384 mean_circ: 0.936222
Ran for 161550 frames Cell Events: 6397 mean_circ: 0.936193
Ran for 162050 frames Cell Events: 6410 mean_circ: 0.936161
Ran for 163050 frames Cell Events: 6453 mean_circ: 0.936156
Ran for 163550 frames Cell Events: 6466 mean_circ: 0.936163
Ran for 164550 frames Cell Events: 6503 mean_circ: 0.936153
Ran for 165550 frames Cell Events: 6548 mean_circ: 0.936177
Ran for 168050 frames Cell Events: 6656 mean_circ: 0.936191
Ran for 169050 frames Cell Events: 6685 mean_circ: 0.936204
Ran for 170050 frames Cell Events: 6725 mean_circ: 0.936212
Ran for 171050 frames Cell Events: 6767 mean_circ: 0.936285
Ran for 172050 frames Cell Events: 6814 mean_circ: 0.936279
Ran for 172550 frames Cell Events: 6827 mean_circ: 0.936302
Ran for 173550 frames Cell Events: 6866 mean_circ: 0.936272
Ran for 174550 frames Cell Events: 6903 mean_circ: 0.93627
Ran for 175050 frames Cell Events: 6914 mean_circ: 0.936236
Ran for 175550 frames Cell Events: 6930 mean_circ: 0.936272
Ran for 176550 frames Cell Events: 6965 mean_circ: 0.936227
Ran for 177550 frames Cell Events: 7001 mean_circ: 0.936256
Ran for 178050 frames Cell Events: 7018 mean_circ: 0.93627
Ran for 179050 frames Cell Events: 7064 mean_circ: 0.936259
Ran for 179550 frames Cell Events: 7078 mean_circ: 0.936246
Ran for 180050 frames Cell Events: 7095 mean_circ: 0.936252
Ran for 180550 frames Cell Events: 7109 mean_circ: 0.936261
Ran for 182550 frames Cell Events: 7184 mean_circ: 0.936278
Ran for 183050 frames Cell Events: 7202 mean_circ: 0.936269
Ran for 183550 frames Cell Events: 7224 mean_circ: 0.936182
Ran for 185050 frames Cell Events: 7288 mean_circ: 0.93615
Ran for 185550 frames Cell Events: 7307 mean_circ: 0.936144
Ran for 186050 frames Cell Events: 7330 mean_circ: 0.93614
Ran for 186550 frames Cell Events: 7360 mean_circ: 0.936147
Ran for 187050 frames Cell Events: 7382 mean_circ: 0.936171
Ran for 187550 frames Cell Events: 7396 mean_circ: 0.936176
Ran for 188550 frames Cell Events: 7436 mean_circ: 0.936188
Ran for 191550 frames Cell Events: 7566 mean_circ: 0.936083
Ran for 192050 frames Cell Events: 7589 mean_circ: 0.936093
Ran for 192550 frames Cell Events: 7608 mean_circ: 0.936079
Ran for 193050 frames Cell Events: 7632 mean_circ: 0.936066
Ran for 194050 frames Cell Events: 7673 mean_circ: 0.936055
Ran for 196050 frames Cell Events: 7757 mean_circ: 0.93604
Ran for 196550 frames Cell Events: 7779 mean_circ: 0.936038
Ran for 197050 frames Cell Events: 7795 mean_circ: 0.936031
Ran for 199050 frames Cell Events: 7881 mean_circ: 0.935967
Ran for 200550 frames Cell Events: 7935 mean_circ: 0.935982
Ran for 201550 frames Cell Events: 7969 mean_circ: 0.935983
Ran for 202050 frames Cell Events: 7986 mean_circ: 0.935979
Ran for 202550 frames Cell Events: 8004 mean_circ: 0.93594