LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

including a sound file in a stand alone application

I try to make an application file (.exe) there I can play/stop the sound of an engine when I press the play/stop button.  Can you guys help me? I think I've tried almost all the combinations available in the build specifications.

0 Kudos
Message 1 of 4
(2,052 Views)

Hi,

 

to include data in an exe you can follow those steps:

- load the data (in the development environment) into an indicator

- create a constant from that indicator

- save the VI with the constant

- use that VI as data source in the executable hence no need for additional data files

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,051 Views)

Can you be more specific? How can I do this in the attached file?

0 Kudos
Message 3 of 4
(2,037 Views)

You could make an installer.

While creating installer, you can define custom destinations and include the Audio Files folder of yours at the destination path you want to.

Be sure to include the audio files folder in your project (auto populating), which would help you to place the folder at the defined custom destination while creating installer.

 

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 4 of 4
(2,031 Views)