On 08/21/2018 01:46 PM, Nicole Bienert wrote:
Sweet, that helped. I ran several times at different BWs. I ran it at 10MHz roughly 8 times, but it overflowed once. Under my previous settings it would overflow every time at 10MHz. I still can't go higher than that reliably.
Running in  a VM, I would not expect super performance from USB.



_Here is an example of when 10MHz worked:_
nlb5224@nlb5224-VirtualBox:~/workarea-uhd/uhd/host/examples/rx_samples_to_file3/build$ ./rx_samples_to_file --null --freq 300e6 --rate 10e6 --ant RX2 --gain 75 --bw 10e6 --type float --args "type=b200,num_recv_frames=256" [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.11.0.HEAD-0-ga1b5c4ae [WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam

Creating the usrp device with: type=b200,num_recv_frames=256...
[INFO] [B200] Detected Device: B205mini
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [AD936X] Performing CODEC loopback test...
[INFO] [AD936X] CODEC loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
Using Device: Single USRP:
  Device: B-Series Device
  Mboard 0: B205mini
  RX Channel: 0
    RX DSP: 0
    RX Dboard: A
    RX Subdev: FE-RX1
  TX Channel: 0
    TX DSP: 0
    TX Dboard: A
    TX Subdev: FE-TX1

Setting RX Rate: 10.000000 Msps...
[INFO] [B200] Asking for clock rate 40.000000 MHz...
[INFO] [B200] Actually got clock rate 40.000000 MHz.
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
Actual RX Rate: 10.000000 Msps...

Setting RX Freq: 300.000000 MHz...
Actual RX Freq: 300.000000 MHz...

Setting RX Gain: 75.000000 dB...
Actual RX Gain: 75.000000 dB...

Setting RX Bandwidth: 10.000000 MHz...
Actual RX Bandwidth: 10.000000 MHz...

Waiting for "lo_locked": ++++++++++ locked.

Press Ctrl + C to stop streaming...
^C
Done!


_Here is the time that 10MHz didn't work:_

nlb5224@nlb5224-VirtualBox:~/workarea-uhd/uhd/host/examples/rx_samples_to_file3/build$ ./rx_samples_to_file --freq 300e6 --rate 10e6 --ant RX2 --gain 75 --bw 10e6 --type float --args "type=b200,num_recv_frames=256" [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.11.0.HEAD-0-ga1b5c4ae [WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam

Creating the usrp device with: type=b200,num_recv_frames=256...
[INFO] [B200] Detected Device: B205mini
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [AD936X] Performing CODEC loopback test...
[INFO] [AD936X] CODEC loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
Using Device: Single USRP:
  Device: B-Series Device
  Mboard 0: B205mini
  RX Channel: 0
    RX DSP: 0
    RX Dboard: A
    RX Subdev: FE-RX1
  TX Channel: 0
    TX DSP: 0
    TX Dboard: A
    TX Subdev: FE-TX1

Setting RX Rate: 10.000000 Msps...
[INFO] [B200] Asking for clock rate 40.000000 MHz...
[INFO] [B200] Actually got clock rate 40.000000 MHz.
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
Actual RX Rate: 10.000000 Msps...

Setting RX Freq: 300.000000 MHz...
Actual RX Freq: 300.000000 MHz...

Setting RX Gain: 75.000000 dB...
Actual RX Gain: 75.000000 dB...

Setting RX Bandwidth: 10.000000 MHz...
Actual RX Bandwidth: 10.000000 MHz...

Waiting for "lo_locked": ++++++++++ locked.

Press Ctrl + C to stop streaming...
OGot an overflow indication. Please consider the following:
  Your write medium must sustain a rate of 80.000000MB/s.
  Dropped samples will not be written to the file.
  Please modify this example for your purposes.
  This message will not appear again.
^C
Done!






On Tue, Aug 21, 2018 at 10:20 AM Marcus D. Leech <[email protected] <mailto:[email protected]>> wrote:

    On 08/21/2018 01:15 PM, Nicole Bienert wrote:
    > Woops, that was silly. It still has the overflow error.
    >
    >
    
nlb5224@nlb5224-VirtualBox:~/workarea-uhd/uhd/host/examples/rx_samples_to_file3/build$

    > ./rx_samples_to_file --null --freq 300e6 --rate 5e6 --ant RX2
    --gain
    > 75 --bw 5e6 --type float
    > [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501;
    > UHD_3.11.0.HEAD-0-ga1b5c4ae
    > [WARNING] [UHD] Unable to set the thread priority. Performance
    may be
    > negatively affected.
    > Please see the general application notes in the manual for
    instructions.
    > EnvironmentError: OSError: error in pthread_setschedparam
    >
    > Creating the usrp device with: ...
    > [INFO] [B200] Detected Device: B205mini
    > [INFO] [B200] Operating over USB 3.
    > [INFO] [B200] Initialize CODEC control...
    > [INFO] [B200] Initialize Radio control...
    > [INFO] [B200] Performing register loopback test...
    > [INFO] [B200] Register loopback test passed
    > [INFO] [AD936X] Performing CODEC loopback test...
    > [INFO] [AD936X] CODEC loopback test passed
    > [INFO] [B200] Setting master clock rate selection to 'automatic'.
    > [INFO] [B200] Asking for clock rate 16.000000 MHz...
    > [INFO] [B200] Actually got clock rate 16.000000 MHz.
    > [INFO] [CORES] Performing timer loopback test...
    > [INFO] [CORES] Timer loopback test passed
    > Using Device: Single USRP:
    >   Device: B-Series Device
    >   Mboard 0: B205mini
    >   RX Channel: 0
    >     RX DSP: 0
    >     RX Dboard: A
    >     RX Subdev: FE-RX1
    >   TX Channel: 0
    >     TX DSP: 0
    >     TX Dboard: A
    >     TX Subdev: FE-TX1
    >
    > Setting RX Rate: 5.000000 Msps...
    > [INFO] [B200] Asking for clock rate 40.000000 MHz...
    > [INFO] [B200] Actually got clock rate 40.000000 MHz.
    > [INFO] [CORES] Performing timer loopback test...
    > [INFO] [CORES] Timer loopback test passed
    > Actual RX Rate: 5.000000 Msps...
    >
    > Setting RX Freq: 300.000000 MHz...
    > Actual RX Freq: 300.000000 MHz...
    >
    > Setting RX Gain: 75.000000 dB...
    > Actual RX Gain: 75.000000 dB...
    >
    > Setting RX Bandwidth: 5.000000 MHz...
    > Actual RX Bandwidth: 5.000000 MHz...
    >
    > Waiting for "lo_locked": ++++++++++ locked.
    >
    > Press Ctrl + C to stop streaming...
    > OGot an overflow indication. Please consider the following:
    >   Your write medium must sustain a rate of 40.000000MB/s.
    >   Dropped samples will not be written to the file.
    >   Please modify this example for your purposes.
    >   This message will not appear again.
    > ^C
    > Done!
    Try adding:

    --args "type=b200,num_recv_frames=256"

    To see if that changes the behavior



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

Reply via email to