How to schedule iq recordings?

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

On 02/07/2015 08:37 PM, John M. wrote:

lot guys. John


Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
The file-sink will start a new file every time you give it a new
filename.

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.

On 02/08/2015 02:42 AM, Marcus D. Leech wrote:

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

I just use the “at” linux command to schedule my recordings. Your
script can handle the timestamps, gain, antenna settings, etc.

For example, to run bash_script.sh at 04:00

at 04:00 -f bash_script.sh

To see queued executions,

atq

This works really well for me.

PWG

On 02/08/2015 02:42 AM, Marcus D. Leech wrote:

/> 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