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. Disturbance in the force or Glitch in the matrix? (mepard)
   2. Using UHD.dll with LoadLibrary and GetProcAddress APIs
      (Peter Ivanov)
   3. Error running USRP2 (Azza Ben Mosbah)
   4. UHD and Borland !!! (Peter Ivanov)


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

Message: 1
Date: Wed, 6 Mar 2013 15:44:09 -0600
From: mepard <[email protected]>
To: [email protected]
Subject: [USRP-users] Disturbance in the force or Glitch in the
        matrix?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

I'm recording 4 channels of data to disk using two N210s connected with a MIMO 
cable. Each has its own ethernet connection to the host. The first has an LFRX 
and the 2nd a BasicRX (soon they'll each have an LFRX). The sample rate is 
12.5e6 samples/second. Here's the GRC-generated setup:

                self.uhd_usrp_source_0 = uhd.usrp_source(
                        device_addr="addr0=192.168.30.2,addr1=192.168.10.2",
                        stream_args=uhd.stream_args(
                                cpu_format="sc16",
                                channels=range(4),
                        ),
                )
                self.uhd_usrp_source_0.set_clock_source("internal", 0)
                self.uhd_usrp_source_0.set_subdev_spec("A:A A:B", 0)
                self.uhd_usrp_source_0.set_clock_source("mimo", 1)
                self.uhd_usrp_source_0.set_time_source("mimo", 1)
                self.uhd_usrp_source_0.set_subdev_spec("A:A A:B", 1)
                self.uhd_usrp_source_0.set_samp_rate(samp_rate)
                self.uhd_usrp_source_0.set_center_freq(0, 0)
                self.uhd_usrp_source_0.set_gain(0, 0)
                self.uhd_usrp_source_0.set_center_freq(0, 1)
                self.uhd_usrp_source_0.set_gain(0, 1)
                self.uhd_usrp_source_0.set_center_freq(0, 2)
                self.uhd_usrp_source_0.set_gain(0, 2)
                self.uhd_usrp_source_0.set_center_freq(0, 3)
                self.uhd_usrp_source_0.set_gain(0, 3)

Also, I've add the following at the beginning of uhd_usrp_source_impl::start() 
to shut off automatic DC offset correction:

                const std::complex<double>              no_offset (0.0, 0.0);
                set_dc_offset (no_offset, 0);

There's probably a better way, but I wanted to stick with GRC at the top level 
and didn't see anything obvious.

It's been working well, but in one run I noticed a very strange glitch, shown 
in increasing detail in the plots below (as you might guess, the blue line from 
a 60 Hz power line). The change happens from one sample to the next. At first I 
thought it dropped some samples, then I considered a sign swap, but it's more 
like a phase swap. One channel appears unaffected; it always stays above zero 
in this data. I've seen this in only one run. There was no error reported, nor 
any Os or Us or the like.

Any idea what might have caused this? One guy here wondered if it was a hiccup 
in the complex front end in the FPGA. If so, it happened in two FPGAs at the 
same time. I throw away the imaginary part during data collection so I can't go 
back and look.

-Marc







-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130306/df18c6e5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Glitch.png
Type: image/png
Size: 93488 bytes
Desc: not available
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130306/df18c6e5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Glitch, zoom 1.png
Type: image/png
Size: 83352 bytes
Desc: not available
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130306/df18c6e5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Glitch, zoom 2.png
Type: image/png
Size: 41480 bytes
Desc: not available
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130306/df18c6e5/attachment-0005.png>

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

Message: 2
Date: Thu, 7 Mar 2013 12:47:46 +0200 (EET)
From: Peter Ivanov <[email protected]>
To: [email protected]
Subject: [USRP-users] Using UHD.dll with LoadLibrary and
        GetProcAddress APIs
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"

  Hello,
  

  
Does anyone know how to create a usrp device handle, how to 
initialize the device and how to start downloading sampling through a Rx
 port?
  
I am wondering which is the order of invoking usrp api function
  

Thanks in advance!

Peter I.

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

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

Message: 3
Date: Thu, 7 Mar 2013 12:03:55 +0100
From: Azza Ben Mosbah <[email protected]>
To: [email protected]
Subject: [USRP-users] Error running USRP2
Message-ID:
        <CAH-1RoGwYBYq0i_dZf7ArD=_dm1kxoit8yxih0niredwr2l...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I am a new user of USRP. And I have a major problem : after installing my
USRP on ubuntu, I can't find it.

When I run :
*$ uhd_usrp_probe*
the result is :
*No devices found for -----> Empty Device Address
*
Even when I ping it :
*$ ping 192.168.10.2*
there is no response from the USRP.

And when I type :
*$ uhd_find_devices
*that returns :
*No UHD Devices Found*

Can anyone help me with this, please ?
Thanks in advance.

Best Regards,
Azza. B.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130307/e3c2dec1/attachment-0001.html>

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

Message: 4
Date: Thu, 7 Mar 2013 15:10:44 +0200 (EET)
From: Peter Ivanov <[email protected]>
To: [email protected]
Subject: [USRP-users] UHD and Borland !!!
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="utf-8"

Hello!

Does anyone know whether it is possible the UHD APIs could be called from 
Borland C++ Builder. 

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20130307/1e9eb6f8/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 31, Issue 7
*****************************************

Reply via email to