10-13-2013 11:52 PM
I'm trying to make a Laser Light Harp controlled via an Arduino communicating to a Labview program that plays the corresponding .wav files for each string that is plucked on the harp! I've already been successful in interfacing my Arduino to Labview and playing audio files ! BUT to simulate a real harp my labview vi needs to have a "Skip to the Beggining" or "Replay" functionality for each audio file so that if a condition is true it doesn't continue to play the entire length of the audio file instead skips to the beginning of the file and starts playing once again from the beginning!
I'm new to Labview and its functionalities so please be as descriptive as possible and please reply as soon as possible ,I have my event in 3 days from now! Thankyou!
10-14-2013 03:46 AM
I assume you're using Play sound file, which sends out a task-id. You should be able to use Stop sound on this task and start another play.
/Y