LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having sound as an indicator

Solved!
Go to solution

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 18
(696 Views)

mcduff_0-1726768461925.png

Look under the Sound Menu to play a file

Message 2 of 18
(689 Views)

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

0 Kudos
Message 3 of 18
(681 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 18
(657 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 18
(649 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
Message 6 of 18
(644 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.

Message 7 of 18
(641 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 18
(578 Views)

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

Would you like them?

Message 9 of 18
(559 Views)

yes plz

0 Kudos
Message 10 of 18
(527 Views)