discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] one input stream to two output streams


From: Garrett Mcgrath
Subject: [Discuss-gnuradio] one input stream to two output streams
Date: Mon, 24 Apr 2006 01:11:26 -0400

I’m currently generating an aloumoti encoding library function that takes a single vector input, splits the vector in half and processes it.  This single vector then becomes the data payload for 2 separate IR base band transmissions.  I’m attempting to figure out how you output those 2 output streams from the DPS block to their respective daughter boards on the USRP (I’m under the impression that this can be done on one board but not two at the moment w/ a reliable phase difference.).  would it be something as simple as:

src="">

dst=sink.usrp()

fg.connect((src,0), (dst,0))

fg.connect((src,0), (dst,1))

 

// this is of course just pseudo code as I’m not entirely sure how to sink to the USRP yet, but I’m working on it.

 

-Garrett McGrath

 

PS: if I wanted to have a set of arguments passed to the aloumoti_encode block when it’s bound to ‘src’ would I just create a constructor in the class definition that has those arguments then add it to the .i file and be capable of passing arguments to it that way?


reply via email to

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