LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Beep in labview.

Dear all,

My application which was written by labview monitor a value of an instrment.
I would like to add the beep option for alarming when the value is higher than that I want.

Beep.vi was not operated.(Does this operated in mac only?)
In other method, I tried to play some wav. file but the system hold the time.(The monitoring period is about 1 sec. In playing wav. file, the time will be 2 sec.)

Please suggest any recommendation to do it simeply.

Thank you in advance.

Lee
0 Kudos
Message 1 of 18
(13,040 Views)
This may sound stupid, but do you have speakers connected to your PC? And if you have, did you make sure the Volume Control Panel is configured to not Mute the loudspeaker nor the waveform device?

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 18
(13,040 Views)
Thanks for the reply.
Yeah, I want the PC speaker to play the beep sound.
In normal condition, my computer is beeping.
I could play a wav. file but the time delay was a problem to monitor the value.
Thanks again.
Lee
0 Kudos
Message 3 of 18
(13,040 Views)
Try to put the beep code into a separate loop.

-Joe
0 Kudos
Message 4 of 18
(13,040 Views)
Thanks for the reply.
Yeah, I want the PC speaker to play the beep sound.
In normal condition, my computer is beeping.
I could play a wav. file but the time delay was a problem to monitor the value.
Thanks again.
Lee
0 Kudos
Message 5 of 18
(13,040 Views)
Hi,

Did you play the wav file with "Snd Play Wave File.vi"? If so, did you wire
a false to the input "wait until finish (T)"?

Regards,

Wiebe.



"labmaster" wrote in message
news:506500000008000000C0D20000-1079395200000@exchange.ni.com...
> Dear all,
>
> My application which was written by labview monitor a value of an
> instrment.
> I would like to add the beep option for alarming when the value is
> higher than that I want.
>
> Beep.vi was not operated.(Does this operated in mac only?)
> In other method, I tried to play some wav. file but the system hold
> the time.(The monitoring period is about 1 sec. In playing wav. file,
> the time will be 2 sec.)
>
> Please suggest any recommendation to do it simeply.
>
> Thank you in advance.
>
> Lee
0 Kudos
Message 6 of 18
(13,039 Views)
On Windows, LabVIEW uses the default MessageBeep function. Look in "Control Panel >> Sounds and Audio Devices >> Sounds >> Sound scheme" and make sure you have a working scheme.
Message 7 of 18
(13,039 Views)
On the same theme as Rolfk.....

Before P.Cs had sound cards I think you will find the Beep came through the P.C's internal speaker. Perhaps the beep is not being passed to the sound card (Driver or card issue).

Perhaps you could check that the P.C. has an internal speaker fitted and if it is missing try fitting one.
0 Kudos
Message 8 of 18
(13,040 Views)
Dear LarsRoe,

Thank you for the reply.
I couldn't find out the Sound scheme in version 7.
Could you please give your guidance to me?
Thank you again.
0 Kudos
Message 9 of 18
(13,039 Views)
The sound scheme is part of the Windows OS, not LabVIEW. Look in "Start >> Control Panel >> Sounds and Audio Devices". Now open the "Sounds" tab. I'm using XP, so it may be slightly different if you are using, say, Windows 2000.

On the bottom, there should be a list of sounds, such as "Asterisk" and "Close program". Select "Default Beep" from this list and press the play arrow on the bottom. The sound you hear should be identical to running the Beep VI in LabVIEW. You can select which sound (or no sound) will be played from this page.

-Lars
0 Kudos
Message 10 of 18
(12,716 Views)