discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Out of Tree Block Not Showing up in GRC


From: Ron Economos
Subject: Re: [Discuss-gnuradio] Out of Tree Block Not Showing up in GRC
Date: Tue, 06 May 2014 17:07:29 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

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 <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]