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: Dave NotTelling
Subject: Re: [Discuss-gnuradio] Testing Message Based Blocks
Date: Tue, 28 Feb 2017 11:15:13 -0500

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

reply via email to

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