LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

playing wav file by entering text

Hi I made this vi based on he interactive sound example given in labview. I wanted it to play the file without it searching in the library but it keeps doing just that. What I want it to do is once I enter the name of the wav file in the file path and press go, it would immediately play the file. If the name typed in the file path is incorrect or blank it would play an error sound. And also every time I play it, it would stop to respond for a while :O.

Thanks for those who help 🙂

 

0 Kudos
Message 1 of 2
(1,964 Views)

In the "Go:Value Change" event you have code which calls a file dialog. 

 

Are you saying you do not want the dialog to appear?

 

If so, then remove that code.  And replace it with a "Build Path" function.

http://www.medicollector.com
0 Kudos
Message 2 of 2
(1,879 Views)