On Mon, Jul 13, 2009 at 02:32:57PM -0700, udadidd wrote:
> 
> I was trying to understand benchmark_tx and benchmark_rx files. I see
> blks2.mod_pkts being used. and blks2 being imported from gnuradio
> 1) if i call "from gnuradio import blks2", where exactly are these files
> called from?
> 2) i do not see any mod_pkts() function in the blks2 directory. instead i
> find those in blks2impl/pkt.py and packet_utils.py. I wanted to see the
> packet form and tried "Print pkt" in packet_utils.py but it doesnt reflect
> in the output at all. How do i know which files are being used in this?
> 

Because of how we glue together the gr python namespace,
the stuff that appears in the blks2 namespace actually lives in a
directory called blks2impl.

Eric


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to