Quantcast
Channel: Multifunction DAQ topics
Viewing all articles
Browse latest Browse all 6878

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

$
0
0

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!


Viewing all articles
Browse latest Browse all 6878

Trending Articles