[Discuss-gnuradio] Re: save date and value to an rotating file

2009-05-15 Thread feldmaus
Josh Blum joshknows.com> writes: > You can do it all in python by making a hier block, and using gr message > sinks and sources. See pkt.py as an example: > > http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/python/gnuradio/blks2impl Thanks for your answer. Can this block be

Re: [Discuss-gnuradio] Re: save date and value to an rotating file

2009-05-14 Thread Josh Blum
and you can always add custom blocks that you write: http://gnuradio.org/trac/wiki/GNURadioCompanion#AddingCustomBlocks But Custom Blocks rely on custom sinks and sources. I need to process the data through an own python file sink method, with rotate and time feature. Or is this still possible

[Discuss-gnuradio] Re: save date and value to an rotating file

2009-05-14 Thread Markus Feldmann
Josh Blum schrieb: There is a block called gr.head (misc->head) that shuts-off after N samples pass through. I mean to cut off the last line in the file and append the new data to the file. But as i saw this is still a performance problem, however it would work for me, because i do not save a

Re: [Discuss-gnuradio] Re: save date and value to an rotating file

2009-05-14 Thread Josh Blum
Yes, my application is not complex, but not general. So there is no support i think in grc. Further on, if you make grc moduls, you have to use the sink and source elements from gnuradio and can not process the input data through some python functions. connect(SOURCE(Gnuradio Source) ---> SINK(G

[Discuss-gnuradio] Re: save date and value to an rotating file

2009-05-14 Thread feldmaus
Jason Uher gmail.com> writes: > From your questions on the board I'm starting to wonder if your > application isn't complex enough that it would warrant being built in > strict python rather than GRC, it would certainly make your life > easier in terms of doing things like this: > Yes, my applic