Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To create a Reusable Subsystem, begin with a regular subsystem. Create the subsystem (see Create Subsystems to Add Hierarchy), and make sure that it will build and run without errors. Tweak the modules as needed and add any desired User Inspectors. Ensure that any contained modules that access another module’s variable (eg. ParamSet, ParamGet) DO NOT reference modules that are outside the subsystem.

...

  1. Click and drag the entire subsystem module from the canvas and to the Module Palette, either on an existing module directory or in the empty space.

  2. Right-click the subsystem module and select the “Create Reusable Subsystem” option.

  3. A new dialog window appears, titled “Create New Reusable Subsystem”, with the following entry fields (see figure below). Complete and edit these fields accordingly for this Reusable Subsystem:

    • Root Directory - root folder for the Reusable Subsystem’s generated folders/files (see generated Generated Folders/File sectionFiles)

    • Class Name - Unique file name for the generated output files.

    • Browser Path - Category in which module will appear under in the module palette

      • If the subsystem was dragged onto an existing module directory in the Module Palette, this will be automatically populated with that existing directory name. Otherwise, this will be automatically populated with the new directory name “Reusable Subsystems”.

    • Browser Name - The name of the module that will appear in the module browser

    • Canvas Legend - The text which will appear in the reusable subsystem block when on the Canvas.

    • Search Tags - Search terms to locate this module in the Module Browser

    • Pin Data Types - Valid data types for module input pins (can select multiple types)

    • Compiled Subsystem – If checked, creates a Compiled Reusable Subsystem

  4. Once the fields are set, click OK, and the Reusable Subsystem will be created.

...