Skip to main content

Dialog: Updating the Frame Parameters

Function: Assistance in correcting the detected compilation error due to interface changes in a template visualization

Call: Double-click the following compile error in the message view: The interface of the referenced visualization <name of visualization> does not match the current configuration. Please do an update of the frame references of the current visualization.

Requirement: During compilation, it has been determined that the parameters transferred to a referenced visualization (template visualization) do not match the visualization interface declared there.

Options

First, the "Updating the Frame Parameters" dialog opens with the prompt to select options for updating.

Update all frame parameters in the current project 

_cds_icon_radiobutton_activated.png: All frames whose parameter transfer is outdated are updated.

Update frame parameters only in this frame 

_cds_icon_radiobutton_activated.png: Only the frame specified in the message is updated.

Update frame parameters with a dialog where differences can be seen 

_visu_icon_checked_box.png: Before the parameters are actually updated, the comparison dialog described below opens. The intended changes are displayed there in a comparison list according to the option specified above.

_visu_icon_unchecked.png: The changes are made directly without displaying a comparison dialog according to the options specified above.

Button: OK

Closes the dialog and either opens the comparison dialog described below or updates the frame parameters directly.

Comparison dialog

You can edit the noted settings.

Parameters 

Hierarchical structure of the interface parameters as a tree view

_visu_icon.png

Top node of the visualization hierarchy with the name of the visualization

This contains an element of type Frame or Tabs.

_visu_icon_frame.png

Name of the element (Frame or Tabs type)

_visu_icon.png

Name of the referenced visualization

_cds_icon_dut.png (Recent) 

Interface of the referenced visualization with the new parameters

You can edit the parameter transfer here.

_cds_icon_dut.png (Previous) 

Interface of the referenced visualization with the previously valid parameters

You cannot edit the parameter transfer, but you can use it as a template.

_cds_icon_input_channel.png <Name>

Variable for the parameter transfer (VAR_INPUT scope)

_cds_icon_varinout.png <Name>

Variable for the parameter transfer (VAR_IN_OUT scope)

Type 

Data type of the variable

Example: INT

Value 

Variable that is transferred as a parameter and with whose value the visualization is initialized during instantiation

Example: PLC_PRG.iVisNr

If the variable lies under the current interface, which is marked in the tree view with _cds_icon_dut.png (Recent), then you can edit the parameter transfer.

  • Click in the field to open the input field.

  • Double-click in the field to open the Input Assistant.

  • Accept the settings by copying assignments in the Value column and pasting them into another cell. Use the Copy and Paste links to do this.

Copy 

Link for copying an assignment from the Value column

Requirement: An assignment is selected.

Paste 

Link for inserting an assignment

Requirement: You have copied an assignment.

Button: OK

Click the button to close the dialog and confirm the changes made under the (Recent) node.

Result: The assignment is entered in the References property and in the Interface Editor.

Example

Dialog which opens when all frame parameters of the current project are updated:

_visu_img_example_updating_frame_parameters.png

Dialog which opens when the frame parameters of the current frame (of the current tab element) are updated:

_visu_img_example_updating_one_frame_parameter.png