Search your examples in LabVIEW, there is a VI that does what you ask called 
"Continuous Sound Output" It uses a function "SO Wait"
that waits until the previous generation is complete inside a while loop.

Michael Aivaliotis

> i'd like to play back a huge file containing 16-bit ambient 
> noise data 
> thru the sound card.
> to make sure i don't run out of memory, i'd like to read just 
> a segment 
> of the data and
> write to the sound card in a loop.
> 
> how do i know when the sound output is done before writing to 
> the card 
> again? 
> do i need to compute the time it takes to play the segment 
> and wait for 
> that long in the loop?
> 
> thanks.
> 
> -- 
> Timothy Wen


Reply via email to