07.05.2013 Views

TPT Tutorial - PikeTec

TPT Tutorial - PikeTec

TPT Tutorial - PikeTec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Page 24 <strong>TPT</strong> <strong>Tutorial</strong><br />

Figure 19: Outputs of the state<br />

The content of the simple state needs to be specified as direct definition because it has<br />

no sub-states and cannot refer to another state.<br />

Figure 20: Direct definition for light switch on<br />

We specify the default scenario and set the light switch to one. In this simple test we<br />

expect the headlights to be on.<br />

Please navigate back to the main window in the testlet browser.<br />

In order to make the automaton executable a transition condition for the transition<br />

between the state and the final junction must be specified. Double click on the transition<br />

and edit the formal transition condition. In this example the test terminates after five<br />

seconds.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!