Hello Nir,
There are a few things you can do to modify this behavior. The first is to configure the NI-6534 device to not allow regeneration. This will cause any data points written to the device to only be generated once, and disable the generation from continuously going back to the beginning of the buffer and looping through the samples. You can configure your NI-6534 device to not allow regenerating using the Regeneration Mode property, found within the DAQmx Write Property Node.

One thing to realize is that by configuring the device to not allow regeneration, if you do not provide enough data for the number of sample clock ticks the device receives, the DAQmx driver will throw a buffer underwrite error (error code -200166). If you get this error, you can either ignore it by programmatically checking the status code and clearing the error, or you can ensure that data is always available to write by making sure that the exact number of necessary sample clock ticks are sent by the NI-6602 device each trigger period. Basically, you would want to configure the finite pulse generation task on your NI-6602 to output a number of pulses equal to the number of samples you've written to the buffer, and continually match these up each trigger period.
I hope this information helps, and if you would rather speak to a National Instruments Applications Engineer by phone, you can create a service request online at www.ni.com/contact.
Regards,
Travis G.
Applications Engineering
National Instruments
www.ni.com/support
Message Edited by Travis G. on 11-02-2006 12:26 PM