04-05-2012 08:39 AM
So in writing my response to Jeff, I had another idea that turns out to be a solution. I used "DAQmx Control Task.VI" to abort the task after each iteration. (Using the "unreserve" action works also) Here's the code:
My guess is that the task is in some "done" state, and this state is not reset when a new waveform is written and started with the task. This seems like a bug to me, but I know very little about the DAQmx task state model, and how that all works.
Can anyone shed additional light on this?
-Joe
04-05-2012 02:11 PM
09-03-2013 02:21 PM
I'm getting a similar error, but I think the problem is not with my hardware but with the length of my audio file.
I'm trying to loop a wav file about a minute long and I'm getting the same sort of behavior where part of the file plays the first loop, but then subsequent loops are very short (less than a second unless I use the time delay) and the DAQ plays no sound.
09-04-2013 02:53 PM
ebabe,
Are you getting data that is actually output, but it stops after a fraction of a second or is an error message occurring as soon as you try to output? Also are you trying to export more than 1 long waveform using the USB-6211?
As this thread is fairly old, I would suggest creating a new thread which is more likely to get new responses and the most ideas within the community.