10-28-2018 10:04 AM
Hi all,
I'm trying to load two channels .wav file and split it into two different files where each file is one of the channels.
When I trying to run the program I get an error says that there is no file at the path I choose to save the new files but there shouldn't be files in those paths because I want to create them for the two new .wav files.
I attach images of the program and the error.
I'll be glad if you can help me understand why I get this error and how can I fix it.
Noy.
10-28-2018 10:15 AM - edited 10-28-2018 10:16 AM
Which of the File Open functions is throwing the error?
What is the value in the file path wire coming out of the Express VI?
Is it a folder? If so, you'll get an error because you didn't pick a specific file you wanted to open.
If it is a file, then you'll get errors because you are appending a file name to then end of a file path that already includes a file name. LabVIEW will then think that the original filename is a folder, which of course doesn't exist.
Make sure you have 3 accurate files names in all the file paths going to the 3 opens.
You may need to do a Strip Path on the original filename then do your Build Path with a new file name for the 2 new files.
10-28-2018 10:35 AM
Hi,
Thank you very much for your answer!
The problem was, as you said, the path I connect to the new files.
I changed the path to the folder of the file I read and the problem solved.
Tnx!
Noy.