Example Code

Play a .wav file from a storage card in LabVIEW

Code and Documents

Attachment

Download All

Overview:

Coding that exemplifies how to play a WAV File in LabVIEW.

Description:

This Example Code shows how to play a .wav sound file from a storage card on your Mobile Device. All the VIs used to make this code can be found in the Mobile Module Graphics & Sound VI Palettes.

Requirements:

LabVIEW 2012 or compatible

Steps to Implement or Execute Code:
1. Select the desired WAV file.
2. Run the VI.
3. Use the Play Sound Button to hear the sound.
4. Stop the execution with the Exit Button.

Additional Information or References: 


Capture.PNG**This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.