[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute
From: |
Martin Braun (CEL) |
Subject: |
Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute |
Date: |
Sun, 3 Nov 2013 23:16:44 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sun, Nov 03, 2013 at 07:44:37PM +0200, Aydin Tarik Zengin wrote:
> Now my question is about how to write python blocks for gnuradio.
> Is there a tutorial for that?
It's the same you've been quoting before.
> What I want to know is how to pass the block parameters to python work method.
You can't do that. The scheduler calls work, and it has a fixed
signature. You can pass anything you need to the constructor.
MB
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
Research Associate
Kaiserstraße 12
Building 05.01
76131 Karlsruhe
Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu
KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association
pgp8WJj22wz2K.pgp
Description: PGP signature