Use of double Input

Hello,

I have a vectorstream of floats. I tried to connect this vectorsream two
times to the block square. square is an instnce of gr.multiply_vff. Now
I am
able to connet the input once with the block square.
Can some body tall my, how that I can connect this two blocks a secend
time?
So, that I have at the end the square of the input.

Thank you for help,
Adi

input: block has a vectorstream as output
square = gr.multiply(vektorsize)
fg.connect(input, square)


View this message in context:
http://www.nabble.com/use-of-double-Input-tf4815274.html#a13775618
Sent from the GnuRadio mailing list archive at Nabble.com.

Adrian Kueng wrote:

input: block has a vectorstream as output
square = gr.multiply(vektorsize)
fg.connect(input, square)

This should do the trick:

fg.connect(input, (square,0))
fg.connect(input, (square,1))

Greetings,
Martin