Error using coder.internal.errorIf (line 8) - Unable to find radio with IP address...
Show older comments
Hi,
I was running "sdruLTE2x2SIB1Tx" example and output was as the following: radio = comm.SDRuTransmitter with properties:
Platform: 'X310'
IPAddress: '192.168.12.2'
ChannelMapping: [1 2]
CenterFrequency: 900000000
LocalOscillatorOffset: 0
Gain: 0
PPSSource: 'Internal'
ClockSource: 'Internal'
MasterClockRate: 184320000
InterpolationFactor: 96
TransportDataType: 'int16'
EnableBurstMode: false
Starting transmission Please run sdruLTE2x2SIB1Rx.m in a new MATLAB session Error using coder.internal.errorIf (line 8) An error occurred: Unable to find radio with IP address 192.168.12.2. Attach a device with this IP address, or continue working in offline mode.
Error in comm.SDRuTransmitter/setupImplLocal Error in comm.internal.SDRuBase/setupImpl Error in sdruLTE2x2SIB1Tx_PWCT6_Radios (line 47) bufferUnderflow = step(radio,txFrame(:,:,n));
FYI: >> findsdru ('192.168.12.2')
Checking radio connections... ans = struct with fields: Platform: '' IPAddress: '192.168.12.2' SerialNum: '' Status: 'Success'
As you can see here the radio was instantiated and it is connected and on top of that executing probesdru ('192.168.12.2') ans = -- X300 initialization sequence... -- Determining maximum frame size... 1472 bytes. -- Setup basic communication... -- Loading values from EEPROM... -- Setup RF frontend clocking... -- Radio 1x clock:200 -- Initialize Radio0 control... -- Creating WSA UDP transport for 192.168.12.2:49153 -- Performing register loopback test... pass -- Initialize Radio1 control... -- Creating WSA UDP transport for 192.168.12.2:49153 -- Performing register loopback test... pass ___________________________________________________ / | Device: X-Series Device | ___________________________________________________ | / | | Mboard: X310 | | revision: 6 | | product: 30508 | | mac-addr0: 00:80:2f:0a:f9:e4 | | mac-addr1: 00:80:2f:0a:f9:e5 | | gateway: 192.168.10.1 | | ip-addr0: 192.168.12.2 | | subnet0: 255.255.255.0 | | ip-addr1: 192.168.20.2 | | subnet1: 255.255.255.0 | | ip-addr2: 192.168.30.2 | | subnet2: 255.255.255.0 | | ip-addr3: 192.168.122.2 | | subnet3: 255.255.255.0 | | serial: F58DC9 | | FW Version: 4.0 | | FPGA Version: 19.0 | | | | Time sources: internal, external, gpsdo | | Clock sources: internal, external, gpsdo | | Sensors: ref_locked ....
So that means Matlab is able to communicate with the X310 connected, So I am not able to understand why I am getting the: "Unable to find radio with IP address 192.168.12.2"
My system is a Windows Server 2012 R2, Matlab 2016b and matlabshared.supportpkg.getInstalled gives Name Version Base Product --------------------------------------------------------------- ------- ----------------------------- Communications System Toolbox Support Package for USRP® Radio 16.2.2 Communications System Toolbox
Answers (1)
Jakub Hoferek
on 15 Jan 2020
0 votes
Hi,
I have same problem. I tested it on two computers (same Win 10, Matlab 2019a, UHD_3.13.1.0, USRP X310 converted from NI 2944R) on one local network.
On PC A it works fine (it takes cca 15 seconds to download/RX few IQ samples and first two buffers are empty).
But on PC B it not work at all (both TX and RX). With this error mesagges:
>> An error occurred: Unable to find radio with IP address 192.168.2.62.
Attach a device with this IP address, or continue working in offline
mode.
>> a = findsdru('192.168.2.62')
Checking radio connections...
a =
Platform: '' [on PC A it is fill by platform name]
IPAddress: '192.168.2.62'
SerialNum: '' [on PC A it is fill by ser number]
Status: 'Success'
Does anybody have suggestion where could be problem?
Firewall?
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!