LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sound and vibration examples not working

I am using two ni examples with LV 8.5.  SVXMPL_Wav Recorder(DAQmx).vi to record and store a sound file coming off of a 7422 sound board.  It seems to work fine until I try to play back the audio using the second example SVXMPL_Getting started with SVT(Simulated).vi.   I'm putting the file generated in the first example in the directory accessed by the second example so it will show up along with all the other sound files used in the dialog box of the second example.  The second example works fine graphing both the wav files provided and the files I save using the first example.  But as soon as I press the "Play Wav File" button the program generates the error "Cannot recognise Sound Format" and the program stops.  My question is what is the difference between the wav file formats that ship with LV and the wav file format generated by the Wav Recorder example and how can I resolve this?

Thanks

0 Kudos
Message 1 of 2
(2,348 Views)
First of all please do not create duplicate posts. Since this is your original posting I choose to answer you here. I have a clue about your problems. As I understand you sample your data with a NI card and then you try to play it back using the sound card. What sample rate are you using. Sound card do have limited sample rate options. But almost all sound card do support 44100 Hz sample rate. Try to do a recording with that sample rate and then play it back in Labview.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 2
(2,327 Views)