LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to interrupt sound output?

Hello,
I need help with one problem. I have VI that plays waveform. And I need to interrupt it in any moment during playing, and to perform new playing with new waveform. When I use Sound Output  Stop and Sound Output Clear in different combinations, Sound Output Write is stopped and program drops down.
Can somebody help? 
0 Kudos
Message 1 of 4
(2,991 Views)
What do you mean by "program drops down"?  Perhaps you can post your VI to the forum so we can see what you are trying to do.Smiley Wink
0 Kudos
Message 2 of 4
(2,968 Views)

Hi,

I mean that program paused due to Sound Write pause. And the only way to continue dataflow is Play Sound function. But I need to interrupt playing and perform new one with new settings. I've attached two screenshots to clear situation.

Download All
0 Kudos
Message 3 of 4
(2,960 Views)
Perhaps this KB article will help: Stopping a Sound File During Playback.
0 Kudos
Message 4 of 4
(2,941 Views)