|
From: | do ber |
Subject: | Re: [Discuss-gnuradio] Recording samples for a predefined time |
Date: | Tue, 2 May 2017 10:15:59 +0300 |
Hi Ali,
One way to achieve this would be to use a "Head" block with the "Num Items" set to: samp_rate*2.
Then set the values under the top_block/Options block to be:
Generate Options: No GUI
Run Options: Run to Completion.
Regards,
Nate
> ______________________________
> On Apr 27, 2017, at 2:30 AM, do ber <address@hidden> wrote:
>
> Hi to all,
>
> I want to get I/Q samples from USRP via UHD Source and then write them to a file via File Sink.But I want to record 2 seconds of length samples. After 2 seconds I want the program stop running.
>
> Is that possible? How?
>
> Best,
> Ali
_________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |