Create a Motor object type and object instances
Create sample Motor object data to populate the list box and gauges.
- InProject view, right-clickModeland select .
- Hover-over the object, select , and enterMotor.
- Add and configure variables:
- InProperties, at the top, add two variables by selecting and selectingVariable.
- Rename the variables by hovering-over each variable, selecting , and entering:
- Speed
- Acceleration
- Convert the Model object into an object type:
- InType view, double-clickModel.
- FromProject view, dragMotorintoType view.
- Create and organize Motor object instances:
- InProject view, right-click theModelfolder and select .
- Hover-over the folder, select , and enterMotorObjects.
- InProject view, dragMotorinto theMotorObjectsfolder.
- Create nine Motor object instances by draggingMotorTypefrom theType viewpane into theMotorObjectsfolder in theProject viewpane.
- Configure each Motor instance:
- InProject view, select a motor.
- InProperties, set theAccelerationandSpeedproperties values.You can enter any values of the valid type.For example, enter:PropertyValueAcceleration1Speed11
Provide Feedback