I am currently using the eclosed code to collect a finite amount of data using the counter as a pulse train.
The it works is as follows:
WHILE quit = False
IF SOP = True
WHILE number of lines < 2500
collect 2100 samples synchronized with CTR0 at 210 kHz.
END WHILE
END IF
END WHILE
Is there a way to replace the counter with a external clock? If not, does anyone have an alternate method to accomplish the same task?
Thanks.