After some perusing, I think the XML for the meta file sink provided a good
example. Although thanks for the previous examples, it probably took all
three to figure it out.

Thanks again,

Jon


On Wed, May 7, 2014 at 3:32 AM, Martin Braun <[email protected]> wrote:

> Order of XML tags matters, check grc/python/block.dtd.
>
> Martin
>
>
> On 07.05.2014 02:07, Ron Economos wrote:
>
>> 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 <[email protected]
>>> <mailto:[email protected]>> 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
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to