LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to tell when a sound played by "Snd Play Wave File.vi" has completed?

LV 5.1 ships wth various vi's used to play sounds on a Windows PC and one of
them is "Snd Play Wave File.vi"
This vi has a control that allows execution to hang until the sound is
finished or to continue execution while the sound plays.
In this latter mode, the currently playing sound can be interrupted by a new
sound file and also the vi execution can terminate while (& before) the
sound file completes playing. I plan to take advantage of these two features
so I intend to use the vi in the "continue execution" mode.

However, in some cases I would like to be able to test to see if a sound
file is currently playing. Is there any way to get this information from the
system?


Warren M
assey
Massey4@LLNL.Gov
Message 1 of 2
(2,435 Views)

I leave an example that can provide, use it in your program ( use EDIT vi )

Message 2 of 2
(1,901 Views)