digital output (count down) while analog data is in acquisition

Can you expalin what you're trying to do?
It looks like you've just nailed together the blink without delay example and some of your code without modifying either.

Please use code tags when posting code.