Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69088

Interrupt Play Sound File on condition

$
0
0

I have a VI that  would play a sound file if a it receives 5 volts.  If the voltage supply discontinues, I need it to stop playing the sound. But whatever I try it does not seem to do that. My Play Sound File vi plays the whole clip untill it stops. Even if I use the abort execution button, it will continue to play till it has reached the end of the clip.  Is there a way for me to configure it so it woud stop abuptly when the voltage supply stops.

 

I have attached the file here if you want to take a look.

 

Thanks!


Viewing all articles
Browse latest Browse all 69088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>