Hi Morgois,
R&D is aware of this issue but I don't really know when it would be fixed. Right now I would have two suggestions:
1) pad the end of your output array with zeros to make the output longer
2) put a finite wait statement in your code instead of using the DAQmxWaitUntilDone
-Sal