02-07-2007 03:00 PM
02-08-2007 07:42 AM
02-08-2007 08:27 AM
The input to DAQmx Write, if you're using multiple samples, is an array. So, each time you write more data than the last time, the array auto scales to the larger size. But, it doesn't work the other way.
If you know how many samples you're sending at a time, and the next set of samples is less than the previous, use Delete From Array to delete the non-existant rows from the array prior to sending it into DAQmx Write.