|
From: | Dave NotTelling |
Subject: | Re: [Discuss-gnuradio] Testing Message Based Blocks |
Date: | Wed, 1 Mar 2017 09:07:55 -0500 |
Hi Dave,
haven't gotten around to looking at your block, but I presume it uses message passing to emit PMTs, is that right?
In that case, the "message debug" block has a "store" input.
Best regards,
Marcus
On 02/28/2017 05:15 PM, Dave NotTelling wrote:
Anyone able to help out? Hoping it's just something dumb that I didn't set properly.
On Feb 25, 2017 17:32, "Dave NotTelling" <address@hidden> wrote:
I am attempting to test a block that takes in complex samples and outputs PMT objects. In order to properly test it, I need to run a vector through it and verify that the correct number of PMT objects were created. Thus far I have not run across any blocks that act like a vector sink for PMT objects. So, I created my own in Python. When I run with the custom PMT sink the graph never stops. If I create the same PMT sink in C++ then everything works as expected. Attached is some example code. If you build gr-poopie with `cmake .. && make && sudo make install && sudo ldconfig` you can then run the `test.py` script in the base directory. It should work for the first three tests and then hang on the last one.
Thanks!
-Dave
_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/ listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |