USRPs Gr-Doa Qt Compass

2021-12-06 Thread Evariste Some
We successfully made the installation from gr-doa. We encountered a qt_compass error whenever we run the flowgraphs with Qt Gui Doa Compass. [top_block.py", line 235 self.doa_qt_compass_0 = Template error: #set $win = 'self._%s_win'%$id doa.compass($name, $min_val, $max_val, $step, $arc_bias) $

Re: USRPs Gr-Doa Qt Compass

2021-12-06 Thread Neel Pandeya
Could you confirm which version of Linux, Python, UHD, GNU Radio you're using? Are you using a USRP X300/X310 with two TwinRX daughterboards? --Neel Pandeya On Mon, 6 Dec 2021 at 15:01, Evariste Some wrote: > We successfully made the installation from gr-doa. We encountered a > qt_compass er

Re: USRPs Gr-Doa Qt Compass

2021-12-06 Thread Evariste Some
Sure, here it is: Ubuntu 16.04.7 LTS GNU Radio Companion 3.7.13.4 UHD 3.11.0 Default Python 2.7.12 GCC 5.4.0 Yes, we are using N210 and X310. Some On Mon, Dec 6, 2021 at 2:05 PM Neel Pandeya wrote: > Could you

Re: Problems when passing messages to a source block

2021-12-06 Thread Michelle
Good evening, I wonder where the function *msg_port_pub* is defined, I do not find it anywhere. I ask because the error "/can't interpret source code: 'messageGenerator' object has no attribute 'msg_port_pub'/**" persists.  I have implemented a handler that calls the function but it doesn't

Problems while writing Python test for X++ block

2021-12-06 Thread Nikoloz Glonti
Hello everybody! I'm writing this message once again, probably previous one never reached the mailserver. I'm entercounting problems when trying to make tests of my C++ block - this one from tutorial https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B . How can i import my

Problems while writing Python test for X++ block

2021-12-06 Thread Nikoloz Glonti
Hello everybody! I'm writing this message once again, probably previous one never reached the mailserver. I'm entercounting problems when trying to make tests of my C++ block - this one from tutorial https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B . How can i import my

Re: Problems while writing Python test for X++ block

2021-12-06 Thread Jeff Long
There is old code in your module, either left over from previous work, or generated by an older version of GNU Radio that is still on your system. If this is just tutorial code, delete the whole gr-tutorial directory, make sure there is no second (v3.8) installation on your machine, and give it ano

Re: Problems when passing messages to a source block

2021-12-06 Thread Michelle
Hi Jeff, Thank you very much, all this time I didn't realize. Now I have the following error:/Warning: failed to XInitThreads()// //thread[thread-per-block[0]: ]: *pmt_car: wrong_type : ampl",*/ there is something bad with the red marked line (below) , but according to what is explained in t

Re: Problems when passing messages to a source block

2021-12-06 Thread Jeff Long
Is "data" a double? Thread() passes "args" to self.run() ... On Mon, Dec 6, 2021 at 6:32 PM Michelle wrote: > Hi Jeff, > > Thank you very much, all this time I didn't realize. > > Now I have the following error:*Warning: failed to XInitThreads()* > *thread[thread-per-block[0]: ]: pmt_car: wrong_

Problems about executing the flow graph and pythonpath

2021-12-06 Thread idrey
Hello everybody! I am new to GNU Radio and met some problems. I wrote an OOT module and compiled it successfully. However, when I used GRC to execute the flow graph including OOT blocks, it shows that "ModuleNotFoundError: No module named 'gadget'". I searched a lot about that. And I found th

Re: Problems about executing the flow graph and pythonpath

2021-12-06 Thread Vasil Velichkov
Hi idrey, Welcome to GNU Radio! On 07/12/2021 08.52, idrey wrote: > So I added 'export > PYTHONPATH=/usr/local/lib/python3/dist-packages:$PATHONPATH'  to > .bashrc. Luckily, I can import OOT module and execute the flow graph in > terminal using 'python3 flow_graph.py' but in GRC it still not w