Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. Re: Multiple IP Addresses Break MATLAB SDRU Package
      (Volkan YAZICI)
   2. Re: Multiple IP Addresses Break MATLAB SDRU Package (Ethem Sozer)
   3. Re: Multiple IP Addresses Break MATLAB SDRU Package
      (Volkan YAZICI)
   4. Re: Multiple IP Addresses Break MATLAB SDRU Package (Ethem Sozer)
   5. two LOs in USRP N210 with SBX when doing full duplex (gang li)
   6. Re: two LOs in USRP N210 with SBX when doing full duplex
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 21 Jan 2013 15:30:05 +0200
From: Volkan YAZICI <[email protected]>
To: Ethem Sozer <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU
        Package
Message-ID:
        <cap7ph7uvvq+c8tgukds0pqo+zcqpzj-o84qatwshma3xp1-...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Thanks Ethem for your quick response. This time we installed Matlab R2012b
and used targetinstaller to install USRP extensions. But the problem
of multiple
IP addresses still isn't solved. That is,

>> findsdru
linux; GNU C++ version 4.4.6; Boost_104400; UHD_003.002.003-vendor

---------- see libuhd version information above this line ----------

ans =

192.168.10.201,192.168.10.202,192.168.10.201,192.168.10.202

In addition to this problem, we also cannot change the IP addresses of the
devices. That is, SDRu by default uses 192.168.10.2, but our devices are
set to 192.168.10.{201,202}. And h =
comm.SDRuTransmitter('192.168.10.201')did not work:

>> h = comm.SDRuTransmitter('192.168.10.2')
Error using StringSet.checkValues (line 119)
Strings must be case-insensitive unique.

Error in
/home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.setValues
(line 101)

Error in
/home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.changeValues
(line 89)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
(line 732)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
(line 187)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/SDRuTransmitter.p>SDRuTransmitter.SDRuTransmitter
(line 170)

We are totally stuck in this USRP+MATLAB jam, any helps will be
*really*appreciated!

Best.
 And


On Mon, Jan 7, 2013 at 4:25 PM, Ethem Sozer <[email protected]>wrote:

>  Hi Volkan,****
>
> ** **
>
> This problem is fixed in 12a. Also, please make sure that the UHD version
> on the radio matches the MATLAB required UHD version.****
>
> ** **
>
> Regards,****
>
> Ethem****
>
> ** **
>
> *From:* USRP-users [mailto:[email protected]] *On Behalf
> Of *Volkan YAZICI
> *Sent:* Monday, January 07, 2013 7:03 AM
> *To:* [email protected]
> *Subject:* [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package***
> *
>
> ** **
>
> Hi!****
>
> In the result of "findsdru" command, we observe multiple (two) IP
> addresses for each device. Consider the below network.****
>
> H1 [eth0]
>       |
>       |10.100.92.17/24
>       |192.168.10.17/24
>       |
>       +****
>
>    Unmanaged +---------- 192.168.10.201 -- USRP2****
>
>     Switch   +---------- 192.168.10.202 -- USRP2****
>
>       +
>       |
>       |10.100.92.18/24
>       |192.168.10.18/24
>       |****
>
> H2 [eth0]****
>
>
> Here USRP2 devices are installed usrp2_fw.bin and usrp2_fpga.bin bundled
> with uhd-images_003.005.000-release.zip archive. H1 and H2 run MATLAB
> R2011b with USRP? Hardware Binary Release 
> 003.002.003<http://files.ettus.com/binaries/uhd_stable/releases/uhd_003.002.003-release/images-only/>installed.
>  When I type findsdru at the MATLAB command prompt it tells me
> that****
>
> >> findsdru****
>
> linux; GNU C++ version 4.3.4; Boost_104400; UHD_003.002.003-vendor****
>
>  ****
>
> ---------- see libuhd version information above this line ----------****
>
>  ****
>
> ans =****
>
>  ****
>
> 192.168.10.202,192.168.10.201,192.168.10.201,192.168.10.202****
>
> ** **
>
> Per see, it observes multiple IP addresses from each device. Further, when
> I try to run a simple demo bundled with the SDRU package it fails as
> follows.****
>
> >> sdruFMStereoReceiver****
>
>  ****
>
> stereoFM = ****
>
>  ****
>
>          AudioSampleRate: 48000****
>
>     USRPDecimationFactor: 500****
>
>              FrameLength: 4000****
>
>                 USRPGain: 30****
>
>      RCDemodInterpFactor: 19****
>
>       RCDemodDecimFactor: 25****
>
>         RCDemodNumerator: [1x600 double]****
>
>                   FsData: 152000****
>
>                peak19fil: [1x1 dfilt.df2sos]****
>
>      RCAudioInterpFactor: 6****
>
>       RCAudioDecimFactor: 19****
>
>                    LP15k: [1x501 double]****
>
>                    Deemp: [1x1 dfilt.df2sos]****
>
>                 StopTime: 10****
>
>           AudioFrameTime: 0.0200****
>
>  ****
>
> Error using StringSet.checkValues (line 119)****
>
> Strings must be case-insensitive unique.****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.setValues
> ****
>
> (line 101)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.changeValues
> ****
>
> (line 89)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
> ****
>
> (line 615)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
> ****
>
> (line 146)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/usrp/out/commusrp/+comm/SDRuReceiver.p>SDRuReceiver.SDRuReceiver
> ****
>
> (line 185)****
>
>  ****
>
>  ****
>
> Error in sdruFMStereoReceiver (line 137)****
>
>   hSDRu = comm.SDRuReceiver('192.168.10.202', ...****
>
> ** **
>
> Any ideas? What might be going wrong? How can I fix the problem?
>
> ****
>
> Best.****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130121/6963d5da/attachment-0001.html>

------------------------------

Message: 2
Date: Mon, 21 Jan 2013 15:21:36 +0000
From: Ethem Sozer <[email protected]>
To: Volkan YAZICI <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU
        Package
Message-ID:
        <93d53efe258f7b40996b3005458c751d1cc00...@exmb-01-ah.ad.mathworks.com>
Content-Type: text/plain; charset="us-ascii"

Hi Volkan,

I am sorry but it seems like this problem is actually resolved in 13a. If you 
have a current license, you should be able to get the prerelease for 13a from 
the MathWorks website.

One possible work around is to assign different subnets to each USRP. For 
example, you can try to assign 192.168.10.2 and 192.168.20.2. I am not sure if 
this is possible with a switch, but you can do it with two Ethernet cards.

Another alternative is to contact MathWorks support ([email protected]) 
directly and see if they can provide another workaround.

Regards,
Ethem


From: Volkan YAZICI [mailto:[email protected]]
Sent: Monday, January 21, 2013 8:30 AM
To: Ethem Sozer
Cc: [email protected]
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package

Thanks Ethem for your quick response. This time we installed Matlab R2012b and 
used targetinstaller to install USRP extensions. But the problem of multiple IP 
addresses still isn't solved. That is,
>> findsdru
linux; GNU C++ version 4.4.6; Boost_104400; UHD_003.002.003-vendor

---------- see libuhd version information above this line ----------

ans =

192.168.10.201,192.168.10.202,192.168.10.201,192.168.10.202

In addition to this problem, we also cannot change the IP addresses of the 
devices. That is, SDRu by default uses 192.168.10.2, but our devices are set to 
192.168.10.{201,202}. And h = comm.SDRuTransmitter('192.168.10.201') did not 
work:
>> h = comm.SDRuTransmitter('192.168.10.2')
Error using StringSet.checkValues (line 119)
Strings must be case-insensitive unique.

Error in
/home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.setValues
(line 101)

Error in
/home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.changeValues
(line 89)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
(line 732)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
(line 187)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/SDRuTransmitter.p>SDRuTransmitter.SDRuTransmitter
(line 170)

We are totally stuck in this USRP+MATLAB jam, any helps will be really 
appreciated!

Best.
 And

On Mon, Jan 7, 2013 at 4:25 PM, Ethem Sozer 
<[email protected]<mailto:[email protected]>> wrote:
Hi Volkan,

This problem is fixed in 12a. Also, please make sure that the UHD version on 
the radio matches the MATLAB required UHD version.

Regards,
Ethem

From: USRP-users 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Volkan YAZICI
Sent: Monday, January 07, 2013 7:03 AM
To: [email protected]<mailto:[email protected]>
Subject: [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package

Hi!
In the result of "findsdru" command, we observe multiple (two) IP addresses for 
each device. Consider the below network.
H1 [eth0]
      |
      |10.100.92.17/24<http://10.100.92.17/24>
      |192.168.10.17/24<http://192.168.10.17/24>
      |
      +
   Unmanaged +---------- 192.168.10.201 -- USRP2
    Switch   +---------- 192.168.10.202 -- USRP2
      +
      |
      |10.100.92.18/24<http://10.100.92.18/24>
      |192.168.10.18/24<http://192.168.10.18/24>
      |
H2 [eth0]

Here USRP2 devices are installed usrp2_fw.bin and usrp2_fpga.bin bundled with 
uhd-images_003.005.000-release.zip archive. H1 and H2 run MATLAB R2011b with 
USRP(r) Hardware Binary Release 
003.002.003<http://files.ettus.com/binaries/uhd_stable/releases/uhd_003.002.003-release/images-only/>
 installed. When I type findsdru at the MATLAB command prompt it tells me that
>> findsdru
linux; GNU C++ version 4.3.4; Boost_104400; UHD_003.002.003-vendor

---------- see libuhd version information above this line ----------

ans =

192.168.10.202,192.168.10.201,192.168.10.201,192.168.10.202

Per see, it observes multiple IP addresses from each device. Further, when I 
try to run a simple demo bundled with the SDRU package it fails as follows.
>> sdruFMStereoReceiver

stereoFM =

         AudioSampleRate: 48000
    USRPDecimationFactor: 500
             FrameLength: 4000
                USRPGain: 30
     RCDemodInterpFactor: 19
      RCDemodDecimFactor: 25
        RCDemodNumerator: [1x600 double]
                  FsData: 152000
               peak19fil: [1x1 dfilt.df2sos]
     RCAudioInterpFactor: 6
      RCAudioDecimFactor: 19
                   LP15k: [1x501 double]
                   Deemp: [1x1 dfilt.df2sos]
                StopTime: 10
          AudioFrameTime: 0.0200

Error using StringSet.checkValues (line 119)
Strings must be case-insensitive unique.

Error in
/usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.setValues
(line 101)


Error in
/usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.changeValues
(line 89)


Error in
/usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
(line 615)


Error in
/usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
(line 146)


Error in
/usr/local/MATLAB/usrp/out/commusrp/+comm/SDRuReceiver.p>SDRuReceiver.SDRuReceiver
(line 185)


Error in sdruFMStereoReceiver (line 137)
  hSDRu = comm.SDRuReceiver('192.168.10.202', ...

Any ideas? What might be going wrong? How can I fix the problem?
Best.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130121/8dc0caed/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 21 Jan 2013 17:29:29 +0200
From: Volkan YAZICI <[email protected]>
To: Ethem Sozer <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU
        Package
Message-ID:
        <cap7ph7sk9sejbfo4gmryqjgqfuvhkqz+vbgs0gy_xdfbr+n...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello Ethem,

With R2013a, will targetinstaller suffice for the proper installation? Will
we need any additional source code, binary, etc.
installations/compilations/configurations?


Best.


On Mon, Jan 21, 2013 at 5:21 PM, Ethem Sozer <[email protected]>wrote:

>  Hi Volkan,****
>
> ** **
>
> I am sorry but it seems like this problem is actually resolved in 13a. If
> you have a current license, you should be able to get the prerelease for
> 13a from the MathWorks website. ****
>
> ** **
>
> One possible work around is to assign different subnets to each USRP. For
> example, you can try to assign 192.168.10.2 and 192.168.20.2. I am not sure
> if this is possible with a switch, but you can do it with two Ethernet
> cards. ****
>
> ** **
>
> Another alternative is to contact MathWorks support ([email protected])
> directly and see if they can provide another workaround.****
>
> ** **
>
> Regards,****
>
> Ethem****
>
> ** **
>
> ** **
>
> *From:* Volkan YAZICI [mailto:[email protected]]
> *Sent:* Monday, January 21, 2013 8:30 AM
> *To:* Ethem Sozer
> *Cc:* [email protected]
> *Subject:* Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU
> Package****
>
> ** **
>
> Thanks Ethem for your quick response. This time we installed Matlab R2012b
> and used targetinstaller to install USRP extensions. But the problem of
> multiple IP addresses still isn't solved. That is,****
>
> >> findsdru****
>
> linux; GNU C++ version 4.4.6; Boost_104400; UHD_003.002.003-vendor****
>
>  ****
>
> ---------- see libuhd version information above this line ----------****
>
>  ****
>
> ans =****
>
>  ****
>
> 192.168.10.201,192.168.10.202,192.168.10.201,192.168.10.202****
>
> ** **
>
> In addition to this problem, we also cannot change the IP addresses of the
> devices. That is, SDRu by default uses 192.168.10.2, but our devices are
> set to 192.168.10.{201,202}. And h =
> comm.SDRuTransmitter('192.168.10.201') did not work:****
>
> >> h = comm.SDRuTransmitter('192.168.10.2')****
>
> Error using StringSet.checkValues (line 119)****
>
> Strings must be case-insensitive unique.****
>
>  ****
>
> Error in****
>
>
> /home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.setValues
> ****
>
> (line 101)****
>
>  ****
>
> Error in****
>
>
> /home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.changeValues
> ****
>
> (line 89)****
>
>  ****
>
> Error in****
>
>
> /home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
> ****
>
> (line 732)****
>
>  ****
>
> Error in****
>
>
> /home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
> ****
>
> (line 187)****
>
>  ****
>
> Error in****
>
>
> /home/vyazici/matlab/targets/commusrp/+comm/SDRuTransmitter.p>SDRuTransmitter.SDRuTransmitter
> ****
>
> (line 170)****
>
> ** **
>
> We are totally stuck in this USRP+MATLAB jam, any helps will be 
> *really*appreciated!
> ****
>
> ** **
>
> Best.****
>
>  And ****
>
> ** **
>
> On Mon, Jan 7, 2013 at 4:25 PM, Ethem Sozer <[email protected]>
> wrote:****
>
> Hi Volkan,****
>
>  ****
>
> This problem is fixed in 12a. Also, please make sure that the UHD version
> on the radio matches the MATLAB required UHD version.****
>
>  ****
>
> Regards,****
>
> Ethem****
>
>  ****
>
> *From:* USRP-users [mailto:[email protected]] *On Behalf
> Of *Volkan YAZICI
> *Sent:* Monday, January 07, 2013 7:03 AM
> *To:* [email protected]
> *Subject:* [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package***
> *
>
>  ****
>
> Hi!****
>
> In the result of "findsdru" command, we observe multiple (two) IP
> addresses for each device. Consider the below network.****
>
> H1 [eth0]
>       |
>       |10.100.92.17/24
>       |192.168.10.17/24
>       |
>       +****
>
>    Unmanaged +---------- 192.168.10.201 -- USRP2****
>
>     Switch   +---------- 192.168.10.202 -- USRP2****
>
>       +
>       |
>       |10.100.92.18/24
>       |192.168.10.18/24
>       |****
>
> H2 [eth0]****
>
>
> Here USRP2 devices are installed usrp2_fw.bin and usrp2_fpga.bin bundled
> with uhd-images_003.005.000-release.zip archive. H1 and H2 run MATLAB
> R2011b with USRP? Hardware Binary Release 
> 003.002.003<http://files.ettus.com/binaries/uhd_stable/releases/uhd_003.002.003-release/images-only/>installed.
>  When I type findsdru at the MATLAB command prompt it tells me
> that****
>
> >> findsdru****
>
> linux; GNU C++ version 4.3.4; Boost_104400; UHD_003.002.003-vendor****
>
>  ****
>
> ---------- see libuhd version information above this line ----------****
>
>  ****
>
> ans =****
>
>  ****
>
> 192.168.10.202,192.168.10.201,192.168.10.201,192.168.10.202****
>
>  ****
>
> Per see, it observes multiple IP addresses from each device. Further, when
> I try to run a simple demo bundled with the SDRU package it fails as
> follows.****
>
> >> sdruFMStereoReceiver****
>
>  ****
>
> stereoFM = ****
>
>  ****
>
>          AudioSampleRate: 48000****
>
>     USRPDecimationFactor: 500****
>
>              FrameLength: 4000****
>
>                 USRPGain: 30****
>
>      RCDemodInterpFactor: 19****
>
>       RCDemodDecimFactor: 25****
>
>         RCDemodNumerator: [1x600 double]****
>
>                   FsData: 152000****
>
>                peak19fil: [1x1 dfilt.df2sos]****
>
>      RCAudioInterpFactor: 6****
>
>       RCAudioDecimFactor: 19****
>
>                    LP15k: [1x501 double]****
>
>                    Deemp: [1x1 dfilt.df2sos]****
>
>                 StopTime: 10****
>
>           AudioFrameTime: 0.0200****
>
>  ****
>
> Error using StringSet.checkValues (line 119)****
>
> Strings must be case-insensitive unique.****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.setValues
> ****
>
> (line 101)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.changeValues
> ****
>
> (line 89)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
> ****
>
> (line 615)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
> ****
>
> (line 146)****
>
>  ****
>
>  ****
>
> Error in****
>
>
> /usr/local/MATLAB/usrp/out/commusrp/+comm/SDRuReceiver.p>SDRuReceiver.SDRuReceiver
> ****
>
> (line 185)****
>
>  ****
>
>  ****
>
> Error in sdruFMStereoReceiver (line 137)****
>
>   hSDRu = comm.SDRuReceiver('192.168.10.202', ...****
>
>  ****
>
> Any ideas? What might be going wrong? How can I fix the problem?****
>
> Best.****
>
>  ****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130121/e7063694/attachment-0001.html>

------------------------------

Message: 4
Date: Mon, 21 Jan 2013 15:32:35 +0000
From: Ethem Sozer <[email protected]>
To: Volkan YAZICI <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU
        Package
Message-ID:
        <93d53efe258f7b40996b3005458c751d1cc01...@exmb-01-ah.ad.mathworks.com>
Content-Type: text/plain; charset="us-ascii"

targetinstaller should download and install all required software. You can also 
use the "Add-Ons" popup on the MATLAB desktop and select "Get Hardware Support 
Packages", which will show you all available support packages, including USRP.
Ethem

From: Volkan YAZICI [mailto:[email protected]]
Sent: Monday, January 21, 2013 10:29 AM
To: Ethem Sozer
Cc: [email protected]
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package

Hello Ethem,

With R2013a, will targetinstaller suffice for the proper installation? Will we 
need any additional source code, binary, etc. 
installations/compilations/configurations?


Best.

On Mon, Jan 21, 2013 at 5:21 PM, Ethem Sozer 
<[email protected]<mailto:[email protected]>> wrote:
Hi Volkan,

I am sorry but it seems like this problem is actually resolved in 13a. If you 
have a current license, you should be able to get the prerelease for 13a from 
the MathWorks website.

One possible work around is to assign different subnets to each USRP. For 
example, you can try to assign 192.168.10.2 and 192.168.20.2. I am not sure if 
this is possible with a switch, but you can do it with two Ethernet cards.

Another alternative is to contact MathWorks support 
([email protected]<mailto:[email protected]>) directly and see if they 
can provide another workaround.

Regards,
Ethem


From: Volkan YAZICI 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Monday, January 21, 2013 8:30 AM
To: Ethem Sozer
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package

Thanks Ethem for your quick response. This time we installed Matlab R2012b and 
used targetinstaller to install USRP extensions. But the problem of multiple IP 
addresses still isn't solved. That is,
>> findsdru
linux; GNU C++ version 4.4.6; Boost_104400; UHD_003.002.003-vendor

---------- see libuhd version information above this line ----------

ans =

192.168.10.201,192.168.10.202,192.168.10.201,192.168.10.202

In addition to this problem, we also cannot change the IP addresses of the 
devices. That is, SDRu by default uses 192.168.10.2, but our devices are set to 
192.168.10.{201,202}. And h = comm.SDRuTransmitter('192.168.10.201') did not 
work:
>> h = comm.SDRuTransmitter('192.168.10.2')
Error using StringSet.checkValues (line 119)
Strings must be case-insensitive unique.

Error in
/home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.setValues
(line 101)

Error in
/home/vyazici/matlab/R2012b/toolbox/matlab/system/+matlab/+system/StringSet.p>StringSet.changeValues
(line 89)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
(line 732)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
(line 187)

Error in
/home/vyazici/matlab/targets/commusrp/+comm/SDRuTransmitter.p>SDRuTransmitter.SDRuTransmitter
(line 170)

We are totally stuck in this USRP+MATLAB jam, any helps will be really 
appreciated!

Best.
 And

On Mon, Jan 7, 2013 at 4:25 PM, Ethem Sozer 
<[email protected]<mailto:[email protected]>> wrote:
Hi Volkan,

This problem is fixed in 12a. Also, please make sure that the UHD version on 
the radio matches the MATLAB required UHD version.

Regards,
Ethem

From: USRP-users 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Volkan YAZICI
Sent: Monday, January 07, 2013 7:03 AM
To: [email protected]<mailto:[email protected]>
Subject: [USRP-users] Multiple IP Addresses Break MATLAB SDRU Package

Hi!
In the result of "findsdru" command, we observe multiple (two) IP addresses for 
each device. Consider the below network.
H1 [eth0]
      |
      |10.100.92.17/24<http://10.100.92.17/24>
      |192.168.10.17/24<http://192.168.10.17/24>
      |
      +
   Unmanaged +---------- 192.168.10.201 -- USRP2
    Switch   +---------- 192.168.10.202 -- USRP2
      +
      |
      |10.100.92.18/24<http://10.100.92.18/24>
      |192.168.10.18/24<http://192.168.10.18/24>
      |
H2 [eth0]

Here USRP2 devices are installed usrp2_fw.bin and usrp2_fpga.bin bundled with 
uhd-images_003.005.000-release.zip archive. H1 and H2 run MATLAB R2011b with 
USRP(r) Hardware Binary Release 
003.002.003<http://files.ettus.com/binaries/uhd_stable/releases/uhd_003.002.003-release/images-only/>
 installed. When I type findsdru at the MATLAB command prompt it tells me that
>> findsdru
linux; GNU C++ version 4.3.4; Boost_104400; UHD_003.002.003-vendor

---------- see libuhd version information above this line ----------

ans =

192.168.10.202,192.168.10.201,192.168.10.201,192.168.10.202

Per see, it observes multiple IP addresses from each device. Further, when I 
try to run a simple demo bundled with the SDRU package it fails as follows.
>> sdruFMStereoReceiver

stereoFM =

         AudioSampleRate: 48000
    USRPDecimationFactor: 500
             FrameLength: 4000
                USRPGain: 30
     RCDemodInterpFactor: 19
      RCDemodDecimFactor: 25
        RCDemodNumerator: [1x600 double]
                  FsData: 152000
               peak19fil: [1x1 dfilt.df2sos]
     RCAudioInterpFactor: 6
      RCAudioDecimFactor: 19
                   LP15k: [1x501 double]
                   Deemp: [1x1 dfilt.df2sos]
                StopTime: 10
          AudioFrameTime: 0.0200

Error using StringSet.checkValues (line 119)
Strings must be case-insensitive unique.

Error in
/usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.setValues
(line 101)


Error in
/usr/local/MATLAB/R2011b/toolbox/shared/system/+matlab/+system/StringSet.p>StringSet.changeValues
(line 89)


Error in
/usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.updateIPAddressSet
(line 615)


Error in
/usr/local/MATLAB/usrp/out/commusrp/+comm/+internal/SDRuBase.p>SDRuBase.SDRuBase
(line 146)


Error in
/usr/local/MATLAB/usrp/out/commusrp/+comm/SDRuReceiver.p>SDRuReceiver.SDRuReceiver
(line 185)


Error in sdruFMStereoReceiver (line 137)
  hSDRu = comm.SDRuReceiver('192.168.10.202', ...

Any ideas? What might be going wrong? How can I fix the problem?
Best.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130121/78b13e96/attachment-0001.html>

------------------------------

Message: 5
Date: Mon, 21 Jan 2013 11:39:38 -0500
From: gang li <[email protected]>
To: [email protected]
Subject: [USRP-users] two LOs in USRP N210 with SBX when doing full
        duplex
Message-ID:
        <cakro2l2qejhfcctcbsk7sysemyfg4nc1zos4-wdp7orcgzd...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi, All,

Based on what I know, SBX has two LOs for full duplex and they both
use the mother board's clock as reference. Is that right? So I am
wondering whether the phases of these two LOs are the same. If they
are not the same phase, will the offset be a constant? In my
experiments, I found that the phase randomly changes when i was doing
full duplex. Any thoughts? Thanks.

Best,
Gang



------------------------------

Message: 6
Date: Mon, 21 Jan 2013 11:53:32 -0500
From: [email protected]
To: <[email protected]>
Subject: Re: [USRP-users] two LOs in USRP N210 with SBX when doing
        full    duplex
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

 

On 21 Jan 2013 11:39, gang li wrote: 

> Hi, All,
> 
> Based on what
I know, SBX has two LOs for full duplex and they both
> use the mother
board's clock as reference. Is that right? So I am
> wondering whether
the phases of these two LOs are the same. If they
> are not the same
phase, will the offset be a constant? In my
> experiments, I found that
the phase randomly changes when i was doing
> full duplex. Any thoughts?
Thanks.
> 
> Best,
> Gang
> 
>
_______________________________________________
> USRP-users mailing
list
> [email protected]
>
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Two
independent frac-N synthesizers. They're be coherent with respect to
each other, but there'll be an unpredictable phase offset between them
every time they're tuned. 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130121/c081b047/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


------------------------------

End of USRP-users Digest, Vol 29, Issue 21
******************************************

Reply via email to