discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ZeroMQ sockets in an OOT block


From: isaac mario tupac davila
Subject: ZeroMQ sockets in an OOT block
Date: Thu, 17 Sep 2020 11:52:43 -0500

Hello!

I hope you could help me. I've created a general OOT block and inside I'm implementing two pthreads. From one of them I'm passing numbers to the main thread with the help of ZMQ sockets. When I compile my OOT block it doesn't appears any problem and I even can see the block in GNU Radio companion, but when I try to run my flowgraph, an error appear: AttributeError: 'module' object has no attribute 'pthread'.  (pthread is the name of my OOT block)

I looked in the gr-zeromq file in the workarea-gnuradio and it seems that the problem is in one of the CMakeslist.txt. Probably because when generating the top_block.py the library: from gnuradio import zeromq is not included... I'm not sure if my suspect is correct and I don't know in which CMakelist.txt add it.

I'm inserting a screen from my GNU Radio Companion and the code of my OOT block is in the link.: https://github.com/isaactd92/gr-pthread.git

I really appreciate any help.
Thanks
Isaac T.




Attachment: ProblemaZMQ.jpg
Description: JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]