-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 not really: use gr.sizeof_<type> instead of blocks.sizeof_<type> .
On 05.12.2013 11:05, Sandhya G wrote: > Thanks for the reply Marcus But can you be more clear about it. > > > Thanks Sandhya > > > On Thu, Dec 5, 2013 at 3:31 PM, Marcus Müller <mar...@hostalia.de> > wrote: > > As I've said, sizeof_char is in gr. and not in blocks. > > > On 05.12.2013 10:59, Sandhya G wrote: >>>> Because i'am using instant sdr live usb which has come >>>> installed with 3.6.2 >>>> >>>> Well sorry that message was like when i changed the datatype >>>> of the deinterleaved block to float. Now i changed all the >>>> blocks datatype to bytes so the error is >>>> self.blocks_deinterleave_0 = >>>> blocks.deinterleave(blocks.sizeof_char*1) AttributeError: >>>> 'module' object has no attribute 'sizeof_char' >>>> >>>> Thanks Sandhya >>>> >>>> >>>> On Thu, Dec 5, 2013 at 3:12 PM, Marcus Müller >>>> <mar...@hostalia.de> wrote: >>>> >>>> Sandhya, one quick question here: Is there really necessity >>>> to use 3.6.2 instead of 3.6.5 or 3.7? >>>> >>>> Then: Ok, how do you come to the conclusion that sizeof_float >>>> would be right for bytes? And: I don't see any C++, where is >>>> your C++ problem? The sizeof_<CTYPENAME> attributes are >>>> members of the gr. module in python. >>>> >>>> Greetings, Marcus >>>> >>>> >>>> On 05.12.2013 10:37, Sandhya G wrote: >>>>>>> Hi I was just trying to use interleave and >>>>>>> deinterleave blocks. GNU radio installed is 3.6.2 >>>>>>> >>>>>>> flowchar is something like >>>>>>> >>>>>>> vector source ----> interleave >>>>>>> ---->throttle--->deinterleave --->scope sink vector >>>>>>> source -----> >>>>>>> >>>>>>> The datatype is byte. when execute the flowchart i'am >>>>>>> getting error >>>>>>> >>>>>>> self.blocks_deinterleave_0 = >>>>>>> blocks.deinterleave(blocks.sizeof_float*1) >>>>>>> AttributeError: 'module' object has no attribute >>>>>>> 'sizeof_float'. May be the error might be simple but >>>>>>> i'am very new to C++ . please help me to solve the >>>>>>> issue >>>>>>> >>>>>>> Thanks Sandhya >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org >>>>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>>>>> >>>>> >>>>> >>>>>>> _______________________________________________ Discuss-gnuradio >>>>> mailing list Discuss-gnuradio@gnu.org >>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>>>> >>>> >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSoFBSAAoJEAFxB7BbsDrLqr8H/RgXIp738YfYa7i4HJ+ri7mk NxwGzem9hpF9f59bG+MQq8chFJ35JuoA5WZcGnAVcQ2vYt9Uu8OKeiAQTTAW1oW7 ZmypkTbKJmwA8xofnqXRXPEHgjqjtNKOPLX3M80UY5Ydy4WhWseVweao8VbbbWt0 7cpWKZLhzUmlki7xyPJNGki1rLHhNgPmS8g39niCkzQe0uA3u9vzq6iRGdcmKOxJ Q42dzy4eI9/tBVNfc6dm/8sD3mwOR1p7yzZ/zVRm3uIAt7ouCBHHH/wrGoOJ6Lro ws2NhJWW4hLssi48f/98JC4H5682ge8oGL9yARHecuRh9Y9f8ffEYI7Yz4LyiDk= =jeXE -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio