LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generate pink noise through 4461 card

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

 

 

 

0 Kudos
Message 11 of 12
(478 Views)
Hi, Ankit.

I wish I could help you, but I'm afraid I'm not going to be of much use beyond the waveform data generation aspect of your problem. So I'm -really- hoping somebody will pipe in here with some advice on managing the data flow.

Cheers,
Ed

0 Kudos
Message 12 of 12
(472 Views)