Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-19 Thread Marcus D. Leech
o@gnu.org Subject: Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level If you are using an "if" statement to switch between filename and /dev/null, try putting the filename construction in the "if" statement, instead of a separate variabl

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-19 Thread Vanush Vaswani
- From: madengr > Sent: Monday, November 17, 2014 6:58 PM > To: Discuss-gnuradio@gnu.org > Subject: Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered > on input signal level > > If you are using an "if" statement to switch between filename and /dev

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-18 Thread Staffan Bruce
! ...and yes - time to start learning how to code. Regards, Staffan -Original Message- From: madengr Sent: Monday, November 17, 2014 6:58 PM To: Discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level If you are using an

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-17 Thread madengr
If you are using an "if" statement to switch between filename and /dev/null, try putting the filename construction in the "if" statement, instead of a separate variable. That may make it evaluate every time the "if" statement is called. My example used the LO frequency as part of the filename, an

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-16 Thread Staffan Bruce
, but mainly ended up in circular references... Any suggestions would be highly appreciated! Regards, Staffan -Original Message- From: madengr Sent: Thursday, November 13, 2014 5:18 AM To: Discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-13 Thread sreeraj r
You can refer "uhd_burst_detector.py" in "gnuradio/examples/tags" as a starting point. Regards Sreeraj Rajendran On Thu, Nov 13, 2014 at 8:46 PM, Staffan wrote: > Hello all, > > Many, many, thanks for the suggestions! I just tried the example by Lou - > very good way to update the filename - di

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-13 Thread Staffan
Hello all, Many, many, thanks for the suggestions! I just tried the example by Lou - very good way to update the filename - didn't realize the variable statement was that powerful. I will also test the tagged file sink and - indeed - I have started reading the HOWTOs. Again, many thanks for the

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread madengr
Here is the file: https://dl.dropboxusercontent.com/u/49570443/fmt.grc Lou madengr wrote > I'll post an example GRC file tonight that shows the dynamic recording > with time stamped file. I'm going to try the ARRL Frequency Measurement > test tonight, and wrote a GRC flow with that functionali

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread Jeff Long
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 th

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread madengr
See my note about dynamic recording of file names: http://rfpoweramp.wordpress.com/category/sdr/gnu-radio/ The file sink is either being directed to "filename" or "/dev/null". You can dynamically change that during the flow with a boolean check box. In your case, instead of the check box, you wo

Re: [Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread Marcus Müller
Hi Staffan, I think that you'll find the things you describe can be best noted more or less algorithmically (which you have already done!); and thus, I'd think it's easier to actually write that specific sink you need than to do what you want to do in GRC (I must admit I can't think of a way of do

[Discuss-gnuradio] GRC, Recording chunks of spectrum triggered on input signal level

2014-11-12 Thread Staffan Bruce
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 th