Starting the Heart Monitor C simulation
1. From Modeler, open the
Heart Monitor C model that resides in the
Examples database (see
the 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 Heart Monitor application (HeartMonitorUI.exe). If you have installed Modeler to the default location, the path of the HeartMonitorUI.exe application is as follows:
%PROGRAMDATA%\PTC Integrity Modeler\Example\Heart Monitor C\VB\HeartMonitorUI.exe
4. In the Heart Monitor application, ensure that the Auto-Launch check box is selected.
5. Click the Power button.
After starting the simulation:
• The Heart Monitor C 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 state machine has entered the Created state. The state machine is waiting for the Power button to be pressed.
• The Output pane of Modeler records a log of the simulation session. You can see that the last activity to take place was the Enter Operation for the Cardio class.
• You can now interact with the simulation through the Heart Monitor C application.
For information about interacting with the simulation, see the Related Topics.