Starting the Traffic Lights simulation
1. From Modeler, open the Traffic Lights model that resides in the Examples database (see instructions).
2. On the Simulation tab, ensure that the following buttons are selected, that is, depressed:
Enable Animation button.
Enable Open Diagram Mode.
Log to the Output pane button.
3. From Windows Explorer, double-click the Traffic Lights application (TrafficLightsUI.exe).
If you have installed Modeler to the default location, the path of the TrafficLightsUI.exe file is as follows:
C:\ProgramData\PTC Integrity Modeler\Example\Traffic Lights\vb\TrafficLightsUI.exe
4. From the Traffic Lights application, ensure that the Auto-launch check box is selected.
5. Click the Start button.
After starting the simulation:
The Traffic Lights application connects to Modeler.
Modeler loads the Listener.dll.
Modeler opens the instance diagrams required to animate the simulation. On the instance diagrams, the red outline indicates the active state in the state machine.
The Output pane of Modeler records a log of the simulation session.
You can now interact with the simulation through the Traffic Lights application.
You can use Modeler to inject Events and Operations, and set the values of Attributes. For more information, see Injecting an Operation into a Simulation.
For information about interacting with the simulation, see the Related Topics.