LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get audio output from a labview program

We are modifying an existing labview program that reads data from a BNC-2140 DSA and displays as a graph. We want to be able to stream audio in audible range instead of a graphical display. Is there a VI available that can create audio? If not, how can I go about creating one?
Thank you
0 Kudos
Message 1 of 3
(3,081 Views)
Hey Lost-

There is a wonderful document on our external website that groups our knowledge on using sound with LabVIEW.
Under the LabVIEW Resource Library (http://zone.ni.com/libraries/) choose -> LabVIEW -> Advanced Programming Techniques -> Using Sound.

This page lists over 5 examples for playing sounds with LabVIEW through WAV, MP3, and other formats. Streaming audio might be tough, depending on your processor. It might be hard to translate your input into a format LabVIEW can play. I am not sure what sound format that input data you refer to would be. This will be a good starting point. Also, I have heard of a Microsoft ActiveX control, DirectShow, that might help you. I have not worked with this guy, but I would check into it at Microsoft's site -> www.msdn.
microsoft.com.
Post again if you have follow-up questions.

ben schulte
national instruments
0 Kudos
Message 2 of 3
(3,081 Views)
Have a look at the palette graph&sound - sound, there you find some vi's to
create audio-output.

Niko
0 Kudos
Message 3 of 3
(3,081 Views)