LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

snd write waveform sample rate (so config.vi) questions

I need to use a "higher" sample rate then appears to be standard. From looking at the documentation, it appears the max rate is 44100. I know the more "modern" hardware will support a higher sample rate then this, so the question is, does Labview?

 

2nd question, When I attempted to modfiy "so config.vi", to add an additional case, I got an error "Selector Values Wrong Type", even if I select a value that is smaller. So I'm guessing it's not complaining about having an integer that is "out of range"

0 Kudos
Message 1 of 6
(2,997 Views)

Typically, the sampling rate is limited by the hardware, not the software.  You should consult your hardware documentation or let us know what hardware you are using.

 

Your error is due to the fact the you are trying to mix data types.  See this link: http://zone.ni.com/reference/en-XX/help/371361B-01/lverror/sel_values_wrong_type/

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 6
(2,996 Views)

Thanks... the issue is the Labview docs (7.1 that I am using through 8.6) imply that the max rate is 44100

Quote "rate sets the sample rate for the sound input operation or the update rate for the output operation. You can select 8000, 11025, 22050, or 44100."

0 Kudos
Message 3 of 6
(2,993 Views)
I checked the online help and is says the same thing. I still think the real limitation is your hardware. I assume this VI is using the sound card on your Mac? If you absolutely need a higher rate, you will have to find a different hardware solution. You might try one of the hardware boards for this part of the question. http://forums.ni.com/ni/?category.id=MostActiveHardwareBoards
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 4 of 6
(2,965 Views)
No it's a Dell, Dell says the card can run at 196 kHz
0 Kudos
Message 5 of 6
(2,957 Views)

You may pull the max sample rate from the sound card. I have posted some example code here

 http://forums.ni.com/ni/board/message?board.id=170&message.id=387823#M387823. It should work in labview 8.x. The code is very simple and crude.   



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