Skip to main content

Attribute: parameterstringof

The {attribute 'parameterstringof'} pragma allows the instance name of a specified passing parameter to be made available to the referenced visualization. An interface variable (type: STRING) will contain the instance name of the specified passing parameter. The interface variable is visible within the referenced visualization and can be used, for example, in a text output.

Syntax:

{attribute 'parameterstringof' := ' <variable> '}

Example: Declaration of an interface

VAR_INPUT
    {attribute 'parameterstringof' := 'iftDut_A'}
    sItfNameDut_A: STRING;
END_VAR
VAR_IN_OUT
     iftDut_A : DUT_A;
END_VAR