03-11-2015 10:31 PM
I'm working on a project and at first I used the "Sound Input to File" example vi and read that file with the "Read Sound File to Graph" example vi. This worked when using the default setup from the examples (and using my computer's microphone), but once I rearranged the examples to read from my MyDAQ Audio In jack I got the above error message. I entered the path C:\Users\Name\Documents\tempAudio.wav and that worked just fine when using the computer microphone. Can anybody help me? Thanks
03-12-2015 02:33 PM
Hi ljkeller,
Does this error occur when you are trying to read from the myDAQ, or when you are trying to open the sound file you just made?
It looks like you never close the sound file after writing to it. I would recommend closing it after writing to it (as shown in the Sound Input to File VI), then opening it again when you want to read from it. The file iterator is probably still at the end of the file when you try to start reading from it, which could lead to this error.
Regards,
Andrew
03-12-2015 04:32 PM
That worked! Thanks a ton.