Here's an even more basic example that doesn't use
the opt tag. It shows my complete cluelessness about
xml, but it works.
https://github.com/drmpeg/gr-dvbs/blob/master/grc/dvbs_puncture_bb.xml
Ron
On 5/6/2014 11:55 AM, Jonathan Fox wrote:
Thanks for the response, I was looking at the opt tags and I am still
confused about how to do it. Do I need to set it up like this:
<make>specsense.energy_detector_sink_f($vlen, $eta, $white_space.val,
$samp_rate, $cntr_freq, $verbose)</make>
<param>
<name>Desired Detection</name>
<key>white_space</key>
<type>bool</type>
<option>
<name>Open Band</name>
<value>True</value>
<opt>val:True</opt>
</option>
<option>
<name>Closed Band</name>
<value>False</value>
<opt>val:False</opt>
</option>
</param>
<param>
<name>Verbose</name>
<key>verbose</key>
<type>bool</type>
<option>
<name>Yes</name>
<value>True</value>
<opt>val:True</opt>
</option>
<option>
<name>No</name>
<value>False</value>
<opt>val:False</opt>
</option>
</param>
Thanks,
Jon
On Tue, May 6, 2014 at 11:08 AM, Ron Economos <w...@comcast.net
<mailto:w...@comcast.net>> wrote:
Take a look at:
https://github.com/BogdanDIA/gr-dvbt/blob/master/grc/dvbt_inner_coder.xml
Ron
On 5/6/2014 7:00 AM, Jonathan Fox wrote:
I have two out of tree blocks I want to add to GRC, everything
compiles and installs correctly except for the GRC component
(not shown in GRC). So this should be an XML issue and I think
it is related to my attempts at making a drop down option
choice concerning the detection of white space/closed
frequencies and verbose output. My XML is attached below and
you can see that under Params Desired Detection and Verbose
have options.
When I look at other stock GNU Radio block's XML like the low
pass filter, I see that some params have opt tags. Do I need
these also, if so how would I use them in my case?
Thanks,
Jon
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio