Re: [Discuss-gnuradio] Updating old 802.15.4 code to latest release

2008-11-06 Thread Leslie Choong
Hi Dimitris, I scanned over your code and think you just need to add "self" to one statement. We add self only if there is an external port. Your rds_rx block has an input but is a sink and therefore no output. Therefore at line 102 rds_rx.py you may want to add something like: self.connect(self, s

Re: [Discuss-gnuradio] Updating old 802.15.4 code to latest release

2008-11-06 Thread Dimitris Symeonidis
I gave it a shot, didn't work though... I was getting the error "ValueError: port number 0 exceeds max of (none)" here's my hier_block2: https://www.cgran.org/browser/projects/radio_data_system/trunk/src/python/rds_rx.py and here's my top_block: https://www.cgran.org/browser/projects/radio_data_sy

Re: [Discuss-gnuradio] Updating old 802.15.4 code to latest release

2008-11-04 Thread Leslie Choong
Hi Dimitris, I did find the source of the problem. I needed to add "self" at the beginning (and sometimes end) of the argument list for self.connect(). I looked through examples in the gnuradio codebase. Jonathan offered this explanation as to why it is wired up that way when I didn't think it made

Re: [Discuss-gnuradio] Updating old 802.15.4 code to latest release

2008-11-04 Thread Dimitris Symeonidis
Hi Leslie, I have encountered the same problem in my RDS code (https://www.cgran.org/wiki/RDS) The error comes up because I have a top_block that creates a msg_queue and passes it (as an argument) to a hier_block2. This hier_block2 then outputs to the queue. I am receiving the same error message (

[Discuss-gnuradio] Updating old 802.15.4 code to latest release

2008-10-28 Thread Leslie Choong
Hi everyone, I'm currently updating Thomas Schmid's old 802.15.4 demodulation code. It has been tested and works with at least revision 7596 of the gnuradio trunk. I've been trying to update the code to work with the latest release of Gnuradio (3.1). I've looked at examples converting from hier_blo