LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No sound afterexecuting Play Sound File.vi from the Examples

Hello,

 

I had programs written in LabVIEW 8.0 using the lvsound.dll file.  When I upgraded to LabVIEW 2012 and beyond, I could not get these programs to work any more.  I looked at the http://digital.ni.com link and tried to used the example from the Example menus.  I tried to run this program pointing to a wav file from my directory, but nothing played because it asked for the device ID.  How do I go about getting the device ID and the program to work to play my wav files??

 

Attached is the Play Sound File example.

 

Thanks

0 Kudos
Message 1 of 4
(3,031 Views)

This vi work correctly.
Dev ID start from 0. If you have one sound card, use 0.

Or you can use "Sound File to Sound Output.vi" from examples.

0 Kudos
Message 2 of 4
(3,014 Views)

Hello,

 

I get the error code "4810"  Can you tell me what this means?

 

The Sound File to Sound Output.vi does work though

 

Thanks.

0 Kudos
Message 3 of 4
(3,004 Views)

see

0 Kudos
Message 4 of 4
(2,995 Views)