Versions Compared

Key

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

...

Subsystems can be used to organize your layout into coherent groups. To create a subsystem, drag out the Subsystem module from the Subsystem folder, then double click or right click and select ‘Navigate In’ to design the internal system. If more I/O is needed, add System Input and Output pin modules from the Subsystem folder of the module browser.

...

You can navigate through the different hierarchies either with the tabs at the top of the canvas, or by right clicking the canvas and selecting ‘Navigate Up’.with the ‘Navigate Up’ or ‘Navigate In’ right-click menu options in the Designer GUI.

...

Convert To Subsystem

Instead of dragging out a new subsystem and manually adding modules, a user If you are working on a layout which is starting to get crowded, you can create a subsystem from an existing set group of modules. To do this, select a module or set of modules, right click, then select the Convert To Subsystem option. This will replace replaces the selected modules with a new subsystem that contains the selected modules. Just as usual, a user can navigate through the different hierarchies with the ‘Navigate Up’ or ‘Navigate In’ options.

...

...

Convert To Subsystem

To create an empty subsystem, drag out the Subsystem module from the Subsystem folder, then double click or right click and select ‘Navigate In’ to design the internal system. By default, a new Subsystem has one input pin and one output pin. If more I/O is needed, add System Input and Output pin modules from the Subsystem folder of the module browser.

...

User Inspectors

Subsystems created entirely within Designer can have one or more user created inspectors, also built within Designer, to control the subsystem operations. The user inspector is shown differently depending on where in the subsystem hierarchy the user is.

Either double clicking a subsystem or choosing “Show Inspector” from the right click menu of the subsystem will show the inspector(s) in Run Mode (non-editable). The right click menu for a subsystem is available from the canvas of the subsystem, or by right clicking the subsystem module. In this example, double clicking UserSub, which contains Inspecter1, will show the inspector in Run Mode, and the user may change the controls and the associated subsystem module variables.

...

Adding a user inspector changes the double-left-click behavior of a subsystem.

  • Without a user inspector, double clicking opens the subsystem on the screen.

  • After you have added a user inspector, double clicking will show the user inspector, whether the layout is running or not.

    Image Added

“Navigate In” and “Show Inspector” are always available from the right-click menu.

...

When the user inspector is at the same hierarchical level as the user view, it can be opened for edit mode when double clicked. Note “DOUBLE-CLICK TO EDIT” is shown in the module Variables.

...

The inspector can be modified to change or display variables from the modules in the subsystem.

...

In the previous example, the inspector edit dialog is invoked by double clicking the inspector Inspector module on the canvas. The dialog will say “FOR EDITING”. In this mode, the slider cannot be moved to change an attached module variable. editing mode, controls are not active. If you click on a control in editing mode, you can drag it to a new location or resize it.

In order to change the variables in the attached modules from this level, one must use the right click menu on the canvas and choose “Show Inspector”. This is also valid for User Inspectors at the top level of the diagram.

...

Before testing the dialog, one must attach the control to a module variable. Right click on the meter and knob controls in the Inspector Panel and click View Properties in the pop-up menu. Enter Scaler1.gain in the modVar field, and Meter1.value[0] in the modVar field of the meter. If the names of the modules were changed after placement, enter those names instead of Scaler1 and Meter1:

...

“Knob” and “meter” are generic, so one can rename them and customize the subsystem with the caption propertyUse the caption property to change the displayed name of each control:

...

For more information on each inspector control and their available properties, see the descriptions in the Property panel, or right click either in the module browser or in the Inspector panel and click Help.

Next, ascend the hierarchy to the top level, where double clicking the subsystem will now show the inspector dialog in Control Mode. Control Mode can be used during design time or run time to change the values of the module variables linked to each inspector control.  For example, the knob control will change the subsystem’s gain module variable. The subsystem module block will show updates of the values as in the next figure:

...

  • The binary format means the layout does not need to be dynamically built, thus leading to faster layout build times (see (8.D.2.3) Module Wiring).

  • The binary format is encrypted when creating the Compiled Reusable Subsystem, providing privacy for users interested in protecting their IP.

...