Create a Motor object type and object instances

Create sample Motor object data to populate the data grids.
  1. In
    Project view
    , right-click
    Model
    and select
    New
    Object
    .
  2. Hover-over the object, select
    Edit
    , and enter
    Motor
    .
  3. Add and configure variables:
    1. In
      Properties
      , at the top, add three variables by selecting
      Add
      and selecting
      Variable
      .
    2. Rename the variables by hovering-over each variable, selecting
      Edit
      , and entering:
      • Speed
      • Acceleration
      • ManufactureDate
    3. Next to the
      ManufactureDate
      , select
      Int32
      and select
      DateTime
      .
      TIP: If you do not see the required option, select the
      Show all
      check box.
  4. Convert the Model object into an object type:
    1. In
      Type view
      , double-click
      Model
      .
    2. From
      Project view
      , drag
      Motor
      into the
      Type view
      pane.
  5. Create and organize Motor object instances:
    1. In
      Project view
      , right-click
      Model
      and select
      New
      Folder
      .
    2. Hover-over the folder, select
      Edit
      , and enter
      MotorObjects
      .
    3. In
      Project view
      , drag
      Motor
      into the
      MotorObjects
      folder.
    4. Hover-over
      Motor
      , select
      Edit
      , and enter
      FaultyMotor
      .
    5. Drag
      FaultyMotor
      onto the
      MotorObjects
      folder.
    6. Create nine Motor object instances by dragging
      MotorType
      from the
      Type view
      pane into the
      MotorObjects
      folder in
      Project view
      .
    7. For each Motor object instance, set the
      Acceleration
      ,
      ManufactureDate
      , and
      Speed
      variable values.
      TIP: You can enter any data in the correct format. This data will be used to populate the data grids.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.