LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert 24 bit data to 16 bit data to be fed to my sound card?

I am truely a beginner(student) in this, I am doing this project using NI-DAQ 4474 for a feedback system. and i am feeding my data later to my computer soundcard which i believe 16 bit. I need to convert my data to be in the same reference as my soundcard. also if any body know how would i find out what is the limit of my sound card voltage (ie. +/- 2v) or if there is a standard for this. Also, instead of converting my data from 24 bit to 16 bit, if there is away to set DAQ to have a 16 bit. and if this would it be the same as converting later or would it have less accuracy. I KNOW this is worded badly... also i am interested in gain equalizer filters; and i was wondering if labview carry this typ
e filter. thank you so much patient with me
0 Kudos
Message 1 of 3
(3,044 Views)
cube wrote in message news:<5065000000080000001EFF0000-1079395200000@exchange.ni.com>...
> I am truely a beginner(student) in this, I am doing this project using
> NI-DAQ 4474 for a feedback system. and i am feeding my data later to
> my computer soundcard which i believe 16 bit. I need to convert my
> data to be in the same reference as my soundcard. also if any body
> know how would i find out what is the limit of my sound card voltage
> (ie. +/- 2v) or if there is a standard for this. Also, instead of
> converting my data from 24 bit to 16 bit, if there is away to set DAQ
> to have a 16 bit. and if this would it be the same as converting later
> or would it have less accuracy. I KNOW this is worded badly... also i
> am interested in gain
equalizer filters; and i was wondering if
> labview carry this type filter. thank you so much patient with me

To convert 24-bit data (handled as 32-bit in LV) into 16-bit, shift it
right by 8 bits (use Functions -> Advanced -> Data Manipulation ->
Logical Shift.

Paul Cardinale
0 Kudos
Message 2 of 3
(3,044 Views)
Cube,

I can tell you that your sound card voltage limit should be included in the specification of your sound card, and if it's not, your best bet for an anwser would be to talk to the manufacturer.

I've not seen anything regarding "gain equalizer filters" in particular, but there are several filter VIs in LabVIEW. Try doing a function search for "filter" in the block diagram.

Could you please explain a little more of what you are trying to do? It's not really clear what's going on in your system. Are you producing sound with your sound card and then feeding that data back into the 4474 and then analyzing it? Why do you want less accurate data from the 4474? Please let me know, and have a good day!

Logan S.
0 Kudos
Message 3 of 3
(3,044 Views)