LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

delay sound

Hello
    I'm trying to play an alarm using a .wav file my problem is that the wav file is 100 milliseconds long so I have to wait 100 milliseconds before I activate it again or it will overlap. Is there a way to wait 100 ms before playing the sound again?

I attached my VI

thank you

0 Kudos
Message 1 of 2
(2,764 Views)

Not the way you are doing it. You should not be placing an event structure inside a case statement. You don't need an event structure at all. Why don't you just place a Wait (ms) function inside the loop? Why even have the case statement since the value is always true?

You might want to look at the resources available at How Can I Learn LabVIEW.

0 Kudos
Message 2 of 2
(2,760 Views)