06-03-2015 09:08 AM
Hi,
I want to to read a .wav file, play it and then stop it when I press a button.
The problem is that when I press the Stop button the sound doesn't stop immediatly but only when it reaches the end of the file. How can I solve this issue?
(The FALSE case structure in my VI is empty)
Thanks!
Solved! Go to Solution.
06-03-2015 02:02 PM
You could try breaking up the file into something like 100ms parts. You can then just loop on the parts, writing them to the sound card. Then you can stop whenever you want. You will want to get away from the output sound express VI to do this properly.
06-03-2015 03:15 PM