LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sound plays on first time when called by VI

Solved!
Go to solution

Hi, I am trying to create a VI that creates noise bursts of specific durations in sequences. My problem is that the sound generation VI only plays the sound the first time it is called. I have tried putting the VI in a for loop to see if I can get it to play multiple times, but regardless of what I do it only plays the generated sound once.

 

0 Kudos
Message 1 of 4
(2,770 Views)

The document attached is a snapshot of the VI. It is made in LabView 7

0 Kudos
Message 2 of 4
(2,769 Views)

Do you get any error message?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 3 of 4
(2,764 Views)
Solution
Accepted by AndZer0

I figured out the problem. Thanks. The problem was with the timer not resetting in the loop (fixed it with a shift register) on second or further calls. Thus the loop was skipped as the timer was greater than the specified value after first time the loop was run.

0 Kudos
Message 4 of 4
(2,751 Views)