LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to include a .wav file with vi using application builder ?

Solved!
Go to solution

Hello,

 

I am trying to develop an application which uses a .wav file. I want to package this file along with the vi into an executable so that the end user has just one file to run.  Is it possible to add the .wav file to the executable using Application Builder? Also, for this, can we setup the path of the .wav file in the vi to always search for the file in the installation folder (eg: C:\Program Files\E2C\MSK or whichever folder the user intalls the executable in) ?

 

Thanks,

Anvy

0 Kudos
Message 1 of 3
(2,530 Views)
Solution
Accepted by anvy

Anvy,

 

it is not possible to compile a wav-file into an executable using LabVIEW. You can include the wav-file in the project and include it as "always included" in your build script which will copy the wav-file into the data folder from your executable. So it is quite easy to distribute the wav-file with your exe even though the wav is not in the exe.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,516 Views)
Thanks!
0 Kudos
Message 3 of 3
(2,502 Views)