Re: [Discuss-gnuradio] Question: using gr_float_to_complex

2008-01-30 Thread Steven Clark
Should Rx1 be a vector_source_f rather than a vector_sink_f?

-Steven

On Jan 29, 2008 10:17 PM, Jonas <[EMAIL PROTECTED]> wrote:
> Hi everyone!
>
> I have this problem with using gr_float_to_complex. I wanted to connect two
> sptr types wherein one contains floats while the other is an sptr type of
> gr_float_to_complex. Unfortunately, I always get an error message saying
> 'port number out of range.' What should I do?
>
> Sample Code:
>
> Rx1 () #
> contains the float data
> Rx1_comp = gr.float_to_complex()
> fg_Rx1_comp = gr.flow_graph()
> fg_Rx1_comp.connect(Rx1,Rx1_comp)  # I get error messages here saying
> that 'port number out of range'
>
>
>
> Thanks!
>
> :)
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Question: using gr_float_to_complex

2008-01-29 Thread Jonas
Hi everyone!

I have this problem with using gr_float_to_complex. I wanted to connect two
sptr types wherein one contains floats while the other is an sptr type of
gr_float_to_complex. Unfortunately, I always get an error message saying
'port number out of range.' What should I do?

Sample Code:

Rx1 () #
contains the float data
Rx1_comp = gr.float_to_complex()
fg_Rx1_comp = gr.flow_graph()
fg_Rx1_comp.connect(Rx1,Rx1_comp)  # I get error messages here saying
that 'port number out of range'



Thanks!

:)
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio