03-24-2013 05:03 AM
I Have Put In My Block Diagram a Play Sound File I Press On it and Specified The File I Would Play but i didnt know how to Connect it And Enable It To Work
03-24-2013 10:29 AM - edited 03-24-2013 10:30 AM
Have you looked at the examples? Look at sound player.vi
03-25-2013 03:19 AM
Hi Chadfik and welcome to NI Forums!
What kind of sound file are we talking here? e sound i
If you have the sound infomation loaded into LabVIEW, the the easiest method is to use the Play Waveform Express VI. Just place it on the Block Diagram, and connect the sound data you'd like it to play.
For external files like an MP3, a media player ActiveX control is more appropriate. Please check out this snippet on how to use the Media Player ActiveX control.
Hope this helps.
Regards:
Andrew Valko
NI Hungary