Hi,

My understanding is that remote streaming is available in UHD>=4.3 via:

https://files.ettus.com/manual/page_stream.html#stream_remote

However, I can not get it working using the example python scripts provided, 
and also programmatically via C++.

I am using USRP-2974 with UHD host @ 192.168.30.1, USRP @ 192.168.30.2, and I 
created a secondary ethernet interface (linux) with address 192.168.30.30 on 
the same interface (network) as UHD host.

Ultimately I want to do this with C++, but I tried it with the example 
“remote_rx.py” to rule out problems with my code.

Can you help me figure out why this doesn’t work?

Thanks,

—Cy

—————-Below using python scripts 1st attempt:————————————————————-

cjohnson@demo:\~/ettus_repo/uhd/host/examples/python$ ./remote_rx.py 
--rate=200e6 --freq=1223e6 --gain=20 --dest-addr=192.168.30.30 --dest-port=54321

\[INFO\] \[UHD\] linux; GNU C++ version 11.3.0; Boost_107400; 
UHD_4.4.0.cjohnson-fb-sdrx-68-g02558b69

\[INFO\] \[X300\] X300 initialization sequence...

\[INFO\] \[X300\] Maximum frame size: 8000 bytes.

\[INFO\] \[GPS\] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a

\[INFO\] \[X300\] Radio 1x clock: 200 MHz

Requesting sampling rate 200.0 Msps...

Using sampling rate: 200.0 Msps.

Requesting center frequency 1223.0 MHz...

Actual center frequency: 1223.0000032784735 MHz.

Requesting gain 20.0 dB...

Actual gain: 20.0 dB.

Selected 0 RX channels.

Generating RX streamer object...

\[ERROR\] \[RFNOC::LSM\] Cannot identify transport adapter 0 on route to EPID 3

Traceback (most recent call last):

  File "/home/cjohnson/ettus_repo/uhd/host/examples/python/./remote_rx.py", 
line 122, in <module>

    sys.exit(main())

  File "/home/cjohnson/ettus_repo/uhd/host/examples/python/./remote_rx.py", 
line 102, in main

    rx_streamer = usrp.get_rx_stream(stream_args)

RuntimeError: RuntimeError: Cannot identify transport adapter 0 on route to 
EPID 3

—————-Below using python scripts 2nd attempt:————————————————————-

cjohnson@demo:\~/ettus_repo/uhd/host/examples/python$ ./remote_rx.py 
--rate=200e6 --freq=1223e6 --gain=20 --dest-addr=192.168.30.30 
--dest-port=54321 --adapter=sfp1

\[INFO\] \[UHD\] linux; GNU C++ version 11.3.0; Boost_107400; 
UHD_4.4.0.cjohnson-fb-sdrx-68-g02558b69

\[INFO\] \[X300\] X300 initialization sequence...

\[INFO\] \[X300\] Maximum frame size: 8000 bytes.

\[INFO\] \[GPS\] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a

\[INFO\] \[X300\] Radio 1x clock: 200 MHz

Requesting sampling rate 200.0 Msps...

Using sampling rate: 200.0 Msps.

Requesting center frequency 1223.0 MHz...

Actual center frequency: 1223.0000032784735 MHz.

Requesting gain 20.0 dB...

Actual gain: 20.0 dB.

Selected 0 RX channels.

Generating RX streamer object...

\[ERROR\] \[RFNOC::LSM\] Requested remote UDP streaming, but transport adapter 
sfp1 does not support it!

Traceback (most recent call last):

  File "/home/cjohnson/ettus_repo/uhd/host/examples/python/./remote_rx.py", 
line 122, in <module>

    sys.exit(main())

  File "/home/cjohnson/ettus_repo/uhd/host/examples/python/./remote_rx.py", 
line 102, in main

    rx_streamer = usrp.get_rx_stream(stream_args)

RuntimeError: RuntimeError: Requested remote UDP streaming, but transport 
adapter sfp1 does not support it!

—————-Below using c++ attempt:————————————————————-

Got the following errors after setting some variables and running on the 
command line.  Below is the code and the associated error.

stream_args.args = "dest_addr=192.168.30.30"; // Gives error "Error: 
ValueError: Missing \`dest_port' argument for remote streaming destination!"

stream_args.args = "dest_addr=192.168.30.30,dest_port=12345"; // Setup second 
interface on host. Gives error "\[ERROR\] \[RFNOC::LSM\] Cannot identify 
transport adapter 0 on route to EPID 3"

stream_args.args = "adapter=sfp1,dest_addr=192.168.30.30,dest_port=12345"; // 
Gives error "\[ERROR\] \[RFNOC::LSM\] Requested remote UDP streaming, but 
transport adapter sfp1 does not support it!"

—————-Configuration using probe:————————————————————-

/usr/bin/uhd_usrp_probe

\[INFO\] \[UHD\] linux; GNU C++ version 11.3.0; Boost_107400; 
UHD_4.4.0.cjohnson-fb-sdrx-68-g02558b69

\[INFO\] \[X300\] X300 initialization sequence...

\[INFO\] \[X300\] Maximum frame size: 8000 bytes.

\[INFO\] \[GPS\] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a

\[INFO\] \[X300\] Radio 1x clock: 200 MHz

  _____________________________________________________

 /

|       Device: X-Series Device

|     _____________________________________________________

|    /

|   |       Mboard: X310

|   |   revision: 12

|   |   revision_compat: 7

|   |   product: 30810

|   |   mac-addr0: 00:80:2f:22:72:89

|   |   mac-addr1: 00:80:2f:22:72:8a

|   |   gateway: 192.168.10.1

|   |   ip-addr0: 192.168.10.2

|   |   subnet0: 255.255.255.0

|   |   ip-addr1: 192.168.40.2

|   |   subnet1: 255.255.255.0

|   |   ip-addr2: 192.168.30.2

|   |   subnet2: 255.255.255.0

|   |   ip-addr3: 255.255.255.255

|   |   subnet3: 255.255.255.0

|   |   serial: 3166635

|   |   FW Version: 6.0

|   |   FPGA Version: 39.0

|   |   FPGA git hash: fffffff-dirty

|   |   RFNoC capable: Yes

|   |   

|   |   Time sources:  internal, external, gpsdo

|   |   Clock sources: internal, external, gpsdo

|   |   Sensors: gps_servo, gps_time, gps_locked, gps_gprmc, gps_gpgga, 
ref_locked

|     _____________________________________________________

|    /

|   |       RFNoC blocks on this device:

|   |   

|   |   \* 0/DDC#0

|   |   \* 0/DDC#1

|   |   \* 0/DUC#0

|   |   \* 0/DUC#1

|   |   \* 0/Radio#0

|   |   \* 0/Radio#1

|   |   \* 0/Replay#0

|     _____________________________________________________

|    /

|   |       Static connections on this device:

|   |   

|   |   \* 0/SEP#0:0==>0/DUC#0:0

|   |   \* 0/DUC#0:0==>0/Radio#0:0

|   |   \* 0/Radio#0:0==>0/DDC#0:0

|   |   \* 0/DDC#0:0==>0/SEP#0:0

|   |   \* 0/Radio#0:1==>0/DDC#0:1

|   |   \* 0/DDC#0:1==>0/SEP#1:0

|   |   \* 0/SEP#2:0==>0/DUC#1:0

|   |   \* 0/DUC#1:0==>0/Radio#1:0

|   |   \* 0/Radio#1:0==>0/DDC#1:0

|   |   \* 0/DDC#1:0==>0/SEP#2:0

|   |   \* 0/Radio#1:1==>0/DDC#1:1

|   |   \* 0/DDC#1:1==>0/SEP#3:0

|   |   \* 0/SEP#4:0==>0/Replay#0:0

|   |   \* 0/Replay#0:0==>0/SEP#4:0

|   |   \* 0/SEP#5:0==>0/Replay#0:1

|   |   \* 0/Replay#0:1==>0/SEP#5:0

|     _____________________________________________________

|    /

|   |       TX Dboard: 0/Radio#0

|   |   ID: UBX-TDD (0x0202)

|   |   Serial: 3167155

|   |   Revision: 2

|   |     _____________________________________________________

|   |    /

|   |   |       TX Frontend: 0

|   |   |   Name: UBX TX

|   |   |   Antennas: TX/RX, CAL

|   |   |   Sensors: lo_locked

|   |   |   Freq range: 10.000 to 6000.000 MHz

|   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB

|   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz

|   |   |   Connection Type: QI

|   |   |   Uses LO offset: No

|     _____________________________________________________

|    /

|   |       RX Dboard: 0/Radio#0

|   |   ID: UBX-TDD (0x0203)

|   |   Serial: 3167155

|   |   Revision: 2

|   |     _____________________________________________________

|   |    /

|   |   |       RX Frontend: 0

|   |   |   Name: UBX RX

|   |   |   Antennas: TX/RX, RX2, CAL

|   |   |   Sensors: lo_locked

|   |   |   Freq range: 10.000 to 6000.000 MHz

|   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB

|   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz

|   |   |   Connection Type: IQ

|   |   |   Uses LO offset: No

|     _____________________________________________________

|    /

|   |       TX Dboard: 0/Radio#1

|   |   ID: UBX-TDD (0x0202)

|   |   Serial: 3167159

|   |   Revision: 2

|   |     _____________________________________________________

|   |    /

|   |   |       TX Frontend: 0

|   |   |   Name: UBX TX

|   |   |   Antennas: TX/RX, CAL

|   |   |   Sensors: lo_locked

|   |   |   Freq range: 10.000 to 6000.000 MHz

|   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB

|   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz

|   |   |   Connection Type: QI

|   |   |   Uses LO offset: No

|     _____________________________________________________

|    /

|   |       RX Dboard: 0/Radio#1

|   |   ID: UBX-TDD (0x0203)

|   |   Serial: 3167159

|   |   Revision: 2

|   |     _____________________________________________________

|   |    /

|   |   |       RX Frontend: 0

|   |   |   Name: UBX RX

|   |   |   Antennas: TX/RX, RX2, CAL

|   |   |   Sensors: lo_locked

|   |   |   Freq range: 10.000 to 6000.000 MHz

|   |   |   Gain range PGA0: 0.0 to 31.5 step 0.5 dB

|   |   |   Bandwidth range: 160000000.0 to 160000000.0 step 0.0 Hz

|   |   |   Connection Type: IQ

|   |   |   Uses LO offset: No
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to