» The following table shows a complete overview of the allowed number of successor/predecessor objects and activities for each available activity type: Port pins are configured using tagged values (via context menu)īranches are configured using the transitions' guard conditions Assigning 'Constant is read' to 'to a variable' Objects like Delay or BitIn/Out offer tagged values for modeling specific properties. The following UML elements are available:Īssigns the value of one incoming object to one or more outcoming objectsĪdds up all incoming objects and assigns the result to the outgoing objectĬhecks if the value of an incoming object is zero and triggers different successor activities depending on the resultĬhecks if the value of an incoming object is larger than zero and triggers different successor activities depending on the resultĭelays the following activity by the specified amount of milliseconds (currently the timing is only correct when the PIC uses a 48MHz oscillator)Ĭan be used to store or read a variable value Now the VisualPIC AddIn is ready for action. NET framework and should be lokated in "C:\WINDOWS\Microsoft.NET\Framework\v7", for example. Note: The Assembly Registration Tool "regasm.exe" must be in your search path for the batch file to work properly. Therefore you need to execute the batch file "register.bat". Now you need to make the plugin accessible to StarUML as a COM object. Resulting structure should look like this: C:\Programme\StarUML\modules\visualPic\. the transition between different activities.Īfter having downloaded the ZIP-File containing all required files (including the source files and some demo projects) here you need to unzip the files into the "modules" folder of your StarUML installation. The following picture shows a screenshot of StarUML with a small application model that creates a changing PWM signal.ĭashed lines show the object flow (the usage of objects by the activities as input or output) while solid lines are used for modelling the program flow, e.g. This project does not comprise full modelling capabilities for all peripherials of the PIC but shall serve as inspiration and/or basis for your own extensions. The plugin extends StarUML with some new UML elements for modelling, compiling and downloading an application (via USB) to the microcontroller PIC 18F4550. This project is a plugin for the popular Open Source UML/MDA Platform StarUML. The source code of this work is licensed under a NET Framework 2.0 (not tested with >=3.0)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |