Forum: GNU Radio Gnu radio connect api doubt

Posted by usrp n210 (Guest)
on 2012-09-16 03:51
(Received via mailing list)
Gnu radio has connect api to connect the flow graph,so it
connect uni-direction/bi-directionly ? if it is unidirectional then can 
we
change it to bidirection ?
Posted by Josh Blum (Guest)
on 2012-09-16 06:14
(Received via mailing list)
On 09/15/2012 09:50 PM, usrp n210 wrote:
> Gnu radio has connect api to connect the flow graph,so it
> connect uni-direction/bi-directionly ? if it is unidirectional then can we
> change it to bidirection ?
>

connections are unidirectional flows of data.

You could however create two connections in opposing directions. Now a
traditional gnuradio block will see this a circular loop and you cant do
this.

But, I suspect you are doing something with passing messages between
blocks. You may want to check out gr extras. This will allow two blocks
to bidirectionally communicate:
https://github.com/guruofquality/grextras/wiki#wik...

-josh
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.