discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] convert A/D values to volts


From: Eric Hill Matlis
Subject: [Discuss-gnuradio] convert A/D values to volts
Date: Thu, 9 Nov 2006 15:16:13 -0500 (EST)

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 Swiger 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]