You just use a buffer of 68000 and a progress event every 680 points to log the data. I attached an example that shows how to do it. Look at the CWAI settings and see how the progress event is configured. Make sure you change the board and channel settings for your setup.
Best Regards,
Chris Matthews
National Instruments