Skip to main content

Attribute: ExpandFully

The effect of this pragma is that the members of an array used as an input variable for referenced visualizations are made visible in the properties dialog of the visualization.

Syntax:

{attribute 'ExpandFully'}

Insert location: The line above the line with the declaration of the array.

Example 266.

The visualization visu is to be inserted into a frame inside the visualization visu_main.

arr is defined as an input variable in the interface editor of visu and will thus be available later for assignments in the Properties dialog of the frames in visu_main.

In order to also make the individual components of arr available in this Properties dialog, you must insert the 'ExpandFully' attribute directly before arr in the interface editor of visu. Declaration in the interface editor of visu:

VAR_INPUT
{attribute 'ExpandFully'}
    arr : ARRAY[0..5] OF INT;
END_VAR
_cds_img_pragma_expandfully_prop.png