07-21-2023 11:26 AM
We have an X310 and are trying to use the remote streaming option. We are using UHD v4.3.0.0 and trying to follow the example on the Device Streaming page in the UHD manual. The problem we are seeing is that the dest_port that we are setting is not being used, instead it seems like the x310 is picking a random port.
Here is the output of find devices:
[INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.3.0.HEAD-0-g1f8fd345
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: 3267DF7
addr: 192.168.10.2
addr: 192.168.40.2
fpga: HG
name:
product: X310
type: x300
The X310 is connected to a Ubuntu 20.04 box with a 1 gige (x310 sfp0) and 10 gige interface (x310 sfp1) and here is those configs:
enp70s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255
inet6 fe80::3a65:8840:d256:3bbb prefixlen 64 scopeid 0x20<link>
ether fc:34:97:a5:2b:99 txqueuelen 1000 (Ethernet)
RX packets 36350 bytes 3455672 (3.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34697 bytes 2275383 (2.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp34s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000
inet 192.168.40.1 netmask 255.255.255.0 broadcast 192.168.40.255
inet6 fe80::23d6:8322:70cd:a739 prefixlen 64 scopeid 0x20<link>
ether 40:a6:b7:c0:0f:0c txqueuelen 1000 (Ethernet)
RX packets 15726834 bytes 118471890266 (118.4 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 993795 bytes 84131722 (84.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
We used the python in the manual but change the stream_args to the following: stream_args.args = "dest_addr=192.168.40.1,dest_port=50007,adapter=sfp1,enable_fc=0"
When I watch the 10 gige interface (enp34s0f0) with tcpdump, I can see the port that the IQ data is being sent to change each time I run the python script. We are not sure why that is happening.