On Mon, Jul 6, 2009 at 10:58 AM, Eric B.[email protected] wrote:
Would really appreciate your help. Thank you loads in advance.
I’ll start by assuming that you have gnuradio installed on your
windows machine and some method of getting/setting data with the DAC
from windows using some sort of manufacturer provided driver/API. If
that’s true you should be able to modify the current files for various
sources to make your own data source to get the samples into gnuradio.
This moves the control of your entire system into the gnuradio scope
Some places to start:
Howto write a block (very basic):
Source code for the USRP sources/sinks (very complicated):
I would look at the following from your checked out trunk as a place
to start with your block:
These are a good place to start because you can see how to take some
known data and send it out in stream form. You should be able to
replace the signal generator part with your current code that reads
samples and have a basic version working relatively quickly. If you
want you should even be able to work in some member functions to
change the gain parameter you are calculating so you can do it
directly from python/gnuradio.