PTC provides some SySim Control Blocks that are generated as input and output controls for the Visual Basic form that is generated for the SySim model execution. These controls include the Graph, Knob, LedBulb, LedDisplay, Meter, NumericSlider, PushButton, SevenSegmentDispaly and Switch SySim control blocks.
To include a PTC provided SySim control block in a SySim simulation scenario:
1. Expand the SySim Profile package, expand the SySim ControlLibrary package, and locate the provided SySim Control Block that you want to use.
The following input and output controls are available:
2. Open the Internal Block Diagram you created for the SySim Simulation Scenario.
3. Drag the SySim Control Block you want to use to the Internal Block Diagram (a Block Property is created).
4. Set a name for the Block Property, ensuring that the name does not begin with a number.
5. If you want a tooltip to appear for the control that is created for the Block Property in the SySim model execution, set the Description property of the Block Property to the tooltip you want to appear.
6. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Full Ports.
7. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Proxy Ports.
8. On the diagram, right-click the Block Property, point to Populate, point to Nodes, and then click Flow Ports.
Note that when the control is generated, you may have to set up properties of the control in Visual Basic. For more information about the PTC provided SySim Control Blocks, see
PTC provided SySim control blocks .