LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous sound output without breaks?

Is it possible to output continuous data(acquired using the DAQ card) to a Soun card without any breaks.When I use the SO Write.vi,there is a break after outputting data as arrays.Is there any way to overcome this?
0 Kudos
Message 1 of 2
(2,988 Views)
This posting should help:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000BF1B0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
or search on "Sound output with SO Write without interruption"
Be careful with the example when you do what is suggested because it can't be stopped. It would need a wait.
The SOStart is asynchronous or in other words you can do other things while the current sound is playing.
There is an example on Developer Zone "Playing Asynchronous Wav Files in LabVIEW 5.x" that does the random number generator while a sound is playing. So you can load the Sound output buffer while a sound is playing. You could use occurrences to do this properly.
0 Kudos
Message 2 of 2
(2,988 Views)