LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having sound as an indicator

I'm attempting to have a sound to indicate when the pressure is over the threshold, but I can't seem to find anything about that.

0 Kudos
Message 1 of 9
(149 Views)

mcduff_0-1726768461925.png

Look under the Sound Menu to play a file

Message 2 of 9
(142 Views)

Can you see what I'm doing wrong with my vi?

0 Kudos
Message 3 of 9
(134 Views)

You need to describe what is wrong with your VI.

 

The attached VI is missing a subVI.

The attached VI is the latest version, back save for an earlier version, like 2020 instead.

Include the missing subVI.

0 Kudos
Message 4 of 9
(110 Views)

I'm not sure how to back save to 2020. I'm required to use the latest version for class. Also, can you explain why a subvi is needed?

0 Kudos
Message 5 of 9
(102 Views)

Hi dtran,

 


@dtran4 wrote:

I'm not sure how to back save to 2020. I'm required to use the latest version for class.


File menu -> Save for previous…

 


@dtran4 wrote:

Also, can you explain why a subvi is needed?


Because we cannot debug your VI when the subVI used in your VI is missing…

(SubVIs are files of their own and not magically included in your MainVI.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(97 Views)

@dtran4 wrote:

Also, can you explain why a subvi is needed?


The VI that you posted is missing a subVI; it is located above the loop in the attached VI. Do not have LabVIEW available now to show you.

0 Kudos
Message 7 of 9
(94 Views)

If you're new to LabVIEW it's best to just start with an example. 

 

Help > Find Examples...   Hardware IO > Sound > Sound Player.vi is a great start to easily play a sound file. 

C:\Windows\Media is full of .WAV files you can use.

 

Of course, the Beep.vi is the most simple way to make a sound.  Drop it on your block diagram, run the VI, and the PC will beep. 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 8 of 9
(31 Views)

I once made an XControl that's an audible indicator, and another that's an audible tweak.

Would you like them?

0 Kudos
Message 9 of 9
(12 Views)