[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    [Discuss-gnuradio] Fwd:  modtool noblock and xml files and grc
From:       Johnathan Corgan <johnathan () corganlabs ! com>
Date:       2015-05-28 15:45:18
Message-ID: CALOxbZsZfH++4jfh5Sja5SB4jt9Uhji+3E=Ad8SVFUDsxGHX3A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, May 28, 2015 at 8:26 AM, John Murphy <
mr.john.joseph.murphy@gmail.com> wrote:


> Anyhow, it unexpectedly generated an xml file to import the non-block into
> GRC.
> Is there a best way to just remove that xml file without causing other
> issues?
>

First, do a 'make uninstall' from your build directory, to remove the file
from where GRC finds it.

Then, edit grc/CMakeLists.txt and remove the line that has the XML filename
in it.

Finally, rerun the build (cmake, make, sudo make install, etc.).

Also when I tried to drag and drop the non-block into GRC, presumably from
> the default created xml file with no edits (curiosity always gets one in
> trouble?) GRC went to a blank screen. Of course I was able to close and
> restart and pick up at the last save which was fine. Okay none of that is
> really unexpected.
>

In general, gr_modtool creates XML files that need further editing before
being usable in GRC; in this case, GRC didn't handle the mis-parse very
well.


> I guess there must be a reason you would have a noblock that can be added
> to a flowgraph?
>

You can create generic functions with parameters that you can set up as
variables in GRC.  They aren't blocks added to the flowgraph but are still
"GRC blocks".

-- 
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
Intro to SDR Classes - June 4-5, Columbia MD, June 29-30, El Segundo, CA
http://corganlabs.com

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div \
class="gmail_quote"><span class="">On Thu, May 28, 2015 at 8:26 AM, John Murphy <span \
dir="ltr">&lt;<a href="mailto:mr.john.joseph.murphy@gmail.com" \
target="_blank">mr.john.joseph.murphy@gmail.com</a>&gt;</span> wrote:<br><div>  \
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Anyhow, it unexpectedly generated an xml \
file to import the non-block into GRC.<br></div><div>Is there a best way to just \
remove that xml file without causing other \
issues?<br></div></div></blockquote><div><br></div></span><div>First, do a &#39;make \
uninstall&#39; from your build directory, to remove the file from where GRC finds \
it.</div><div><br></div><div>Then, edit grc/CMakeLists.txt and remove the line that \
has the XML filename in it.</div><div><br></div><div>Finally, rerun the build (cmake, \
make, sudo make install, etc.).</div><span class=""><div><br></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Also when I tried to drag and drop the \
non-block into GRC, presumably from the default created xml file with no edits \
(curiosity always gets one in trouble?) GRC went to a blank screen. Of course I was \
able to close and restart and pick up at the last save which was fine. Okay none of \
that is really unexpected.<br></div></div></blockquote><div><br></div></span><div>In \
general, gr_modtool creates XML files that need further editing before being usable \
in GRC; in this case, GRC didn&#39;t handle the mis-parse very well.</div><span \
class=""><div>  <br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div>I \
guess there must be a reason you would have a noblock that can be added to a \
flowgraph?</div></div></blockquote><div><br></div></span><div>You can create generic \
functions with parameters that you can set up as variables in GRC.   They aren&#39;t \
blocks added to the flowgraph but are still &quot;GRC blocks&quot;.</div><span \
class="HOEnZb"><font color="#888888"><div><span \
style="color:rgb(34,34,34)"><br></span></div><div><span \
style="color:rgb(34,34,34)">--  \
</span><br></div></font></span></div></div></div></div><div \
class="gmail_signature"><div dir="ltr"><div class="gmail_signature">Johnathan \
Corgan<br>Corgan Labs - SDR Training and Development Services</div><div \
class="gmail_signature">Intro to SDR Classes - June 4-5, Columbia MD, June 29-30, El \
Segundo, CA<br><a href="http://corganlabs.com" \
target="_blank">http://corganlabs.com</a></div></div></div> </div>



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic