Re: (gnuradio3.8) module 'gnuradio.blocks' has no attribute 'message_sink'

2021-01-14 Thread Ting Wu
Hi Criss, Unfortunately it seems there is no easy solution to this problem. But at least I can go back to Ubuntu18 which installs gnuradio 3.7 and I can still use my old codes. Regards, Ting Wu On 2021/01/15 1:49, Criss Swaim wrote: Hi Ting: I have been working on this same issue for a

(gnuradio3.8) module 'gnuradio.blocks' has no attribute 'message_sink'

2021-01-06 Thread Ting Wu
self.source.set_samp_rate(samp_rate)         self.source.set_gain(gain)         self.source.set_center_freq(0)         self.queue = gr.msg_queue()         self.sink = blocks.message_sink(gr.sizeof_short*2, self.queue, False)  #This line throws the error         self.connect(self.source, self.sink) ======= Thanks in advance! Ting Wu

Re: [Discuss-gnuradio] USRP N200 Overflow (printing D) when using a new Intel NUC

2018-07-26 Thread Ting Wu
mentioned. I also looked at the datasheet of the old NUC which worked fine, and it was using Intel I218-V Ethernet controller. Does this mean the I219V is also bad as the 82579LM? Ting On 2018/07/27 12:00, Marcus D. Leech wrote: On 07/26/2018 10:53 PM, Ting Wu wrote: Hi! I have been using USRP

[Discuss-gnuradio] Resolution of USRP N210 and N200

2013-11-02 Thread Ting Wu
Hi, Both of USRP N210 and N200 have 14 bit ADC, which means a range of +/-2e13=+/-8129. However, as I tested a N210 with LFRX, I got values from -32704 ~ 30073, close to +/-2e15=32768. Last year, I also tested a N200 with LFRX, I got values from -16357 ~ 16241, close to +/-2e14=16384. The sa

Re: [Discuss-gnuradio] No attribute 'message_sink'

2013-11-01 Thread Ting Wu
Hi Marcus, Thanks! I changed the line to " self.sink = blocks.message_sink(gr.sizeof_short*2, self.queue, False)" and now it works. Wu -Original Message- From: Marcus Müller [mailto:mar...@hostalia.de] Sent: Friday, November 01, 2013 6:23 PM To: Ting Wu Cc: discuss-gnurad

[Discuss-gnuradio] No attribute 'message_sink'

2013-11-01 Thread Ting Wu
Hi, I'm using USRP N210 with LFRX. I installed uhd and gnuradio with build-gnuradio script without any problem. However, when I run an application, it has such error message: self.sink = gr.message_sink(gr.sizeof_short*2, self.queue, False) AttributeError: 'module' object has no attr

[Discuss-gnuradio] UHD make test failed

2013-04-18 Thread Ting Wu
st (Failed) 15 - vrt_test (Failed) Errors while running CTest make: *** [test] Error 8 How should I fix this problem? Thanks in advance. Ting Wu ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listin

Re: [Discuss-gnuradio] Requested decimation is odd

2012-11-11 Thread Ting Wu
I see. Thanks a lot! Ting Wu From: Marcus D. Leech [mailto:mle...@ripnet.com] Sent: Monday, November 12, 2012 12:05 PM To: Ting Wu Cc: Discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] Requested decimation is odd On 11/11/12 09:42 PM, Ting Wu wrote: Thank you for your

Re: [Discuss-gnuradio] Requested decimation is odd

2012-11-11 Thread Ting Wu
Thank you for your response! We need to use the sampling rate of 4 MHz. How can I deal with this problem? Actually we have been running the same application on several USRPs (N200 and N210), and there was no such warning. Any suggestions? Ting Wu From: Marcus D. Leech [mailto:mle

[Discuss-gnuradio] Requested decimation is odd

2012-11-11 Thread Ting Wu
halfband filter is enabled. How do I change the decimation value? And what value should I set it? Thanks! Ting Wu ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] About the sampling rate

2012-09-26 Thread Ting Wu
Dear all, I find the sampling rate of USRP is surprisingly accurate. Now I set the sampling rate as 4 MHz, and there are always exactly 4M points between two pps signals. Even if I take off the GPS antenna, the sampling rate is still very accurate. This means I only need the GPS antenna at t

Re: [Discuss-gnuradio] Waiting too much time for the GPS to be synchronized

2012-09-23 Thread Ting Wu
I think you need to put the antenna outside. In my situation, I put the antenna on the balcony. It usually takes me only several minutes to get an accurate time (diff<0.01). Wu From: discuss-gnuradio-bounces+wu.ting=comf5.comm.eng.osaka-u.ac...@gnu.org [mailto:discuss-gnuradio-bounces

[Discuss-gnuradio] GNURadio server is down?

2012-09-20 Thread Ting Wu
Hi all, I cannot connect to GNURadio home page http://gnuradio.org/ And I cannot install GNURadio by build-gnuradio script. Is there something wrong? Wu ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/li

Re: [Discuss-gnuradio] Strange overflow problem on USRP N2XX

2012-09-18 Thread Ting Wu
OO Anyone has any clue what might be the reason for this overflow problem? Any suggestion is appreciated. Wu From: discuss-gnuradio-bounces+wu.ting=comf5.comm.eng.osaka-u.ac...@gnu.org [mailto:discuss-gnuradio-bou

[Discuss-gnuradio] Strange overflow problem on USRP N2XX

2012-09-18 Thread Ting Wu
Hi all, Now I'm using several USRP N200 and N210 to build an observation network. I have bought several new computers, which are exactly the same. When I connect a USRP N210 with one computer, it has overflow problem (occasionally print 'O'). However, when I connect the same USRP with anothe