Age | Commit message (Collapse) | Author |
|
The rewrite and validate methods will invoke themselves on the child elements.
The error messages are now a super-list of element and child error messages.
As a side-effect, this cleans up code in base Block and Flowgraph class.
|
|
we dont use test() -> remove it
Made the window for the pass band filters integers (take firdes.WIN_XXX).
Evaluation fix in param.to_code().
Removed the flagging api and usage from the base classes.
added ref scale param to fft and waterfall
Switched the python classes to inherit from the base and gui classes.
port and param types from an overloaded method
todo
Replaced TYPES in Port and Param with types parameter.
made is_virtual_xxx a block level function, used by port and param classes
added stream id type and checking in evaluate
avoid loops
Recursive resolution of virtual sources.
added virtual source and added stream ids, logic to clone in port
added rewrite methods to element to separate from validation logic
Added virtual sink and logic to clone port.
removed repurposing of pads
Work on command line options for generated code.
renamed the colors dialog to types
use pkgpythondir
...
|
|
|
|
Now a window can be controlled by a variable such as a chooser.
|
|
Dont force an evaluation in to code unless the type is string or list.
Not doing so forces the variables to call evaluate before the namespace was bootstrapped.
This fixes a bug that came up when the validate was replaced with rewrite in flowgraph.import_data().
By replacing the validate, evaluate was only called once, and the namespace was not bootstrapped.
|
|
afer set lo offset.
|
|
Far better to flag the namespace for renewing once in the flowgraph.py
|
|
|
|
with the lo frequency.
|
|
Use only **kwargs so all contructor parameters must be passed with keys.
Moved gui input forms classes from base to gui param module.
|
|
|
|
|
|
Replaced odict in options for storing options with a list.
Fix virtual port check in flow graph template.
|
|
|
|
|
|
|
|
Flow graph generation code working.
Also, mod to fft window to use clean/nice Db/div.
|
|
|
|
|
|
Tweaks to the base validation routines.
Validate twice in the update until rewrite functions are implemented.
|
|
|
|
Simplified eng_option eng_float to reuse str_to_num code.
|
|
|
|
|
|
|
|
* New block XML file
* Added set_taps callback to blks2 hier block
* GRC example showing pre- and post-resampling swept spectrum
|
|
|
|
A port can be a source or a sink based on the dir parameter.
|
|
This adds the ability to GRC to gave blocks with message ports.
Signed-off-by: Johnathan Corgan <jcorgan@corganenterprises.com>
|
|
cleanup nports code
|
|
objects are now only stored in one place (in the object).
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11592 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
|
|
Added message source and sink blocks to test.
TODO: Port and Block require new validation checks.
|
|
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11516 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
Added **kwargs to nongl for backwards compadibility.
Updated todo.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11448 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11420 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
Adds several API functions to determine build constants at runtime, and
a convenience command line program to display them:
From C++:
const std::string gr_prefix();
const std::string gr_sysconfdir();
const std::string gr_prefsdir();
const std::string gr_build_date();
const std::string gr_svn_date();
const std::string gr_svn_version();
const std::string gr_version();
From Python:
gr.prefix()
gr.sysconfdir()
gr.prefsdir()
gr.build_date()
gr.svn_date()
gr.svn_version()
gr.version()
The new binary is 'gnuradio' and installed on the path:
$ gnuradio
Program options: gnuradio [options]:
-h [ --help ] print help message
--prefix print gnuradio installation prefix
--sysconfdir print gnuradio system configuration directory
--prefsdir print gnuradio preferences directory
--builddate print gnuradio build date (RFC2822 format)
-v [ --version ] print gnuradio version
--svnversion print SVN repository version (SVN format)
--svndate print SVN repository date
$
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11418 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11380 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11376 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
Adds notebook cabability to grc and its wxgui windows/controls.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11358 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11339 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11323 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11307 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11306 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11305 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
For now, this is commented out until the current block tree is overhauled.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11304 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
The generated code looks makes more sense, and it may avoid a possible variable collision.
Fixed up variable config to re-read the config file before writing,
so 2 or more variables using the same config file cant "fight".
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11284 221aa14e-8319-0410-a670-987f0aec2ac5
|
|
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11283 221aa14e-8319-0410-a670-987f0aec2ac5
|