Convert A/D values to volts

Hi all-

I am demodulating an AM modulated waveform, and would like to display
the
time series of the sideband in a window. I have code that uses the
scope
sink to do this, but the magnitude is in units which I take to be
correlated to A/D raw values (ie, values near 2000). How do I convert
this to an equivalent voltage? I am using the LFRX daughterboard (DC-50
MHz) to acquire the signal. I know that Charles S. has some c-codes
that do this, but I’m not sure which format I’m converting from (4-byte
floating point?) or how to implement that in Python. My code is at:

www.nd.edu/~ematlis/z.gnuradio/am_rcv_plasma.py

thanks,

eric


Eric H. Matlis, Ph.D.
Aerospace & Mechanical Engineering Dept.
120 Hessert Center for Aerospace Research
University of Notre Dame
Notre Dame, IN 46556-5684
Phone: (574) 631-6054
Fax: (574) 631-8355

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs