[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] how to schedule iq recordings?
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] how to schedule iq recordings? |
Date: |
Mon, 09 Feb 2015 14:04:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 02/08/2015 02:42 AM, Marcus D. Leech wrote:
> On 02/07/2015 08:37 PM, John Meloche wrote:
>> Hello
>>
>> I have a need to record raw iq files of varing lengths of time and
>> each iq file needs to have a unique file name. I am at the point now
>> where i can record and iq file with a time stamp of the pc clock.
>> That is perfect so far, however, i need to automate this so that i can
>> schedule multple recordings of 5 minutes with a 1 minute standby
>> between each recording just as an example. the timings need to be
>> flexible. my issue is that my super simple record iq flow graph runs
>> until i manualy close it. are there any ideas out there? thanks a
>> lot guys. John
>>
> There are, as in most programming exercises, a flarbillion (that's a
> technical term) ways of accomplishing any given task. You might try,
> for example,
> using a variable-name for your filesink filename (are you already
> doing that?), and then using XMLRPC for an outside 'scheduler' to tell
> it the new
> filenames, and while you're in a "record nothing" timeframe, just have
> it recording to /dev/null.
Or you have a dedicated script that uses a 'head' block to record N
samples worth of time and terminates. Then, use some unix tool to call
that script whenever you need to.
M