New / Edit SubObject window

How do I open the New / Edit SubObject window?
  1. In the
    Library Objects
    pane, select a library.
  2. In the decoration pane, on the
    Parameters
    tab, right-click any group name, then select
    Add New SubObject
    .
    The
    New / Edit SubObject
    window opens.
A subobject is a grouped set of parameters that can be instantiated multiple times. Examples include the channels of an analog input or the contact information for a project team member. Subobjects can be auto-generated during instantiation or added manually by the user when the library object is brought into an
Application Code Manager
project.
This table describes the fields in the
New / Edit SubObject
window.
Name
Type
Description
Name
Text entry
The name applied to the subobject when added to an
Application Code Manager
project. The value can be entered manually or generated by an expression.
Type
Text entry
The identity for the SubObject group in the
Parameters Tab
. This is a required field. The name must be unique for the library object.
Description
Text entry
A description of the subobject that appears at the bottom of the
Application Code Manager
window when its subobject is active. The value can be entered manually or generated by an expression.
To use a calculated value for this field, click the ellipsis (...) button next to the field to open the
Expression Builder
.
Auto Populate
Checkbox
When selected, automatically creates multiple instances of the subobject during instantiation. For auto population to occur:
  • There must be a parameter contained in the subobject with the
    Data Type
    field set to INT. This field generates sequential identity numbers for each instance of the subobject.
  • A value must be entered in the
    Min
    and
    Max
    fields for the parameter. The
    AutoIncrement
    field must be set to TRUE.
Pre-configured Instances
Checkbox
Selected when the number of subobjects are needed. Allows multiple subobjects to be created using a pre-configured option.
Auto Increment Parameter
Dropdown menu
Only available when
Auto Populate
is selected. Lists all integer subobject parameters. If no parameters are configured, the list is empty.
Dimension
Text entry
Determines how many instances of the subobject are automatically created on instantiation into the
Application Code Manager
. The maximum number should not be greater than
Auto Increment Parameter
.
Pre-configured Instances
Checkbox
Select to enable
Add Instance
.
Add Instance
Button
Select to add a pre-configured instance. Dimmed when the
Pre-configured Instances
checkbox is not selected.
Add Parameter
Button
Select to display the
Add New Parameter
dialog.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal