|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Seeking a method to expose a floating point value |
Date: | Tue, 19 Jul 2016 22:45:54 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
Well, there's multiple things you can do; a very easy thing would be to put your external Python code into a GNU Radio block and let the GNU Radio scheduler call it as soon as there's a "chunk" of fresh samples. You could also go for message passing, or zmq inter-process
messages. Or simply take the data out of a vector sink? This depends a lot on what you're trying to do, i.e. the bigger
picture. What do you need these numbers for? It's the very nature of general purpose OSes running on general purpose computers that things usually are not "continuous" in time, but happen by means of exchanging buffers with a chunk of workload at once; so possibly this isn't even a problem, because the program you want to use to work on that data might be expecting buffers of samples, too. Best regards, Marcus On 19.07.2016 22:11, Ed Coleman wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |