That does more then the code I had and been busy with. So far i was testing with my idea, i only got zero's..
Although i'm now using your code, I got this:
Time,A-B,A,B
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0
0,0,0,0...