<div dir="ltr"><div>Hi Hunter,<br><br></div><div>My apologies to you and Marcus for the confusion.  I have looked at the UHD source code and the B210 can support different rates on each channel as well.  Your set up looks correct, but it is difficult to say what may be happening without further information.  Can you elaborate on what sample rates you are using, what master clock rate you are using, and exactly what errors you are seeing?<br><br></div><div>Regards,<br></div><div>Michael<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 22, 2015 at 11:46 AM, Marcus D. Leech via USRP-users <span dir="ltr"><<a href="mailto:usrp-users@lists.ettus.com" target="_blank">usrp-users@lists.ettus.com</a>></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"><span class="">
    <div>On 04/22/2015 02:05 PM, Marcus D. Leech
      via USRP-users wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div>On 03/17/2015 01:55 PM, Hunter
        DeJarnette wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">
          <div>
            <div>Marcus,<br>
              <br>
            </div>
            Thanks for your quick reply.  Is this supported on other
            USRP models?  Are there any plans for this to be supported
            on the B210?<br>
            <br>
          </div>
          Hunter<br>
        </div>
      </blockquote>
      No, there's no support for this in other models, either.  While
      it's conceptually possible, it isn't actually implemented,
      partially because there's<br>
        no way to setup the master clock (on, for example, the X310) in
      cases where there's no common master-clock rate that can produce
      both<br>
        sample rates.<br>
      <br>
      The best approach is to bring both streams in at the same rate,
      and resample the lower-rate stream.  If you use Gnu Radio, there
      are various<br>
        resamplers, including a rational and fractional resampler.<br>
      <br>
      <br>
    </blockquote></span>
    I was mis-lead by R&D, and have now been re-lead :)<br>
    <br>
    On the *X310 in particular*, you can have two different sample rates
    from the two "sides" but those streams *must* be packaged inside<br>
      separate multi_usrp objects,  and they both must, of course,
    satisfy the integer fraction rules with respect to the master clock
    rate.<br>
    <br>
    The streams inside a multi-usrp object are required to be at the
    same sample-rate, because a multi-usrp "object" does sample time<br>
      synchronization which is maximally awkward if the streams are
    running at two different rates....<div><div class="h5"><br>
    <br>
    <br>
    <blockquote type="cite">
      <blockquote type="cite">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Mar 17, 2015 at 12:51 PM, <span dir="ltr"><<a href="mailto:mleech@ripnet.com" target="_blank">mleech@ripnet.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
                <p>This is not a supported configuration on the B210.</p>
                <p>If you need different sample-rates on the two
                  streams, you'll have to re-sample in software.</p>
                <div>
                  <div>
                    <p> </p>
                    <p> </p>
                    <div> </div>
                    <p>On 2015-03-17 12:12, Hunter DeJarnette via
                      USRP-users wrote:</p>
                  </div>
                </div>
                <blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px">
                  <div>
                    <div>
                      <div dir="ltr">I'm working on an application with
                        the B210 where I would like to use both rx
                        dsp's, but at different sample rates. I
                        understand that each of the channels attached to
                        a single rx_streamer must have the same sample
                        rate. So to get around this issue I tried
                        instantiating two usrp sources each with a
                        different channel like so:
                        <p><span></span>        self.uhd_usrp_source_0 =
                          uhd.usrp_source(<br>
                                      ",".join(("type=b200", "")),<br>
                                      uhd.stream_args(<br>
                                          cpu_format="fc32",<br>
                                          channels=[0],<br>
                                      ),  <br>
                                  )   <br>
                                  self.uhd_usrp_source_1 =
                          uhd.usrp_source(<br>
                                      ",".join(("type=b200", "")),<br>
                                      uhd.stream_args(<br>
                                          cpu_format="fc32",<br>
                                          channels=[1],<br>
                                      ),  <br>
                                  )   <br>
                                 
                          self.uhd_usrp_source_0.set_subdev_spec("A:A
                          A:B", 0)<br>
                                 
                          self.uhd_usrp_source_0.set_samp_rate(samp_rate_0)<br>
                                 
                          self.uhd_usrp_source_1.set_samp_rate(samp_rate_1) </p>
                        <p>I found that when the sample rates for the
                          two sources are the same I get similar
                          performance to the using two channels on a
                          single usrp_source. However, when I try to use
                          different sample rates I start dropping
                          samples. Am I setting this up right?</p>
                        <p> </p>
                        <p>Thanks,</p>
                        Hunter</div>
                      <br>
                    </div>
                  </div>
                  <pre>_______________________________________________
USRP-users mailing list
<a href="mailto:USRP-users@lists.ettus.com" target="_blank">USRP-users@lists.ettus.com</a>
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" rel="noreferrer" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a>
</pre>
                </blockquote>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
USRP-users mailing list
<a href="mailto:USRP-users@lists.ettus.com" target="_blank">USRP-users@lists.ettus.com</a>
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
USRP-users mailing list<br>
<a href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a><br>
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
<br></blockquote></div><br></div>