I have received an exception called: “Floating point exception”, I guess
that the reason is because I am trying to use the ports TX/RX and RX2
with an USRP-SOURCE (please review the code below).
Is there any special configuration to use USRP with GNURadio with that
specific configuration?
regards,
Richard
#=================[Python Code]==============
self.uhd_usrp_source_0_0 = uhd.usrp_source(
device_addr="addr=192.168.10.8",
stream_args=uhd.stream_args(
cpu_format="fc32",
channels=range(1),
),
)
self.uhd_usrp_source_0_0.set_samp_rate(samp_rate)
self.uhd_usrp_source_0_0.set_center_freq(800e6, 0)
self.uhd_usrp_source_0_0.set_gain(0, 0)
self.uhd_usrp_source_0 = uhd.usrp_source(
device_addr="addr=192.168.10.8",
stream_args=uhd.stream_args(
cpu_format="fc32",
channels=range(1),
),
)
self.uhd_usrp_source_0.set_samp_rate(samp_rate)
self.uhd_usrp_source_0.set_center_freq(700e6, 0)
self.uhd_usrp_source_0.set_gain(0, 0)