06-13-2008 02:44 PM
Hello Ed
In my application I have a producer consumer design pattern. The producer keeps on acquiring the data and the consumer keeps on performing some analysis on the data. The reason I have it htis way that even if the analysis in the consumer takes some time still it is looking at the data in real time because in the producer loop I flush my queue after addition of each new entry.
Ok so now what I am trying to do is turn on the sound source when I want it and then turn it off when I don't want it. The problem with playing a wave file in the consumer loop is that the rest of the loop stops untill the full wave file is played, which is not what I am trying to do.
May be I have to make a VI for playing the noise and then use the VI server for starting and stopping that VI's
Any ideas on how to start and stop a VI from another VI?
I can play the wave file through any other software before starting my averaging but what I am trying to do is somehow turn on the pink noise generator when I want and turn it off when the averaging is done
Ankit
06-13-2008 04:24 PM