Create Motor objects
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 allcheckbox.
- 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, select , and enterMotorObjects.
- InProject view, dragMotorinto theMotorObjectsfolder.
- Hover-overMotor, select , and enterFaultyMotor.
- 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