[Discuss-gnuradio] Re:Test-bed application: how to control GUI app and gr_vector_source
Hi Andis Dembovskis: i tried to run your script, but the program stoped and get following error: done_part_1 audio_alsa_sink[hw:0,0]: snd_pcm_hw_params failed: Descriptor de archivo en mal estado Traceback (most recent call last): File programafallido.py, line 56, in module app.tb.start() File /usr/lib/python2.6/dist-packages/gnuradio/gr/top_block.py, line 97, in start self._tb.start() File /usr/lib/python2.6/dist-packages/gnuradio/gr/gnuradio_swig_py_runtime.py, line 1455, in start return _gnuradio_swig_py_runtime.gr_top_block_sptr_start(self) RuntimeError: check topology failed on audio_alsa_sink(1) using ninputs=1, noutputs=0 do you know how to solve the problem? thanks in advance. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Problem in using trellis Error, correction en- and decoder
in the past Achilleas wrote:--- There are a couple of potential problems with your flowgraph: 1) the trellis encoder outputs unpacked bytes. For example, if your FSM has output cardinality 4 then it outputs 2 useful bits per byte. Are you sure you are handling this the right way at the packet encoder? I do not know how that block works but you should check it. however, the main problem is the following 2) You need to substitute the trellis viterbi by the trellis viterbi combo block and input as parameters the kind of distance metric you want and the corresponding constellation, etc. To do that you need to know what is the output of the packet decoder... I have never worked with packet en/decoder so i cannot help with these. Achilleas -end of quote. well, I first want to thank you, because it success. (The problem is solved). I did simplify the example: a source, a trellis and a viterbi combo. Next, change the types for bytes. Next use 'packed to unpacked' in the head.and 'unpacked to packed' in the tail of the flow. i test with noise source the trellis, trellis-D8psk and trellis-DBPSK. trellis-DBPSK in noise is better than trellis in noise . but trellis in noise is better than trellis-D8psk in noise. DBPSK Hamming distance=2. trellis Hamming distance=sqrt(2). D8pskHamming distancesqrt(2). the snapshot...where are the snapshot? http://img808.imageshack.us/img808/1725/pantallazointerferencec.png bye. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Problem in using trellis Error correction en- and decoder
Hello Achilleas Anastasopoulos Sorry for my delay. Well,I try to start the example (interference_cancellation.grc) but do not succeed. I put the trotle and then the warning disappears, but the error not. I installed the gnuradio by synaptic. in ubuntu, i think the Program Files directory is /usr/share/. Prefix = /usr/share/gnuradio/ Now it's works :) Well, Now we know that the example works (with a little modifications). I have fear of being wrong with regard to the functioning of the FSM. How we operate my trellis? I see that my file stop when i use files. why? (my file= http://img213.imageshack.us/img213/3435/pantallazoxe.png) I'm area of knowledge is not precisely electronics/telecommunications. i'm programmer, but i'm here. haha i read about TCM, and CC (the theory). Which finite state machine allows me to copy a file? where I can get such information? Thanks!! ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Problem in using trellis Error correction en- and decoder
Hello , I am using trellis encoder and trellis viterbi block, to get a error corecction method. i take a snapshot for you: http://img213.imageshack.us/img213/3435/pantallazoxe.png The flow: ---Packet Encoder---DBPSK Encoder--DBPSK Decoder---Packet Decoder works perfect. Problem is trellis encoder input and trellis viterbi decoder output do not match. why don't match? I, read the documentation about the FSM file format. ( in gr-trellis directory) the example, in the directory don't work (FILE error). Need i chunks to symbols block as the example? Thanks in advance Francisco ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re:[Discuss-gnuradio] Problem in using trellis Error correction en- and decoder
Hello Achilleas. Forgiveness for mysticism about the example. is interference_cancellation.grc (GNU Radio Companion 3.2.2) http://pastebin.com/N61P7tiP /usr/share/gnuradio/examples/grc/trellis/interference_cancellation.grc the error: [error] Loading: /usr/share/gnuradio/examples/grc/trellis/interference_cancellation.grc Done Showing: /usr/share/gnuradio/examples/grc/trellis/interference_cancellation.grc Generating: /usr/share/gnuradio/examples/grc/trellis/int_cancellation.py Warning: This flow graph may not have flow control: no audio or usrp blocks found. Add a Misc-Throttle block to your flow graph to avoid CPU congestion. Generating: /usr/share/gnuradio/examples/grc/trellis/int_cancellation.py Warning: This flow graph may not have flow control: no audio or usrp blocks found. Add a Misc-Throttle block to your flow graph to avoid CPU congestion. Executing: /usr/share/gnuradio/examples/grc/trellis/int_cancellation.py terminate called after throwing an instance of 'std::runtime_error' what(): fsm::fsm(const char *name): file open error Done [/error] i change the path to absolute path, but don't work. the file exist in this directory. i no try to add a Throttle block. i do not care if the example doesn't work, be cause i don't get this error in my work. I must have to go now. sorry. thanks for the fast reply. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio