On Wed, May 14, 2014 at 6:49 PM, Koslowski, Sebastian (CEL) <
sebastian.koslow...@kit.edu> wrote:

> On 05/14/2014 12:29 PM, Activecat wrote:
> > I have then tested few combinations, it seems that a source block cannot
> > have a message sink port.
> > Is there such a restriction ..?
>
> Not that I know of...
>
> <?xml version='1.0' encoding='ASCII'?>
> <block>
>   <name>Test</name>
>   <key>message_sink_complex_source_test</key>
>   <category>Custom</category>
>   <make>None</make>
>   <sink>
>     <name>in</name>
>     <type>message</type>
>     <optional>True</optional>
>   </sink>
>   <source>
>     <name>out</name>
>     <type>complex</type>
>   </source>
> </block>
>
>
I retried by putting the definition of <sink></sink> on top of
<source></source> in the xml file, it works.
It seems that the "sink" definition must be placed on top of "source" ..

Problem solved, thank everyone !
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to