LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to acquire sound from mic and make the display in a wave graph in real-time?

Hello everyone!

 

I'm trying to build a VI capable of acquire sound from the microphone port, using the function "Acquire Sound". The purpose is to read a signal (ECG signal) from the microphone port and while its being measured I want to make a display in a waveform graph of that signal. The data acquired in that acquisition must be filtered and amplified before the display. I don't know if that is possible or not, all I could make so far was acquire the sound and after the period of acquisition i can make the display. But in order for my project to work, waiting for 1 minute or else without the display of the information being measured is not ideal.

 

Can someone help me? 

 

Thanks everyone for the attention,

 

Sérgio Patrão, Portugal

 

0 Kudos
Message 1 of 3
(2,928 Views)

If you mean a continous acquisiton, then use a WHILE LOOP. It will acquire and update the graph all the time.

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 3
(2,911 Views)

Hello,

 

That is what I have right now, but the problem is: I want to see the whole acquisition displayed at the same time, not only a few samples each time. I want my VI functioning almost like a oscilloscope, do you understand what I mean? 

 

Again, i don't know if this is possible, I just want to know if anyone has ever solved a problem like this one.

 

Thank you very much for the reply! 🙂

0 Kudos
Message 3 of 3
(2,901 Views)