LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

microphone

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..

 

 

0 Kudos
Message 1 of 6
(2,482 Views)

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.


0 Kudos
Message 2 of 6
(2,477 Views)

hello,

 

thank you for your fast answer.

can I upload my program and you can help me?

It is a very simple program

 

guy

0 Kudos
Message 3 of 6
(2,471 Views)

pull out your sampled amplitude and compare greater than to the desired level and bool out the results to the LED software/hardware indicator....

0 Kudos
Message 4 of 6
(2,446 Views)

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.


0 Kudos
Message 5 of 6
(2,428 Views)

You query is answered here as well.  


0 Kudos
Message 6 of 6
(2,427 Views)