Re: [Discuss-gnuradio] Writing to file from Gnu Radio block

2017-11-24 Thread André Gomes
same problem). It's working now. Thanks!! Regards, *André Gomes* Email: andre.go...@dcc.ufmg.br Homepage: http://homepages.dcc.ufmg.br/~andre.gomes/ Mobile: +55 31 994859285 <+55%2031%2099485-9285> On 24 November 2017 at 13:26, Marcus Müller wrote: > Hi André, > > sadly, the

[Discuss-gnuradio] Writing to file from Gnu Radio block

2017-11-24 Thread André Gomes
t;https://gnuradio.org/doc/sphinx-3.7.1/pmt/readwrite.html>. It refers to pmt.write(pmt_t obj, std::ostream port). So, I tried: pmt.write(pmt.intern("my text"), f); ... no success though. How can I read/write a file from a Gnu Radio block written in python? Regards, *André Gomes*

Re: [Discuss-gnuradio] Problem to handle message port in thread

2017-11-12 Thread André Gomes
mentioned for part two. Only few poor/ not crystal clear references about how to do this. Would you have any other suggestions? Kind regards,​ *André Gomes* Email: andre.go...@dcc.ufmg.br Homepage: http://homepages.dcc.ufmg.br/~andre.gomes/ Mobile: +55 31 994859285 <+55%2031%2099485-9285>

[Discuss-gnuradio] Problem to handle message port in thread

2017-11-12 Thread André Gomes
error. The port still does not exist when the thread starts. How do I guarantee the existence of the port before starting the thread? *Figure 1: *Error [image: Inline images 2] *Figure 2: *Function used by thread. [image: Inline images 1] Regards, *André Gomes* Email: andre.go...@dcc.ufmg.b