Tutorial Rodin First Step: Difference between revisions

No edit summary
No edit summary
Line 11: Line 11:
animate and select
animate and select


[[file:ProBRodinStart.png|center]]
[[file:ProBRodinStart.png|center||600px]]




Double-click on the INITIALISATION to initialise the machine:
Double-click on the INITIALISATION to initialise the machine:


[[file:ProBRodinInit.png|center]]
[[file:ProBRodinInit.png|center||600px]]


As you can see, the changer event is enabled, and there are two distinct ways to choose the parameters of the event.
As you can see, the changer event is enabled, and there are two distinct ways to choose the parameters of the event.
Line 22: Line 22:
If you want to control which parameters are used, right click on the EVENT and choose the desired parameter values:
If you want to control which parameters are used, right click on the EVENT and choose the desired parameter values:


[[file:ProBRodinOpChoose.png|center]]
[[file:ProBRodinOpChoose.png|center||600px]]


As you can see, the values of the variables have been updated.
As you can see, the values of the variables have been updated.
Line 31: Line 31:
(once you stepped back you can also step forward again; this works just like in a web browser).
(once you stepped back you can also step forward again; this works just like in a web browser).


[[file:ProBRodinAfterOpChoose.png|center]]
[[file:ProBRodinAfterOpChoose.png|center||600px]]

Revision as of 07:55, 27 July 2010


Installation

Start off by installing the ProB Plugin for Rodin by choosing "Install new software...".

Starting ProB

Start by right clicking (control Click on the Mac) on the machine or context you wish to animate and select

ProBRodinStart.png


Double-click on the INITIALISATION to initialise the machine:

ProBRodinInit.png

As you can see, the changer event is enabled, and there are two distinct ways to choose the parameters of the event. Double-click on an EVENT to execute it. If you want to control which parameters are used, right click on the EVENT and choose the desired parameter values:

ProBRodinOpChoose.png

As you can see, the values of the variables have been updated. Values that have changed are marked with a star. The history pane has also been updated. You can click on an event in the history to return back to the corresponding state. You can also click on the left arrow in the Events pane to go back one step at a time (once you stepped back you can also step forward again; this works just like in a web browser).

ProBRodinAfterOpChoose.png