Hi jmarotta,
you want to give out a waveform. Generate the complete waveform in advance. Send the waveform to AO Write and then start it with AO Start. Set the update rate to a value for the correct frequency. Set number of buffer iteration to 0. So the waveform will be generated continously.
Generating the values in a while loop point by point and give them out point by point will give unpredictable results. The time the loop runs is not determined. You can use Wait for next multiple milliseconds to time your loop. But the time is not accurate.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions