I am new in using GNURadio. I try to test the dqpsk_mod() function and
have always this error:
ValueError: unable to coerce endpoint
Could anyone tell me what wrong I have made?
Thanks so much.
Program:
#no GUI #source: stream from file_source #connect with DQPSK: input: byte stream, output:complex #change it to 2 parts:imagine and Real #connect with gr.complex_to_real or gr.complex_to_imag
It lacks the beginning part, so I paste again my program:
#!/usr/bin/env python
from gnuradio import gr
from gnuradio import blks
#no GUI #source: stream from file_source #connect with DQPSK: input: byte stream, output:complex #change it to 2 parts:imagine and Real #connect with gr.complex_to_real or gr.complex_to_imag
You are using the new top_block with the old blks dqpsk modulator.
Replace blks with blks2, also change “blks.dqpsk_mod(self,2,.35,True,
False, False)” to “blks2.dqpsk_mod(2,.35,True, False, False)” and see
what happens.
You are using the new top_block with the old blks dqpsk modulator.
Replace blks with blks2, also change “blks.dqpsk_mod(self,2,.35,True,
False, False)” to “blks2.dqpsk_mod(2,.35,True, False, False)” and see
what happens.
-Josh
I have done like this and have no more this error.
Thank you all for helping me.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.