Connection Policy on dataflows, how to configure all parameters on XML

Dear friends,

I have a connection between two data-flow ports with unsynchronized elements , but with mutexes (LOCKED). The question is that I don't know if I'm configuring correctly the Policy connector. What is wrong on this code?:

<struct name="inMessagesConnection" type="ConnPolicy">    
  <simple name="type"         type="short"><value>1</value></simple>
  <simple name="lock_policy"     type="short"><value>1</value></simple>
  <simple name="size"         type="short"><value>200</value></simple>
</struct>

Thanks in advance best regards,

enkulator's picture

Connection Policy on dataflows, how to configure all parameters

I attached again the source code... it has not visible on some email
clients.

<struct name="inMessagesConnection" type="ConnPolicy">
<simple name="type" type="short"><value>1<value><simple>
<simple name="lock_policy" type="short"><value>1<value><simple>
<simple name="size" type="short"><value>200<value><simple><struct>

On Wed, Nov 23, 2011 at 14:57, <antonio [dot] castellon [..] ...> wrote:

> Dear friends,
>
> I have a connection between two data-flow ports with unsynchronized
> elements
> , but with mutexes (LOCKED). The question is that I don't know if I'm
> configuring correctly the Policy connector. What is wrong on this code?:
>
>
>
> 1
> 1
> 200
>
>
>
> Thanks in advance best regards,
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Connection Policy on dataflows, how to configure all parameters

On Wed, Nov 23, 2011 at 3:00 PM, Antonio Castellon
<antonio [dot] castellon [..] ...> wrote:
> I attached again the source code... it has not visible on some email
> clients.
>
> <struct name="inMessagesConnection" type="ConnPolicy">
> <simple name="type" type="short"><value>1<value><simple>
> <simple name="lock_policy" type="short"><value>1<value><simple>
> <simple name="size" type="short"><value>200<value><simple>
> <struct>

This looks correct to me. The xml names are the same as the C++
ConnPolicy names, and these are all of type 'short' (int in C++).

Why do you think that it is not working ?

Peter