03-18-2009 12:21 PM
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.
03-19-2009
03:07 PM
- last edited on
05-23-2026
07:07 PM
by
Content Cleaner
Hi Ben,
Mac LabVIEW 8.6 does not have Sound output info.vi but there is somewhat similar vi called Get Sound info.vi .
03-20-2009 09:40 AM
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.
03-20-2009 09:45 AM
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
03-20-2009 10:21 AM
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.
03-23-2009
05:01 PM
- last edited on
05-23-2026
07:07 PM
by
Content Cleaner
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!