ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
07-03-2012 06:18 AM
Hi I'm having problems with this wav player I made BASED on labviews examples. Its suppose to play a file immediately when I enter a correct wav file name in the string. But whenever I run and press GO it keeps asking for the file then it plays it. Thanks to anyone who helps.
07-03-2012 07:33 AM
Well, your program has numerous programming issues. The code is doing exactly what you told it to do. The File Dialog VI is always being called when you press the Go button - you have nothing to prevent it from running if the user entered a valid file. If the user enters a valid file then you do not want to run the File Dialog. A simple case structure will work for this.
However, you have other issues:
01-14-2013 03:46 PM
I leave an example that can provide