discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Help on gnuradio


From: Julian Arnold
Subject: Re: [Discuss-gnuradio] Help on gnuradio
Date: Wed, 20 Jun 2018 22:59:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hey,

I had the same problem a few weeks back in a two channel scenario.
I ended up writing a simple python 'gate' block that passes a configurable amount of samples for every pulse on the trigger input.

It is super inflexible and hacky but should be fairly easy to modify.

I quickly moved the block to it's own OOT module. You can find it here:
https://github.com/jarn0ld/gr-gate

Let me know if you need any help modifying it.

Cheers,
Julian

On 20.06.2018 20:02, Marcus D. Leech wrote:
On 06/20/2018 01:05 PM, address@hidden wrote:
Hi, I am new to the gnuradio environment..so please forgive me... I have an USRP B200 and I am looking to save to a file I & Q samples of bursty, random (ALOHA) messages sampled at high rate, for furter processing (in a repeatable fashion). Of course it is not possible to save 15--20 mminutes of data at 50MSPS, but using something like a "valve" (deprecated in GRC) it vould be possible:
1) to detect in real time the burst data transmission
2) to open the valve towards a file sink
A separate file could be used to record timestamp and/or length of data blocks recorded

Looking at  GRC I haven't found any useable block to build a valve used at run time based on a threshold (e.g. output of a filter to detect the TX random signal) . Could anybody help?
Thanks a lot

Here's a "trick".

Have your threshold detector switch the output of the file sink between /dev/null and an actual file.

There's also power squelch, which can either insert zeros, or act as a "gate".





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