(Created page with '[Category:User Manual]] == Startup == Start off by installing the standalone Tcl/Tk version of ProB. Follow the instructions in Installation. Start ProB by double-clicking…') |
No edit summary |
||
Line 27: | Line 27: | ||
[[file:ProB_CSPAfterInit.png|center||700px]] | [[file:ProB_CSPAfterInit.png|center||700px]] | ||
In the "Enabled Operations" pane we can see that two tau events are offered: <tt>tau(int_choice_left)</tt> and <tt>tau(int_choice_right)</tt>. The "History" pane shows us that we have started the "<tt>MAIN</tt>" process to reach the current state. | |||
By single-clicking on an event, we can see which parts of the CSP specification contributed to the event. For example, single clicking on the first tau event yields in the following picture: | |||
[[file:ProB_CSPAfterTauSingleClick.png|center]] | |||
By repeatedly single clicking on the event you can cycle through the various locations that contributed to the event. |
[Category:User Manual]]
Start off by installing the standalone Tcl/Tk version of ProB. Follow the instructions in Installation. Start ProB by double-clicking on ProBWin (for Windows users), or by launching StartProB.sh from a Terminal (for Linux and Mac users).
Use the "Open..." command in the "File" menu and then navigate to the "Examples" directory that came with your ProB installation. Inside the "CSP" subfolder, open the "buses.csp" specification. Your main ProB window should now look as follows:
We have now loaded a first simple CSP model. Let us look at the contents of the ProB window (ignoring the menu bar).
Now, double click on "MAIN" process in the "Enabled Operations" Pane. This has the effect of computing the events offered by MAIN. The lower half of the ProB window should now look as follows (the upper half will remain unchanged):
In the "Enabled Operations" pane we can see that two tau events are offered: tau(int_choice_left) and tau(int_choice_right). The "History" pane shows us that we have started the "MAIN" process to reach the current state.
By single-clicking on an event, we can see which parts of the CSP specification contributed to the event. For example, single clicking on the first tau event yields in the following picture:
By repeatedly single clicking on the event you can cycle through the various locations that contributed to the event.