[Discuss-gnuradio] gr-ettus AttributeError

2016-03-20 Thread Zhihong Luo
Hi all, I installed the gr-ettus modules and RFNoC version of UHD ( UHD_003.010.rfnoc-316-gb7546712), but when I tried to run the sample GRC, it runs into this error: AttributeError: 'module' object has no attribute 'device3' Can someone point out where I may make a mistake? Thanks in advance!

Re: [Discuss-gnuradio] gr-ettus AttributeError

2016-03-19 Thread Zhihong Luo
Hi Zhihong, > > You are probably an RFNOC newbie like me:( > There is a D"Device 3" block under refnoc. You need to include that in > every rfnoc flow. It has no connections. > > HTH, > Nikos > > On Fri, Mar 18, 2016 at 2:50 AM, Zhihong Luo > wrote: > &g

Re: [Discuss-gnuradio] gr-ettus AttributeError

2016-03-19 Thread Zhihong Luo
, Zhihong Luo wrote: > Hi all, > > I installed the gr-ettus modules and RFNoC version of UHD ( > UHD_003.010.rfnoc-316-gb7546712), but when I tried to run the sample GRC, > it runs into this error: > > AttributeError: 'module' object has no attribute 'device3&#x

Re: [Discuss-gnuradio] Issue_stream_cmd, Segmentation Fault

2016-02-11 Thread Zhihong Luo
source->stop(), the file still keeps growing larger. I am confused by these two issues, thanks in advance for anyone pointing out the problem. On Thu, Feb 11, 2016 at 1:21 AM, Zhihong Luo wrote: > For more information, the line that causes error is: > > gr::uhd::usrp_source::sptr usrp_s

Re: [Discuss-gnuradio] Issue_stream_cmd, Segmentation Fault

2016-02-10 Thread Zhihong Luo
, the same error output occurs. Therefore, the problem is about the new make function, which I used from Revision 338cfae6. I just copied and pasted the three files of the revision, then make and make install. Thanks, Zhihong On Wed, Feb 10, 2016 at 10:21 PM, Zhihong Luo wrote: > Hi James, >

Re: [Discuss-gnuradio] Issue_stream_cmd, Segmentation Fault

2016-02-10 Thread Zhihong Luo
t; > On Wed, Feb 10, 2016 at 8:33 PM, Zhihong Luo wrote: > >> Hi James, >> >> Actually, the commit was only a month ago, I checked my source code and >> it is different from the revised version. So just to make sure, what I need >> to do is to change the source fil

Re: [Discuss-gnuradio] Issue_stream_cmd, Segmentation Fault

2016-02-10 Thread Zhihong Luo
e2ebda89f is the commit hash that refers to > a specific commit on the GNU Radio repository. > > If you built GNU Radio recently (I believe this commit was last August), > then you should be OK. > > -Trip > > On Wed, Feb 10, 2016 at 6:42 PM, Zhihong Luo wrote: > >>

Re: [Discuss-gnuradio] Issue_stream_cmd, Segmentation Fault

2016-02-10 Thread Zhihong Luo
all the data > will still flow through the graph, instead of getting flushed. > Especially as you are stopping and starting the flow graph. > > My guess is you don't really need stop() here. > > Cheers, > M > > > On 02/10/2016 03:07 PM, Zhihong Luo w

[Discuss-gnuradio] Issue_stream_cmd, Segmentation Fault

2016-02-10 Thread Zhihong Luo
d line, there is still a segmentation fault. Can someone point out where I made a mistake? Thanks. Zhihong Luo ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Compilation Error of the sample code "tags_demo.cc"

2016-02-05 Thread Zhihong Luo
Hi, By adding ${UHD_LIBRARIES}, the problem is solved :) Thanks, Zhihong On Fri, Feb 5, 2016 at 11:40 AM, Zhihong Luo wrote: > Hi Marcus, > > Sorry about the pictures, I will use text later on :) > > After adding the gnuradio-runtime, the top-block line works with no > er

Re: [Discuss-gnuradio] Compilation Error of the sample code "tags_demo.cc"

2016-02-05 Thread Zhihong Luo
rror should be pointing you in the right direction: what you actually need > to do is > > target_link_libraries(tags *gnuradio-runtime* gnuradio-uhd boost_system) > > > Best regards, > Marcus > > On 05.02.2016 06:39, Zhihong Luo wrote: > > Hi, > > I created a

Re: [Discuss-gnuradio] USRP block to receive signal periodically

2016-02-01 Thread Zhihong Luo
gt; "num samps and done" would be appropriate. > > M > > On 01/29/2016 09:05 PM, Zhihong Luo wrote: > > Hi Martin, > > > > Yes, it was a typo. Just to make sure, do you mean multiple "Num samps > > and more" mode commands? &g

[Discuss-gnuradio] USRP block to receive signal periodically

2016-01-28 Thread Zhihong Luo
block doesn't have this function. So I may need to write a custom C OOT block. Can you give me a clue on how to do this? Because I didn't find example specifically for usrp on the website. Thanks a lot. Zhihong Luo ___ Discuss-gnuradio maili