Tuesday, December 3, 2013

Re: [Discuss-gnuradio] two RX paths

On 12/03/2013 11:10 AM, Nemanja Savic wrote:
Hi all guys,

I would like to receive in my application signals from WBX board and from LFTX simultaneousely.
At the moment, when I run the flow graph it ends immediately with core dump, and zero divisin exception.

In the script, sources are defined in this way:

        self.uhd_usrp_source_0 = uhd.usrp_source(
            device_addr="",
            stream_args=uhd.stream_args(
                cpu_format="fc32",
                channels=range(1),
            ),
        )

        self.uhd_usrp_source_0.set_subdev_spec("A:0", 0)
        self.uhd_usrp_source_0.set_samp_rate(samp_rate_wbx)
        self.uhd_usrp_source_0.set_center_freq(433900000, 0)
        self.uhd_usrp_source_0.set_gain(input_gain_slider_wbx, 0)
        self.uhd_usrp_source_0.set_antenna("RX2", 0)

and the second:

        self.uhd_usrp_source_1 = uhd.usrp_source(
            device_addr="",
            stream_args=uhd.stream_args(
                cpu_format="fc32",
                channels=range(1),
            ),
        )

        self.uhd_usrp_source_1.set_subdev_spec("B:A", 0)
        self.uhd_usrp_source_1.set_samp_rate(samp_rate_CC1000)
        self.uhd_usrp_source_1.set_center_freq(freq_CC1000, 0)
        self.uhd_usrp_source_1.set_gain(gain_CC1000, 0)

There are certain posts about using different firmware, but I am not able to figure out what should I really do, and is that necessary?

Thanx for help,

Best,

--
Nemanja Savić
  
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
You need to specify the dual-DDC image for USRP1:

usrp1_fpga_4rx.rbf

http://files.ettus.com/uhd_docs/manual/html/usrp1.html#specify-a-non-standard-image



--   Marcus Leech  Principal Investigator  Shirleys Bay Radio Astronomy Consortium  http://www.sbrac.org  

No comments:

Post a Comment