discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] two RX paths


From: Nemanja Savic
Subject: [Discuss-gnuradio] two RX paths
Date: Tue, 3 Dec 2013 17:10:52 +0100

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ć

reply via email to

[Prev in Thread] Current Thread [Next in Thread]