Thanks a lot Emilen,
    But I'm still not clear about 1 thing. How do I declare the
variable?  so that i can choose that variable in the variable property
for AddVariableAction.
 The variable property dropdown box of AddVariableAction is empty
probably because there is no variable already declared to select.  I
wonder if it has to be defined in the block definition diagram.

Thanks & Regards,
Vikas Patel

On Wed, Apr 8, 2009 at 3:43 AM,
<[email protected]> wrote:
> Hi again Vikas,
>
> Variable property it's an inherited property from VariableAction used "for
> actions that operate on a statically specified variable." (from UML)
> About the AddVariableValueAction, insertAt property is only available in
> advanced properties.
> See the attached file to know how to access it.
>
> Regards,
>
> [email protected] a écrit :
>
> Hi Emilen,
>
>  I added the AddVariableValueAction action in the diagram, but i dont
> see any "insertAt" property in the properties window. Also the
> properties window has a field called variable which has to be selected
> from a dropdown. But in my case the dropdown is empty, meaning i
> should have declared the variable somewhere else.
>
> Please find the attached screenshot with this mail, the screenshot
> basically shows all the properties of the AddVariableAction.
>
>
> Thanks & Regards,
> Vikas Patel
>
>
>
>
>
>
>
> Hi Vikas,
>
> my answers below
>
> [email protected] a écrit :
>
> Hi,
>
> I'm new to SysML and using topcased for my modeling . I have the
> following problem:-
>
> 1) I want to store the output coming from a output pin into a
> variable,but I cannot figure out how to create the variable.
>   There are actions to read, clear and erase the value of a variable,
> but no action to create a variable. Should the variable be created in
> the block definition diagram?
>
> I think you could use the AddVariableValueAction element (write variable
> action)
> "insertAt" property: Gives the position at which to insert a new value
> or move an existing value in ordered variables
>
> 2) I also have a decision node with "<Primitive type> string " input
> and 2 outgoing branches. I want to route to branch1 if the string
> value is "one" else route to branch 2.
>     So on the branches i choose the "Guard" as "string expression" to
> check for the condition on the branch. However I cannot figure out
> where i enter the condition.
>
> You should use a Literal String instead of String expression. Literal
> String provides a value to set your condition.
>
> Regards,
>
> Emilien
>
>
> Thanks in advance,
> Vikas Patel
>
> ________________________________
> _______________________________________________
> Topcased-users mailing list
> [email protected]
> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
> --
> Emilien PERICO
> Ingénieur - Atos Origin
> Tel : 05 34 36 34 48
> www.atosorigin.fr
> Développement durable, anticipons pour notre avenir / Sustainibility,
> advance our future
> P N'imprimez ce mail que si nécessaire / please consider your
> environmental responsibility before printing this e-mail.
> Ce message et les pièces jointes sont confidentiels et réservés à
> l'usage exclusif de ses destinataires. Il peut également être protégé
> par le secret professionnel. Si vous recevez ce message par erreur,
> merci d'en avertir immédiatement l'expéditeur et de le détruire.
> L'intégrité du message ne pouvant être assurée sur Internet, la
> responsabilité du groupe Atos Origin ne pourra être recherchée quant
> au contenu de ce message. Bien que les meilleurs efforts soient faits
> pour maintenir cette transmission exempte de tout virus, l'expéditeur
> ne donne aucune garantie à cet égard et sa responsabilité ne saurait
> être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive
> this e-mail in error, please notify the sender immediately and destroy
> it. As its integrity cannot be secured on the Internet, the Atos
> Origin group liability cannot be triggered for the message content.
> Although the sender endeavours to maintain a computer virus-free
> network, the sender does not warrant that this transmission is
> virus-free and will not be liable for any damages resulting from any
> virus transmitted.
>
> On Fri, Apr 3, 2009 at 12:59 PM, Vikas Patel <[email protected]> wrote:
>
>
> Hi,
>
> I'm new to SysML and using topcased for my modeling . I have the following
> problem:-
>
> 1) I want to store the output coming from a output pin into a variable,but I
> cannot figure out how to create the variable.
>   There are actions to read, clear and erase the value of a variable, but no
> action to create a variable. Should the variable be created in the block
> definition diagram?
>
> 2) I also have a decision node with "<Primitive type> string " input and 2
> outgoing branches. I want to route to branch1 if the string value is "one"
> else route to branch 2.
>     So on the branches i choose the "Guard" as "string expression" to check
> for the condition on the branch. However I cannot figure out where i enter
> the condition.
>
>
> Thanks in advance,
> Vikas Patel
>
>
> ________________________________
>
> ________________________________
> _______________________________________________
> Topcased-users mailing list
> [email protected]
> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>
> --
> Emilien PERICO
> Ingénieur - Atos Origin
> Tel : 05 34 36 34 48
> www.atosorigin.fr
> Développement durable, anticipons pour notre avenir / Sustainibility,
> advance our future
> P N'imprimez ce mail que si nécessaire / please consider your environmental
> responsibility before printing this e-mail.
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage
> exclusif de ses destinataires. Il peut également être protégé par le secret
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne
> pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin
> ne pourra être recherchée quant au contenu de ce message. Bien que les
> meilleurs efforts soient faits pour maintenir cette transmission exempte de
> tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa
> responsabilité ne saurait être recherchée pour tout dommage résultant d'un
> virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely
> for the addressee; it may also be privileged. If you receive this e-mail in
> error, please notify the sender immediately and destroy it. As its integrity
> cannot be secured on the Internet, the Atos Origin group liability cannot be
> triggered for the message content. Although the sender endeavours to
> maintain a computer virus-free network, the sender does not warrant that
> this transmission is virus-free and will not be liable for any damages
> resulting from any virus transmitted.
> _______________________________________________
> Topcased-users mailing list
> [email protected]
> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
>

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to