Using the NI6715 and DAQmx, I am outputting a sawtooth on some channels and a DC voltage on other channels. In the DAQmx Timing setup, Continuous Timing is chosen so that the sawtooth raster signal will run indefinitely. Sometimes I want to change one of the DC voltages without causing a jump in the sawtooth. That is, I would like the new DC voltage to start at the start of the buffer read, not somewhere in the middle. Right now, when I send the new DC voltage, the sawtooth restarts before completing a cycle, making a little jump. With the sawtooth already running, the steps I'm using to send a new DC voltage are: Stop Task-->Send new 2D array to AO Write (2D Double, NChannels, NSamples)-->Start Task.
Is there a way to make this update smoothly - a full old cycle completes and then the new array takes over?
Thanks, Peg