Block Layers Conception

Category: Articles
Published on Friday, 01 February 2019 20:07
Written by AltonaLab
Hits: 575

Layers conception

Layers are a very good way to avoid complicated and crowded diagrams by distributing controls and blocks by different layers. To do this, we first need to describe the layers. This happens with the interface that opens by pressing the button Layers from the group Design/Process at the top bar with buttons of the application AltonaLab.

By clicking on the Add button a new layer is added to the grid, then by double-clicking the mouse button in the Name column, we can enter a layer name. Attributes (the grid columns) of every Layer are:


Copying graphic objects from another diagram into selected layer:
The interface has a button Load diagram to selected layer. When we press it, a new File Open dialog opens and we can choose an AltonaLab diagram. All the elements from choosen diagram - controls and blocks will be added to the existing diagram into the selected layer.


Change the current visible layer at the diagram:
From the top bar of the application with buttons, click the Layers button. In the interface grid, select the layer row which has to be current and check the checkbox from column Curr layer.


Select a layer of a graphic object (control/block):

When all the needful layers are added, we can choose the layer of every control or block. When the property editor of the control or block is open, at the parameter Layers we will see the list of existing layers of the diagram. We just have to choose one of them.

Description of functional block Layers

With this block, we can change the current layer at run time of the diagram.

Block's parameters:

Block's inputs:

Block's output: