discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on in


From: Jeff Long
Subject: Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level
Date: Wed, 12 Nov 2014 19:36:13 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/12/2014 02:54 PM, Staffan Bruce wrote:
Hello,
Being limited in my programming skills, I would very much like to do the
following in Gnuradio Companion:
* Sample an input stream (from RTL-SDR)
* Generate a trigger signal based on the input stream
* If a trigger criterion is met, save/sink the data stream for a preset
time and give the file a name based on time of acquisition (or similar)
* Reset the flow and start all over.

The Tagged File Sink does most of what you're looking for.
src -> trigger -> tagged file sink -> "timestamped" files

Getting the input stream is no problem and I believe I know how to
generate the trigger signal, but starting a sink (with a new filename)
for a preset time (number of samples is fine) based on this signal seems
tricker (not to mention the file naming part).
If anyone can provide suggestions for how to
* start a new sink (new file) based on an integer signal shifting from 0
to 1
* automatically name each file sequence, sequential numbering is OK
this would be very much appreciated!
Many thanks in advance!
Regards,
Staffan


_______________________________________________
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]