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: 

Sound output info

I am using Mac Labview 8.5.1 and it does not have the "Sound output info Vi".

Does the newest Mac Labview have this VI. I need to determine if a sound

is in progress so I can stop it and start another.

0 Kudos
Message 1 of 6
(2,715 Views)

Hi Ben,

 

Mac LabVIEW 8.6 does not have Sound output info.vi but there is somewhat similar vi called Get Sound info.vi . For more information about what that vi does look here

0 Kudos
Message 2 of 6
(2,692 Views)

The VI you noted does not have a "Sound Playing" output.

In a platform independent manner how can I use labview

to determine if a sound is playing. 

0 Kudos
Message 3 of 6
(2,674 Views)

Can you use the SO Wait.vi?  I do not know it this is available on all platforms.

 

To avoid blocking the thread while waiting, you would need to put it into a parallel VI.  Then use a Notifier to let the main program know when the task has finished.

 

Lynn 

Message 4 of 6
(2,672 Views)

What I want to do is start a sound playing, then if necessary determine if it is

still playing, stop it, and play a different sound. 

0 Kudos
Message 5 of 6
(2,665 Views)

Ben,

 

johnsold is right, you could use notifiers to determine if the file is still playing (making use of the wait function). See an example here.

Hope this helps!

Misha
0 Kudos
Message 6 of 6
(2,634 Views)