Hi Simon, The actual semantic of SAM needs that there is no loop between two SAM Automatons and this is the case in your diagram. All entry of a SAM Automaton shall be set before computing a step for a automaton. In the case of a loop, output aren't computed because they need input not yet produced, depending from previous output ... So, there is a check to prevent dead-lock and this message is displayed (handle loop detected).
We have to know, also, that the SAM simulation doesn't treat dataport, as there is no symbol with semantic for data (ctrl port are boolean). Le mercredi 02 septembre 2009 à 17:13 +0200, [email protected] a écrit : > Hello, > > I didn't find any sample of a SAM system. So I made my own, you can find > it attached. > I'm trying to simulate it in topcased. I obtains an error : handle loop > detected. > Do you have a tip ? > > Some comments about simulation tool : > - we can find it in the topcased experimental plugin yes, but will have to move in the toolkit > - scenario and trace files have the same extension name exact > - Could a Sam event have a default name (like transition in outline > which use its condition ) that' a good idea > - in trace file "sim event temp" lacks of meaning. are they duplicated ? > can "temp" be replaced by the flow's name of the internal event ? the current traces don't have a great interest. In the next releases traces will be improved to carry other informations like te output ctrl port status. > - every event's date is null temporal features are not implemented. The scenarii and traces elements will be improved soon. > - could we see in real time a trace in the console view ? Not in this release, but it could be done. > - why can't we have an editor for each diagram of a samdi. I would like > to see all my automaton's diagrams when simulating. It is a limitation of the Topcased Framework, we have to wait for next generation of editor in GMF (I don't know for that about SAM editor) thanks for your interest, Stéphane > > Rgds, > Simon > _______________________________________________ > 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
