Create Motor objects
Create sample Motor object data to populate the list box and gauges.
- In Project view, right-click Model and select .
-
Hover-over the object, select
, and enter Motor.
-
Add and configure variables:
-
Convert the Model object into an object type:
- In Type view, double-click Model.
- From Project view, drag Motor into Type view.
-
Create and organize Motor object instances:
- In Project view, right-click the Model folder and select .
-
Hover-over the folder, select
, and enter MotorObjects.
- In Project view, drag Motor into the MotorObjects folder.
- Create nine Motor object instances by dragging MotorType from the Type view pane into the MotorObjects folder in the Project view pane.
-
Configure each Motor instance: