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.
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.
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
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.
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
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!