New / Edit SubObject window
How do I open the New / Edit SubObject window?
- In theLibrary Objectspane, select a library.
- In the decoration pane, on theParameterstab, right-click any group name, then selectAdd New SubObject.TheNew / Edit SubObjectwindow 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:
|
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