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

2016-02-01 Thread Zhihong Luo
Hi Martin, It seems that using stream_cmd by "issue_stream_cmd" is only for C API. But if I want it to be Python, since there is no component "stream_cmd_t", how can I control the streaming in Python? Thanks, Zhihong On Sat, Jan 30, 2016 at 5:41 AM, Martin Braun wrote: > "num samps and done"

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

2016-01-30 Thread Martin Braun
"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? > > Thanks, > Zhihong > > On Fri, Jan 29, 2016 at 5:36 AM, Martin Braun

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

2016-01-29 Thread Martin Braun
I assume you mean the usrp source block. This will accept stream commands so you don't need to write your own block. M On 29 Jan 2016 04:14, "Zhihong Luo" wrote: > Hi all, > > I just started to use GNU Radio for testing on USRP, and I want to make > the USRP receive signal periodically. So that

[Discuss-gnuradio] USRP block to receive signal periodically

2016-01-28 Thread Zhihong Luo
Hi all, I just started to use GNU Radio for testing on USRP, and I want to make the USRP receive signal periodically. So that for example, it will receive for half a second, then rest for 10 seconds, during which it won't request data from USRP. I previously used GRC, but the usrp sink block do