[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Graphical programming with Ptolemy
From: |
TJ Dreier |
Subject: |
[Discuss-gnuradio] Graphical programming with Ptolemy |
Date: |
Thu, 4 May 2006 11:30:57 -0700 |
Since there's been a lot of talk about GUIs and graphical programming,
I'll describe some of the work I've been doing. I'm using a graphical
modeling tool called Ptolemy to allow design of gnuradio systems.
Here is the basic approach:
1) Automatically scan gnuradio source tree and build XML
representations of blocks, including things like constructor parameter
lists. These are in Ptolemy's MoML format so Ptolemy can import them.
I have written a python program to generate these files.
2) Use Ptolemy to draw block diagrams and connections. Ptolemy allows
block parameters to be configured by inspecting the XML I just
described.
3) Then have Ptolemy convert the block diagram into a gnuradio python
program. Ptolemy is written in Java, so I have written Java classes
to do this.
4) Ptolemy launches this program and communicates with it using pipes.
This allows you to create other pieces of Ptolemy simulations that
source or sink data to GR.
Here's a screenshot to give you an idea:
http://www.ee.ucla.edu/~tjdreier/gnuradio_ptolemy.jpg
It shows a top-level model where GNU Radio components look like black
boxes to a Ptolemy simulation. Then it shows the GNU Radio flowgraph
that is inisde. And finally, it shows an example of configuring a
block parameter, such as the modulator sensitivity.
Information on Ptolemy can be found here:
http://ptolemy.eecs.berkeley.edu/ptolemyII/index.htm
Questions or comments are always welcome.
Tad Dreier
- [Discuss-gnuradio] Graphical programming with Ptolemy,
TJ Dreier <=
- [Discuss-gnuradio] Re: Graphical programming with Ptolemy, Patrick Strasser, 2006/05/05
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, Eric Blossom, 2006/05/10
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, John Clark, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, Eric Blossom, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, John Clark, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, Robert McGwier, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, John Clark, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, Eric Blossom, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, John Clark, 2006/05/11
- Re: [Discuss-gnuradio] Re: Graphical programming with Ptolemy, Marcus Leech, 2006/05/11