|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Function Probe and OOT Blocks |
Date: | Wed, 23 Sep 2015 15:33:18 +0200 |
User-agent: | K-9 Mail for Android |
Hi David, For these cases, I typically recommend building an adjustable block that has a message port input, and one or multiple blocks that have message port outputs. You can, for example, write a multiply block that has one stream in-and one steam output, and does register_message_port_in, and has a message handler that updates the factor used internally for multiplication in a thread-safe manner. Then, you'd write something that is a stream sink, I.e. only has an input for samples, but based on some condition, sporadically sends a message to the aforementioned block. That way, you get asynchronous cooperation in GNU radio. I'm on my phone, currently, but if you look for the "GNU radio guided tutorials", you'll find a section on message passing. In the GNU radio doxygen, you'll find a reference for the typical command syntax that GNU radio devs usually agree on using. Best regards, Marcus Am 23. September 2015 13:12:20 MESZ, schrieb David Halls <address@hidden>:
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. |
[Prev in Thread] | Current Thread | [Next in Thread] |