Create Motor objects
Create sample Motor object data to populate the data grids.
- InProject view, right-clickModeland select .
- Hover-over the object, selectEditMotor.
- Add and configure variables:
- InProperties, at the top, add three variables by selectingAddVariable.
- Rename the variables by hovering-over each variable, selectingEdit
- 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, dragMotorintoType view.
- Create and organize Motor object instances:
- InProject view, right-clickModeland select .
- Hover-over the folder, selectEditMotorObjects.
- InProject view, dragMotorinto theMotorObjectsfolder.
- Hover-overMotor, selectEditFaultyMotor.
- Create nine Motor object instances by draggingMotorTypefromType viewinto 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