[Discuss-gnuradio] (no subject)
http://regentschemistry.co/wp-content/plugins/mywork.html ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problems msg_queue
I've tried to do the same thing as http://lists.gnu.org/archive/html/discuss-gnuradio/2007-05/msg00117.html However, it reports an error saying there's no top_block in the module. I've I manage to solve the init problem, I have problems with the runtime! Anyone knows why? Thanks!! ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] RFX2400, really noisy signal
Has anyone achieved a good received signal with RFX2400? When I worked without it , I had signals that went form 4000 to -4000. Now I'm using the deinterleave and the received signal is really noisy when I see it with the scope, and can't achieve up to -40 to 40 amplitude in the scope. How's that? I'd really appreciate any kind of help 'cause I can't understand what's happening ... src = usrp.source_c(0, usrp_decim, fpga_filename=std_2rxhb_2tx.rbf) src.set_mux(gru.hexint(0x32103210)) src.set_nchannels(2) subdev_spec1 = (0,0) subdev_spec2 = (1,0) subdev1 = usrp.selected_subdev(src, subdev_spec1) subdev2 = usrp.selected_subdev(src, subdev_spec2) subdev1.set_auto_tr(True) subdev2.set_auto_tr(True) subdev1.select_rx_antenna('RX2') subdev2.select_rx_antenna('RX2') r=src.tune(0,subdev1,freq) r=src.tune(1,subdev2,freq) self.scope_1=scopesink.scope_sink_c(self,panel,'',sample_rate) self.scope_2=scopesink.scope_sink_c(self,panel,'',sample_rate) di=gr.deinterleave(gr.sizeof_gr_complex) fg = gr.flow_graph () self.connect (src,di) self.connect ((di,0),self.scope_1) self.connect ((di,1),self.scope_2) ... ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problems with the PLL
Hi everyone! I'm trying to represent at the same time two different signals with two scopes, so I can see if the PLL is following the signal he is getting from the input port. However, the scopes don't work at the same time, it's like when one of them is working, the other gets freezed and so on! By the way, are the values of the PLL well set? Thank u very much . I add the code: ... alfa=0.05 src = usrp.source_c(0, usrp_decim, fpga_filename=std_2rxhb_2tx.rbf) src.set_mux(gru.hexint(0x32103210)) src.set_nchannels(2) subdev_spec1 = (0,0) subdev_spec2 = (1,0) subdev1 = usrp.selected_subdev(src, subdev_spec1) subdev2 = usrp.selected_subdev(src, subdev_spec2) subdev1.set_auto_tr(True) subdev2.set_auto_tr(True) subdev1.select_rx_antenna('RX2') subdev2.select_rx_antenna('RX2') r=src.tune(0,subdev1,freq) r=src.tune(1,subdev2,freq) pll=gr.pll_refout_cc(alfa/sample_rate,alfa*alfa/(4*sample_rate),1000*2*math.pi/sample_rate,5000*math.pi*2/sample_rate) self.scope1=scopesink.scope_sink_c(self,panel,'',sample_rate) self.scope2=scopesink.scope_sink_c(self,panel,'',sample_rate) di=gr.deinterleave(gr.sizeof_gr_complex) fg = gr.flow_graph () self.connect (src,di) self.connect ((di,0),pll) self.connect ((di,0),self.scope1) self.connect (pll,self.scope2) self._build_gui(vbox) def _build_gui(self, vbox): vbox.Add(self.scope1.win, 5, wx.EXPAND) vbox.Add(self.scope2.win, 5, wx.EXPAND) ... ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problems with 2 RX
Hi everyone! We're trying to receive two signals from two different RFX2400 in the same USRP. We've already read everything about setting the rx mux and the n_channels. However, we still cannot receive the two signals correctly. When we put signal in the first Rx1 (that goes to one RFX2400), we can see it, but we cannot see the other in Rx2 (to the other RFX2400), it's like it hasn't any kind of input signal. I add the code. We don't know if it's a problem of the deinterleave, or the mux. Thanks in advance class my_graph(stdgui.gui_flow_graph): def __init__(self,frame,panel,vbox,argv): stdgui.gui_flow_graph.__init__ (self,frame,panel,vbox,argv) sample_rate = 32 freq = 245000 usrp_decim = 200 decim = 10 #USRP src = usrp.source_c(0, usrp_decim, fpga_filename=std_2rxhb_2tx.rbf) src.set_mux(gru.hexint(0x32103210)) src.set_nchannels(2) subdev_spec1 = (0,0) subdev_spec2 = (1,0) subdev1 = usrp.selected_subdev(src, subdev_spec1) subdev2 = usrp.selected_subdev(src, subdev_spec2) subdev1.set_auto_tr(True) subdev2.set_auto_tr(True) subdev1.select_rx_antenna('RX2') subdev2.select_rx_antenna('RX2') r=src.tune(0,subdev1,freq) r=src.tune(0,subdev2,freq) self.fft_1=fftsink.fft_sink_c(self,panel,0,10,50,sample_rate,512,2) self.fft_2=fftsink.fft_sink_c(self,panel,0,10,50,sample_rate,512,2) di=gr.deinterleave(gr.sizeof_gr_complex) fg = gr.flow_graph () self.connect (src,di) self.connect ((di,0),self.fft_1) self.connect ((di,1),self.fft_2) self._build_gui(vbox) def _build_gui(self, vbox): vbox.Add(self.fft_1.win, 10, wx.EXPAND) vbox.Add(self.fft_2.win, 10, wx.EXPAND) if __name__ == '__main__': app = stdgui.stdapp (my_graph, ) app.MainLoop () ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] AGC questions
Sorry if I'm writing to the wrong direction, it's the first time I'm doing this. I was interested in making a AGC (automatic gain control), however, the one that's supplied doesn't help at all. I wanted to change the usrp.set_gain every time the input power is or too hi or too low. For example, if I'm working at -10 dBm at the input, and want to lower the usrp.set_gain from 10 to 20, how can I do that with the agc that comes with the gnu radio library? Thanks a lot! Any help will we really appreciated. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio