|
Re: First trials [message #1700683 is a reply to message #1700590] |
Mon, 06 July 2015 13:00 |
|
Hi Anantha,
Note that the current version of Papyrus-RT is still under development. We are currently preparing a first, more formal 0.7 release by the end of July.
At this point, your first step should be to install Eclipse with Papyrus. You can follow the instructions at https://www.youtube.com/watch?v=hgKjzr2pXzI to accomplish this. I would recommend that you install the final Mars version of the tools.
Once Papyrus is installed, you will need to install some of the "Additional Components". To do this, click on the Papyrus icon in the toolbar (it looks like a green Ibis bird). From the dialog, select the "RealTime (Incubation)" Component and click [Finish].
Once this is done, you can get the Papyrus-RT specific components at http://download.eclipse.org/papyrus-rt/builds/nightly. As indicated previously, we do not currently have any formal releases and you must rely on the nightly builds for now.
Please be careful to _NOT_ install the "Papyrus-RT Protocol Editor" component, if shown. It is an older prototype that will cause problems with the new version already part of the "RealTime (Incubation)" Papyrus additional component.
Please let me know if you have any more question.
/Charles Rivet
|
|
|
|
|
Re: First trials [message #1700876 is a reply to message #1700769] |
Tue, 07 July 2015 19:49 |
|
Hi Anantha,
I am working on a "Getting Started" tutorial for Papyrus-RT to be made available before the end of July. I am planning on using a simple "ping-pong" model to drive that tutorial.
The only sample model that is currently available is the "ComputerSystem" model I used at EclipseCon NA and EclipseCon France. We do not yet have the sample models available as part of the software distribution , but that model is available directly from the Papyrus-rt repository and you are free to get it from there. You can see the presentation from EclispseCon NA on YouTube. Not much modeling, but it could give you some hints.
TrafficLights, although fairly simple, is still a bit complex for a "Getting Started" exercise. I do have a version of that model that is almost complete. Once it is complete, I will make it available in the repository.
I hope this helps!
/Charles Rivet
|
|
|
|
|
Re: First trials [message #1702100 is a reply to message #1702088] |
Sun, 19 July 2015 14:04 |
|
Hi Anantha,
A capsule part is fixed by default. You can change the kind of a capsule part by selecting the right properties, as follows.
A fixed capsule part has:
- Visibility: Protected
- Aggregation: Composite
- Multiplicity: fixed (e.g., "1")
An optional capsule part has:
- Visibility: Protected
- Aggregation: Composite
- Multiplicity: zero-based range (e.g., "0..4")
You can also have mixed fixed / optional part by having using a fixed range: "2..4" indicates that first two slots are fixed and that the next 2 slots are optional.
An imported capsule part has:
- Visibility: Protected
- Aggregation: Shared
- Multiplicity: zero-based range (e.g., "0..4")
We realise that, from a user experience, this is a bit complicated and will be working on improving the user interface to make this easier. That is the purpose of the UML RealTime tab, which will be filled with easier commands to properly and more easily set properties of UML RealTime elements.
I hope this helps.
/Charles Rivet
|
|
|
|
Re: First trials [message #1702292 is a reply to message #1702250] |
Tue, 21 July 2015 11:33 |
|
Hi Anantha,
In UML-RT, which is currently the only DSML implemented in Papryrus-RT, connectors can only be drawn between ports on capsules (or capsule parts - I'll use just "capsule" to refer to both in the rest of this response). In UML-RT all communications between capsules must be accomplished through ports that are types by protocols, as shown in figure 1 of the project description. This link also provides basic information on the UML-RT approach.
Are you saying that you currently can not draw a connector between two ports on different capsules?
If you want to read more about UML-RT, I would recommend, at least until we create more documentation:
Note that you can also find sample and test models in the papyrus-rt git repository. We will be working on making the samples more readily available with upcoming releases.
/Charles Rivet
|
|
|
|
Re: First trials [message #1703160 is a reply to message #1702296] |
Wed, 29 July 2015 04:42 |
Anantha Krishnan Messages: 26 Registered: April 2014 |
Junior Member |
|
|
Hi Charles,
Wonder if you have an update for me.
Meanwhile, I find that in the downloads/updates from nightly builds, there are three examples under .../umlrts/test, rt-computer, rt-pingpong, and rt-ring. But I can find only (generated) C++ code there. I have studied these, especially rt-pingpong, and have been able to successfully model the incarnation etc. Where can I get the UML-RT/Papyrus-rt models pl.
Also, how do I get access to the Git repository and download samples etc. as you have suggested.
Thanks and sorry for the bother.
Anantha Krishnan.
|
|
|
Re: First trials [message #1704150 is a reply to message #1703160] |
Fri, 07 August 2015 16:31 |
|
Hi Anantha,
I'm sorry, I was on vacation.
I think you should submit this as a bug so that we can take a closer look at it. It should not behave that way.
/Charles Rivet
|
|
|
|
|
|
|
|
Re: First trials [message #1708046 is a reply to message #1708010] |
Fri, 11 September 2015 17:07 |
|
Hi Anantha,
I have just published the official version of the Getting Started tutorial on the Papyrus for Real Time wiki (see other topic).
Hopefully, it will have fixed some of the problems you listed. If you find other issued with either the tool or the documentation, please let me know and/or submit bugs.
Thanks!
/Charles Rivet
|
|
|
|
Powered by
FUDForum. Page generated in 0.08356 seconds