How to Use the Sound Output VIs in LabVIEW to Play Wave Files
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
I see that there are sound output VIs in LabVIEW to play wave files, but I can't seem to get them to work. What is the proper way to use these VIs?
LabVIEW 7.0 and 7.1
Here is a good way to use the Sound Output VIs to play a wave file:
LabVIEW 8.0 and later
An example program that reads and plays a .wav file can be found by using the example finder. You can access this by selecting Help » Find Examples. When the NI Example Finder dialog box is displayed select Hardware Input and Output » Sound » Sound File to Sound Output.vi.
You can also navigate to the example by selecting the Search tab on the top left of the window. In the search box type Sound and press Enter. The example program is named Sound File to Sound Output.vi.
This program will read a .wav file and play it at the volume you specify.
KnowledgeBase 2EBIKR8E: Troubleshooting Sound VI Error Codes 10003, 10005, 10240, 10402, 10403, 10405, 10408, 10444, 10846
Report Date: 12/12/2003
Last Updated: 11/01/2012
Document ID: 34BJ3SFQ