From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Amplitude Limitation

   Hi everyone ;

   I am working on a project which is related with microphones.I need to limit amplitude but I couldn't that.How can I limit amplitude in Labview?

   Greetings.

0 Kudos
Message 1 of 5
(2,665 Views)

Hi crow,

 

to limit values to a certain range you could use the InRangeAndCoerce function…

 

But I guess that's not what you really want to do, so you should provide more/detailed information on your problem!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,662 Views)

   I take signals from DAQ assistant but I dont want to take lower amplitude.What should I do?

 

   Greetings;

   Onur

0 Kudos
Message 3 of 5
(2,649 Views)

What type of DAQ are you using?

Some have a trigger functionality in 'hardware' 😉

Anyway: Some sort of : If signal is higher than a defined level, than record as long as the signal is higher (and a defined minimum length after) ?

 

Don't use the express vis, put it in a producer - consumer architecture.

Inside the producer loop, read some ms of data, check for tigger level, and pass to consumer if higher (and store a value in a shift register to read the minimum time ...)

 

If a more fancy 'loudness trigger' is needed (ignore hum, adapt noise level, only react on speach frequency band, ...)  , read continously and do the processing (filtering, FFT... ) in the consumer loop.

Nowadays it's easier to dump data, since processing power isn't a big problem for the sound bandwidth 😄

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 4 of 5
(2,642 Views)

@murdercrow wrote:

   I take signals from DAQ assistant but I dont want to take lower amplitude.What should I do?

 


If you want to limit amplitudes and don't want lower amplitudes, there is nothing left.

 

Please be much more specific! How does the raw data look like? How should it look like after processing?

0 Kudos
Message 5 of 5
(2,618 Views)