Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to play wav file through NI USB 4431 analog output.

Using this code I found to try to play a wav file through the analog output of an NI USB 4431 (preferably the entire thing, or just a portion if this isn't possible) in a loop. I get an error message: Sound File Read (DBL).vi->Sound File Read Simple.vi->Play WAV in loop.vi. Here is the code and here is the the wav file I have tried. 

 

Also is there a limit to the size of the wave file the code reads? Because I also tried a longer music sample and I got a different error message that "there is not enough memory to complete the operation."

 

Thanks in advance!

Download All
0 Kudos
Message 1 of 1
(3,234 Views)