From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to play an audio file out of labview (using myDAQ)?

Solved!
Go to solution

Hi all,

I am using a myDAQ (first time). I am trying to play an audio file at a certain time in my VI.

All the examples I have seen use the audio in and then play out of the audio out port. Is it not possible to simply find the file location and then play it out of the audio out under the given conditions in the VI or even import the sound? I am not trying to play large files or large quantities such as songs. I only want a congratulatory sound when the task is complete (2/3s).

 

Any help would be is appreciated (even to say it isn't possible!)

 

Cheers 

0 Kudos
Message 1 of 3
(3,011 Views)
Solution
Accepted by topic author stubbsy90

Why no just play a WAV file? Use Play Sound File.vi as shown here.

Richard






Message 2 of 3
(2,997 Views)

I have never seen or need to use this before hence I didn't know it existed! 

 

Cheers

0 Kudos
Message 3 of 3
(2,967 Views)