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.
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to