Retrieves a wave file (.wav) specified in wave file path.
The information returned includes both waveform data and sound format data, which is necessary for configuring a sound device to play the waveform. This VI retrieves only uncompressed wave files.

![]() |
wave file path specifies the location of the wave file (.wav). | ||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the PDA Error Handler VI to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||
![]() |
mono 8-bit includes sound data if sound format specifies monaural 8-bit data. Otherwise, it is an empty array. | ||||||
![]() |
mono 16-bit includes sound data if sound format specifies monaural 16-bit data. Otherwise, it is an empty array. | ||||||
![]() |
wave file path out is the same value as wave file path. | ||||||
![]() |
sound format identifies if the sound operation is mono or stereo, its playing rate (speed), and whether it is set as 8- or 16-bit sound.
| ||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
| ||||||
![]() |
stereo 16-bit contains sound data if sound format specifies stereo 16-bit data. Otherwise, it returns an empty array. | ||||||
![]() |
stereo 8-bit contains sound data if sound format specifies stereo 8-bit data. Otherwise, it returns an empty array. |
Refer to the Play Sound - Pocket PC.lvproj in the labview\examples\PDA\sound directory for an example of using the Snd Read Wave File VI.