06-22-2013 10:02 AM
hello
I am writing a program that gets sound from a microphone and display it on a graf. my problem is that i want to add a led that turn on every time that the amplitude gets to a surtin level but
i dont know how to do it..
06-22-2013 10:09 AM
Hi,
You can use "Mask and Limit" express VI to test the limit of your signal specified by a constant inside the VI's property wizard. Whenever the signal goes above the limit, a True/False signal is generated where you can connect an LED for indication.
Regards.
06-22-2013 10:31 AM
hello,
thank you for your fast answer.
can I upload my program and you can help me?
It is a very simple program
guy
06-22-2013 11:55 AM - edited 06-22-2013 11:56 AM
pull out your sampled amplitude and compare greater than to the desired level and bool out the results to the LED software/hardware indicator....
06-22-2013 02:06 PM
Hi,
You can either compare the values from simple comparison OR use that "Mask and Limit" VI. Just connect the output of sound to it's input. Upload your VI if you still didn't get what I mean.
Regards.
06-22-2013 02:09 PM
You query is answered here as well.