discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Rearranging a running flow graph


From: Patrick Strasser
Subject: [Discuss-gnuradio] Rearranging a running flow graph
Date: Sat, 17 Mar 2007 12:29:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050602 Thunderbird/1.0.2 Mnenhy/0.7.2.0

Hello!

I'd like to construct a demo for grc which can switch between two or more branches in a flow graph, like AM or FM: given a Signal, this would be modulated by an FM and an AM branch, then one is selected for a simulated channel (noise) and afterwards the signal is fed to either a FM or a AM demodulator. I want easily switch between the two behaviours, but am not shure about how to do this the Right Way.

I'd do this now with multiplicators, but that introduces for every branch a new block, and keeps the unused paths running, which is rousource hungry (I don't have that much CPU power).

An other way would be to do disconnects and connects in the flow graph. Is this a sensible way to go? Can I rearrange a running flow graph or do I have to stop before rearranging and start the flow graph afterwards?
Josh: What do you think about integrating this into grc?

The third possibility would be contruct a swtich block that takes n inputs and has a method to select the input by a number. Would this be possible an a way so that the not-to be consumed path temporarily discontinues processing? On continuation, the interrupted path would work with old data. Any way to flush this or are the buffers small enough to neglect this effect? I guess this would also be true for connect/disconnect.

Patrick
--
Engineers motto: cheap, good, fast: choose any two
Patrick Strasser <patrick dot strasser at  tugraz dot at>
Student of Telematik, Techn. University Graz, Austria





reply via email to

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