Create Motor objects

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
    Edit
    , and enter
    Motor
    .
  3. Add and configure variables:
    1. In
      Properties
      , at the top, add three variables by selecting
      Add
      Add
      and selecting
      Variable
      .
    2. Rename the variables by hovering-over each variable, selecting
      Edit
      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
      Type view
      .
  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
      Edit
      , and enter
      MotorObjects
      .
    3. In
      Project view
      , drag
      Motor
      into the
      MotorObjects
      folder.
    4. Hover-over
      Motor
      , select
      Edit
      Edit
      , and enter
      FaultyMotor
      .
    5. Create nine Motor object instances by dragging
      MotorType
      from
      Type view
      into the
      MotorObjects
      folder in
      Project view
      .
    6. 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.