Create a Motor object type and object instances
Create sample Motor object data to populate the data grids.
- InProject view, right-clickModeland select .
- Hover-over the object, select , and enterMotor.
- Add and configure variables:
- InProperties, at the top, add three variables by selecting and selectingVariable.
- Rename the variables by hovering-over each variable, selecting , and entering:
- Speed
- Acceleration
- ManufactureDate
- Next to theManufactureDate, selectInt32and selectDateTime.TIP: If you do not see the required option, select theShow allcheck box.
- Convert the Model object into an object type:
- InType view, double-clickModel.
- FromProject view, dragMotorinto theType viewpane.
- Create and organize Motor object instances:
- InProject view, right-clickModeland select .
- Hover-over the folder, select , and enterMotorObjects.
- InProject view, dragMotorinto theMotorObjectsfolder.
- Hover-overMotor, select , and enterFaultyMotor.
- DragFaultyMotoronto theMotorObjectsfolder.
- Create nine Motor object instances by draggingMotorTypefrom theType viewpane into theMotorObjectsfolder inProject view.
- For each Motor object instance, set theAcceleration,ManufactureDate, andSpeedvariable values.TIP: You can enter any data in the correct format. This data will be used to populate the data grids.
Provide Feedback