LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Device not supported when using Play Waveform

I am trying to play a file that I recorded using Signal express and having issues. The file is a recording of about 5 seconds or so using an NI-9233 with a PCB microphone. I saved the recording to a LVM file.

 

I am now using labview to read the file and apply a bandstop filter so I can see what it sounds like with certain frequencies blocked out. It appears that the spectral express VI shows the proper FFT of the file so it seems that that data is good.

 

But the next step is to use the "Play Waveform" vi. Here it gives me the error "The sound driver or card does not support the desired operation". The "Test" function works fine (I hear a beep).. but the vi does not allow me to change any of the parameters.


Do I have a way to find out what specifically it does not like? This is on a Dell Latitude D620 laptop.

I would attach the file but it's too big.

 

Any ideas regarding this?

 

Jeff

0 Kudos
Message 1 of 7
(3,095 Views)
Can you post your code?


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 7
(3,075 Views)

Main.VI is the program that reads the recorded data and tries to play it. The data is an LVM file. It's too big to attach.

 

THe Signal Express project is the program that recorded the original data. It's just one channel from a microphone and saved over a few seconds.

 

 

Download All
0 Kudos
Message 3 of 7
(3,070 Views)

I was wondering, if it's possible that, since I recorded the sound with a high end free field microphone from PCB, which I assume to be single channel, could this be a problem when using the play VI because it's expecting two channels?

 

 

0 Kudos
Message 4 of 7
(3,069 Views)

(Shudder! So many Express VIs 😉 ) You can not send the spectrogram to the sound card. That does not make any sense at all. You must send your sound samples to the sound card. Either before or after using filter. Which sample rate do you use. Some sound card do not support all samplerates. But most (if not all) sound cards do support 11025,22050 and 44100, and maybe 8000 also. Use one of these samplerates then sampling with your "NI-9233" device



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

I apologize for the many express VI's. I normally do not use them. I was trying to throw something together very quickly.

I think I understand what you're saying. I sampled at 50KHZ so I see your point. I thought I was sending raw data to the sound card, as this is what I thought I recorded.

I will review my data acquisiton.

 

Thanks,

 

Jeff

0 Kudos
Message 6 of 7
(3,053 Views)

Doh, I got it to work by exporting the Filtered Signal directly out of the filter express VI (sorry lol) into the play waveform express VI.

 

Thanks for the help!

 

Jeff

 

0 Kudos
Message 7 of 7
(3,051 Views)