discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Testing Message Based Blocks


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Testing Message Based Blocks
Date: Tue, 28 Feb 2017 17:38:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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


reply via email to

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