Greetings,
I ran this example and and only modified the UpdateClock.Frequency, NUpdates, and ProgressInterval values as you indicated above. I was able to see the problem you are reporting. The issue at hand is that the the timing is all messed up between the CWAO1_Progress() callback function and the data waveform you are outputting. You have changed the output buffer size, but not changed the actual data you will be outputting. If you change the NUpdates buffer to 1024, then you also need to change the data buffer size. Right now you have probably left it at an array of 4096 points.
You need to change the size of the arrays data and data4. In your case, data will be 1023 and data4 will be 255. You will also have to modify Form_Load() to fill the
se new arrays.
Regards,
Justin Britten
Applications Engineer
National Instruments