[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] GRC question
From: |
Scott Bierly |
Subject: |
[Discuss-gnuradio] GRC question |
Date: |
Sun, 25 Jan 2009 00:58:30 -0500 |
Has anyone successfully used GRC with USRP Dual Source and/or USRP Dual Sink blocks? The attached .grc file and .py file are my simple test case, which bombs like this:
Generating: "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py"
Executing: "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py"
Traceback (most recent call last):
File "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py", line 72, in <module>
tb = Scott_Dual_FFT_RFX900()
File "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py", line 45, in __init__
tx_enb_b=True,
File "/usr/local/lib/python2.5/site-packages/grc_gnuradio/usrp/simple_usrp.py", line 360, in __init__
gr.io_signature(2, 2, constructor_to_size[self.constructor[0]]),
TypeError: 'instancemethod' object is unsubscriptable
I added the Sink to see what would happen, but originally only had the USRP Dual Source as a simple diagnostic test, and that bombed this way:
Generating: "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py"
Executing: "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py"
Traceback (most recent call last):
File "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py", line 56, in <module>
tb = Scott_Dual_FFT_RFX900()
File "/home/scott/src/gnuradio/scott-grc/Scott_Dual_FFT_RFX900.py", line 43, in __init__
rx_ant_b="RX2",
File "/usr/local/lib/python2.5/site-packages/grc_gnuradio/usrp/simple_usrp.py", line 320, in __init__
gr.io_signature(2, 2, constructor_to_size[self.constructor[0]]),
TypeError: 'instancemethod' object is unsubscriptable
>>> Done
I'm having a hard time figuring out from this what I might have done wrong. I will confess I don't understand how to setup the mux yet, but that does not appear to be related to this problem.
I'm running off the subversion gnuradio build 10260, which contains GRC version 3.1SVN.
Thanks for any help.
--Scott
Scott_Dual_FFT_RFX900_test.grc
Description: Binary data
Scott_Dual_FFT_RFX900.py
Description: Text Data
- [Discuss-gnuradio] GRC question,
Scott Bierly <=