LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create .wav sound file

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. 

 

Download All
0 Kudos
Message 1 of 3
(2,585 Views)

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.

0 Kudos
Message 2 of 3
(2,575 Views)

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. 

0 Kudos
Message 3 of 3
(2,567 Views)