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: 

beep sound

i want a beep sound to be generated whenever a peak is found in the analog graph. how to do it?

0 Kudos
Message 1 of 7
(4,154 Views)

There is a "beep.vi" on the Graphics and Sound palette.

Call it when you detect the peak.

 

I usually put the beep code in a subvi that is fed by a queue.

 

Your implementation will depend on how you want it to work.

Is it a one time beep or does it beep as long as the value is above a limit?

 

steve

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 7
(4,140 Views)

Are you searching peak values in a periodic waveform or a random waveform? 

Actor Framework rocks!
Emre TUZUNER
0 Kudos
Message 3 of 7
(4,139 Views)

its just a one time beep. i am not able to get how to call it when peak is found. Could u please attach an example

0 Kudos
Message 4 of 7
(4,135 Views)

Here you can find a VI. VI creates a beep sound every peak of a sine waveform.

Actor Framework rocks!
Emre TUZUNER
0 Kudos
Message 5 of 7
(4,120 Views)

your labview version is higher than mine so i cannot open the vi. plz attach the snapshot

0 Kudos
Message 6 of 7
(4,117 Views)

Sorry for that. Here is the sc. You can adjust the duration and frequency of the tone. Details can be found in context help.

 

Peak_search_SC.png

Actor Framework rocks!
Emre TUZUNER
0 Kudos
Message 7 of 7
(4,112 Views)