12-16-2014 03:53 AM - edited 12-16-2014 03:53 AM
Greetings
I want to use LabVIEW for measuring frequencies of a continuous sound input and plotting them in real time, using a microphone connected to the computer. See the picture below.
Sorry for the picture quality, but I guess you can see what is going on.
How do I get to this interface, or how can I create one like it? When I start the program, I select "Create Project", then comes up the menu to choose type of project. I guess I then should choose "Continuous Measurement and Logging"? Then I come to the "Project Explorer". What do I do next?
Could someone please write, step by step, how to get an interface and functionality as can be seen in the picture above?
12-16-2014 06:59 AM
Hi!
I suggest to start from the "Continuous sound input" example shipped with labview.
Marco
12-16-2014 08:34 AM - edited 12-16-2014 08:34 AM
And where in the program do I find that?
12-16-2014 08:42 AM
12-16-2014 09:59 AM - edited 12-16-2014 10:03 AM
The first picture is not from my own computer (if it had been I wouldn't ask how to create this interface) so I can't screenshot it and I don't have any better picture of it or the code of the program, I only have this picture. That's why I'm asking here how to implement it.
Ok I went to the example and found Continuous Sound Input and managed to open it. However when I run it, it only shows the following:
The "Raw Data" graph shows some constant movement that seems unaffected by sound inputs to the microphone.
How can I make graphs that are affected by microphone inputs, showing frequency response etc like in the first picture I posted?
12-17-2014
02:30 AM
- last edited on
11-14-2024
05:45 PM
by
Content Cleaner
Hi Fastness,
Try changing the Device ID. If you are using the built in sound card of your computer, most likely it has the ID 0.
Also, if you need to make a frequency analysis, you need to make an FFT analysis.
You can find more info about FFT analysis at the following link:
https://www.ni.com/en/shop/labview/using-fast-fourier-transforms-and-power-spectra-in-labview.html
If that application was doing some additional processing, you won't be able to reverse engineer just by looking at front panel, you need more details about it.
Best regards,
IR