LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

beep.vi does not sound

I have created the following circuit in Labview, I have connected up NI myDAQ with an infrared phototransistor connected. The plan is to make a burglar alarm so that when the voltage is less than say 1.1V or greater than say 1.12V the alarm goes off. But when this happens, although the LED's light up the beep.vi does nothing. I have had the beep.vi working in other files but can't get it to work in this one. Can anyone help please?

Labview.PNG

0 Kudos
Message 1 of 18
(4,253 Views)

You didn't make a "circuit".  You made a block diagram.

 

You should use the In Range and Coerce function to determine if a value is inside or outside of a range.  That is a single function rather than 2 functions.

 

Have you tried using the Beep function by itself in its own VI to know that it works?  What OS are you using?

0 Kudos
Message 2 of 18
(4,248 Views)

Which input of beep did you wire with the dynamic data and what's does the wire contain? (none of the inputs to beep seem to be really sutable for such inputs)

 

When using express VIs and dynamic data, the functionality is way to hidden to tell much from a diagram picture. Please attach the actual VI.

0 Kudos
Message 3 of 18
(4,247 Views)

I'm very new to Labview so I'm not really sure how it works so please excuse me if i say anything stupid.

How would I use the beep function on its own. I'm using windows 7.

0 Kudos
Message 4 of 18
(4,222 Views)

I've used the "use system alert" input, I thought that when the input is 1 it would be true and the beep would make a sound and when the input was 0 it would be false and there would be no sound.

0 Kudos
Message 5 of 18
(4,220 Views)

Actually, I think I have got the beep function working in another vi.

0 Kudos
Message 6 of 18
(4,216 Views)

You put the beep function in a case structure.

0 Kudos
Message 7 of 18
(4,209 Views)

I find that when I stop it after it has been running the computer makes a noise, but I want it to make a noise while it is running. The same thing happens when I put a case structure around the beep.vi

0 Kudos
Message 8 of 18
(4,183 Views)

@michaelclewis92 wrote:

I find that when I stop it after it has been running the computer makes a noise, but I want it to make a noise while it is running. The same thing happens when I put a case structure around the beep.vi


As already mentioned, please attach your actual VI!

0 Kudos
Message 9 of 18
(4,179 Views)

How do i change it to the actual VI?

0 Kudos
Message 10 of 18
(4,176 Views)