ProB 2.0 within Rodin and a HTML Visualization Example: Difference between revisions

No edit summary
Line 1: Line 1:
== Installing ProB 2.0 from Rodin 2.7 or later ==
== Installing ProB 2.0 from Rodin 2.7 or later ==


Line 15: Line 14:


== Start Animating the Lift ==
== Start Animating the Lift ==
Right-click on the <tt>MLift</tt> model and select the "Animate" command:
[[File:MLiftAnimateWithProB.png|300px|center]]
Click on setup_constants and initialise in the Events view:
[[File:MLiftEventsView.png|300px|center]]


== Open HTML Visualization ==
== Open HTML Visualization ==
Go into the ProB Menu at the top and select ...
[[File:MLiftOpenHTMLVisualization.png|300px|center]]
You can now see a graphical visualisation of the state of the model:
[[File:MLiftHTMLVisualization.png|300px|center]]
You can also click on the buttons in the HTML page to control the model.

Revision as of 08:48, 11 November 2013

Installing ProB 2.0 from Rodin 2.7 or later

Obtaining the latest ProB binary

Open a Groovy Console and type upgrade "latest".

GroovyConsoleUpgradeLatest.png

Import the Lift Project

Select the Rodin "Import…" menu command and import Lift.zip.

Start Animating the Lift

Right-click on the MLift model and select the "Animate" command:

MLiftAnimateWithProB.png

Click on setup_constants and initialise in the Events view:

MLiftEventsView.png

Open HTML Visualization

Go into the ProB Menu at the top and select ...

MLiftOpenHTMLVisualization.png


You can now see a graphical visualisation of the state of the model:

MLiftHTMLVisualization.png

You can also click on the buttons in the HTML page to control the model.