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 <martin.br...@ettus.com>
wrote:

> "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 <martin.br...@ettus.com
> > <mailto:martin.br...@ettus.com>> wrote:
> >
> >     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" <zh...@umich.edu
> >     <mailto:zh...@umich.edu>> 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 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 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 mailing list
> >         Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
> >         https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >
> >
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to