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

List:       gnuradio-discuss
Subject:    Re: [Discuss-gnuradio] Fwd: About setting the GRC block properties.
From:       Kevin <jplscanner () gmail ! com>
Date:       2013-09-25 18:39:19
Message-ID: CACX9OvWtLLs1UWaMT+f_DuLag7L24st-P01gFsroTKaXxgKRrA () mail ! gmail ! com
[Download RAW message or body]

Thanks Marcus,

I am thinking to use "Random source" generating 010101......as source.
If I wanna modify the transmit diagram based on
http://gnuradio.org/doc/doxygen/ofdm_tx_core.pn<http://gnuradio.org/doc/doxygen/ofdm_tx_core.png>
 g
What would you suggest? Can you show me the block diagrams
for me to create the blocks before ofdm_rx_core.png, "Virtual source ->
OFDM Carrier Allocator -> FFT -> OFDM Cyclic Prefixer"
Am I right like creating "Random Source -> OFDM Mod -> Virtual sink"
Will it conflict between "OFDM Mod" and "Cyclic Prefixer"?
Or my thought is totally wrong!


Sincerely,


On Wed, Sep 25, 2013 at 11:45 AM, Marcus Müller <marcus@hostalia.de> wrote:

> Hi Kevin,
> 
> no, they are not the same.
> In the ofdm mod XML file (gr-digital/grc/digital_ofdm_mod.xml), the make
> element is:
> grc_blks2.packet_mod_$(type.fcn)(digital.ofdm_mod(
> options=grc_blks2.options(
> modulation="$modulation",
> fft_length=$fft_length,
> occupied_tones=$occupied_tones,
> cp_length=$cp_length,
> pad_for_usrp=$pad_for_usrp,
> log=None,
> verbose=None,
> ),
> ),
> payload_length=$payload_length,
> )
> 
> So, OFDM mod is basically a packet encoder, which internally is a message
> queue based approach to managing packets.
> This is nice, because internally digital.ofdm_mod has a send_pkt method
> that encodes your message, enabling it to work asynchronously, it generates
> a sync-friendly, preambling, data-encoding framework,
> so it's a user-friendly  data->symbols->preamble+symbols->ifft->cyclic
> prefixer->normalizer hier block,
> while ofdm_tx_core.png only shows the very basic princible of generating
> OFDM signals in GNU Radio.
> 
> Hope I was of a little assistance,
> Marcus
> 
> 
> Morning,
> 
> Sorry for taking so long to reply.
> 
> I have one question,
> the block, "OFDM Mod"   <----->      and these three, "OFDM Carrier
> Allocator, FFT, OFDM Cyclic Prefixer",
> shown on the website, http://gnuradio.org/doc/doxygen/ofdm_tx_core.png
> 
> Are they doing the same thing?
> 
> Thanks
> 
> 
> 
> 
> 
> 
> ---------- Forwarded message ----------
> From: Martin Braun (CEL) <martin.braun@kit.edu>
> Date: Fri, Sep 20, 2013 at 6:08 PM
> Subject: Re: [Discuss-gnuradio] About setting the GRC block properties.
> To: GNURadio Discussion List <discuss-gnuradio@gnu.org>
> 
> 
> On Fri, Sep 20, 2013 at 01:45:46PM -0500, Kevin wrote:
> > "Virtual source" block shows "pre-ofdm", which means I need to create
> some
> > blocks like "Virtual sink" labeled "pre-ofdm" before this?
> 
> Don't worry about these blocks, they are just to make the Figures look
> complete (or rather, to label the inputs).
> 
> > "I think you just need brackets around the carrier allocation table.
> > Also, use Python's range() to make stuff more readable."
> > 
> > 
> > Can you explain it more specifically?
> > 
> > bracket at which section?
> 
> You need more (). The carrier tables are vectors of vectors ((...), ...).
> > 
> > "python's range()" I have no idea what this is?
> 
> Look up the range() function in Python.
> 
> MB
> 
> --
> Karlsruhe Institute of Technology (KIT)
> Communications Engineering Lab (CEL)
> 
> Dipl.-Ing. Martin Braun
> Research Associate
> 
> Kaiserstraße 12
> Building 05.01
> 76131 Karlsruhe
> 
> Phone: +49 721 608-43790
> Fax: +49 721 608-46071
> www.cel.kit.edu
> 
> KIT -- University of the State of Baden-Württemberg and
> National Laboratory of the Helmholtz Association
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing \
> listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio \
>  
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 


[Attachment #3 (text/html)]

<div dir="ltr">Thanks Marcus,<div><br></div><div>I am thinking to use &quot;<font \
color="#0000ff">Random source</font>&quot; generating 010101......as \
source.</div><div>If I wanna modify the transmit diagram based on <a \
href="http://gnuradio.org/doc/doxygen/ofdm_tx_core.png" \
target="_blank">http://gnuradio.org/doc/doxygen/ofdm_tx_core.pn</a>g</div> <div>What \
would you suggest? Can you show me the block diagrams</div><div>for me to create the \
blocks before ofdm_rx_core.png, &quot;<font color="#0000ff">Virtual source -&gt; OFDM \
Carrier Allocator -&gt; FFT -&gt; OFDM Cyclic Prefixer</font>&quot;</div> <div>Am I \
right like creating <span \
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">&quot;</span><span \
style="font-family:arial,sans-serif;font-size:13px"><font color="#0000ff">Random \
Source -&gt; OFDM Mod -&gt; Virtual sink</font></span><span \
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">&quot;</span></div>
 <div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Will \
it conflict between &quot;</span><span \
style="font-family:arial,sans-serif;font-size:13px"><font color="#0000ff">OFDM \
Mod</font></span><span \
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">&quot; and \
&quot;</span><span style="font-family:arial,sans-serif;font-size:13px"><font \
color="#0000ff">C</font></span><span \
style="font-family:arial,sans-serif;font-size:13px"><font color="#0000ff">yclic \
Prefixer</font></span><span \
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">&quot;?</span></div>
 <div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Or \
my thought is totally wrong!</span></div><div><br></div><div><span \
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br> \
</span></div><div><span \
style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Sincerely,</span></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 11:45 \
AM, Marcus Müller <span dir="ltr">&lt;<a href="mailto:marcus@hostalia.de" \
target="_blank">marcus@hostalia.de</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi Kevin,<br>
      <br>
      no, they are not the same.<br>
      In the ofdm mod XML file (gr-digital/grc/digital_ofdm_mod.xml),
      the make element is:<br>
      grc_blks2.packet_mod_$(type.fcn)(digital.ofdm_mod(<br>
                      options=grc_blks2.options(<br>
                              modulation=&quot;$modulation&quot;,<br>
                              fft_length=$fft_length,<br>
                              occupied_tones=$occupied_tones,<br>
                              cp_length=$cp_length,<br>
                              pad_for_usrp=$pad_for_usrp,<br>
                              log=None,<br>
                              verbose=None,<br>
                      ),<br>
              ),<br>
              payload_length=$payload_length,<br>
      )<br>
      <br>
      So, OFDM mod is basically a packet encoder, which internally is a
      message queue based approach to managing packets.<br>
      This is nice, because internally digital.ofdm_mod has a send_pkt
      method that encodes your message, enabling it to work
      asynchronously, it generates a sync-friendly, preambling,
      data-encoding framework, <br>
      so it&#39;s a user-friendly 
      data-&gt;symbols-&gt;preamble+symbols-&gt;ifft-&gt;cyclic
      prefixer-&gt;normalizer hier block,<br>
      while ofdm_tx_core.png only shows the very basic princible of
      generating OFDM signals in GNU Radio.<br>
      <br>
      Hope I was of a little assistance,<br>
      Marcus<br>
      <br>
      <br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Morning,
        <div><br>
        </div>
        <div>Sorry for taking so long to reply.</div>
        <div><br>
          I have one question,</div>
        <div>the block, &quot;OFDM Mod&quot;   &lt;-----&gt;      and these three,
          &quot;OFDM Carrier Allocator, FFT, OFDM Cyclic Prefixer&quot;, </div>
        <div>shown on the website, <a \
href="http://gnuradio.org/doc/doxygen/ofdm_tx_core.png" \
style="font-size:13px;font-family:arial,sans-serif" \
target="_blank">http://gnuradio.org/doc/doxygen/ofdm_tx_core.png</a></div>

        <div><br>
        </div>
        <div>Are they doing the same thing?</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
          <div class="gmail_quote">---------- Forwarded message
            ----------<br>
            From: <b class="gmail_sendername">Martin Braun (CEL)</b> <span \
dir="ltr">&lt;<a href="mailto:martin.braun@kit.edu" \
target="_blank">martin.braun@kit.edu</a>&gt;</span><br>  Date: Fri, Sep 20, 2013 at \
6:08 PM<br>  Subject: Re: [Discuss-gnuradio] About setting the GRC block
            properties.<br>
            To: GNURadio Discussion List &lt;<a \
href="mailto:discuss-gnuradio@gnu.org" \
target="_blank">discuss-gnuradio@gnu.org</a>&gt;<br>  <br>
            <br>
            <div>On Fri, Sep 20, 2013 at 01:45:46PM -0500,
              Kevin wrote:<br>
              &gt; &quot;Virtual source&quot; block shows &quot;pre-ofdm&quot;, which \
means  I need to create some<br>
              &gt; blocks like &quot;Virtual sink&quot; labeled &quot;pre-ofdm&quot; \
before  this?<br>
              <br>
            </div>
            Don&#39;t worry about these blocks, they are just to make the
            Figures look<br>
            complete (or rather, to label the inputs).<br>
            <div><br>
              &gt;     &quot;I think you just need brackets around the
              carrier allocation table.<br>
              &gt;     Also, use Python&#39;s range() to make stuff more
              readable.&quot;<br>
              &gt;<br>
              &gt;<br>
              &gt; Can you explain it more specifically?  <br>
              &gt;<br>
              &gt; bracket at which section?  <br>
              <br>
            </div>
            You need more (). The carrier tables are vectors of vectors
            ((...), ...).<br>
            <div>&gt;<br>
              &gt; &quot;python&#39;s range()&quot; I have no idea what this is? <br>
              <br>
            </div>
            Look up the range() function in Python.<br>
            <div>
              <div><br>
                MB<br>
                <br>
                --<br>
                Karlsruhe Institute of Technology (KIT)<br>
                Communications Engineering Lab (CEL)<br>
                <br>
                Dipl.-Ing. Martin Braun<br>
                Research Associate<br>
                <br>
                Kaiserstraße 12<br>
                Building 05.01<br>
                76131 Karlsruhe<br>
                <br>
                Phone: <a href="tel:%2B49%20721%20608-43790" value="+4972160843790" \
                target="_blank">+49 721 608-43790</a><br>
                Fax: <a href="tel:%2B49%20721%20608-46071" value="+4972160846071" \
                target="_blank">+49 721 608-46071</a><br>
                <a href="http://www.cel.kit.edu" \
target="_blank">www.cel.kit.edu</a><br>  <br>
                KIT -- University of the State of Baden-Württemberg and<br>
                National Laboratory of the Helmholtz Association<br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Discuss-gnuradio mailing list<br>
            <a href="mailto:Discuss-gnuradio@gnu.org" \
                target="_blank">Discuss-gnuradio@gnu.org</a><br>
            <a href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a><br>  <br>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Discuss-gnuradio mailing list
<a href="mailto:Discuss-gnuradio@gnu.org" \
target="_blank">Discuss-gnuradio@gnu.org</a> <a \
href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a> </pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Discuss-gnuradio mailing list<br>
<a href="mailto:Discuss-gnuradio@gnu.org">Discuss-gnuradio@gnu.org</a><br>
<a href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a><br> \
<br></blockquote></div><br></div></div>



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

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