discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Recording samples for a predefined time


From: Nate Temple
Subject: Re: [Discuss-gnuradio] Recording samples for a predefined time
Date: Thu, 27 Apr 2017 03:29:18 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]