Direct - absolute mirroring¶
The easiest and most efficient way to create absolute mirrored data variables in the atvise data structure is to copy and paste them directly from a data source (foreign server).
Single data variable
You can copy and paste a node from an external server. atvise builder automatically creates a node with its appropriate type and the property "Mirror".
Browse the data source where you want to copy the node from (like described in section Handling data sources).
Right-click on the desired node(s) and choose from the context menu.
Copy & paste a single mirrored node from a data source¶
Right-click on the node in your local object structure where you want to paste the node from the external server.
Choose in the context menu. You can rename the node in the appearing pop-up.
Copy & paste a single mirrored node from a data source¶
Hint
You can select multiple nodes in the structure of the data source by clicking on them while holding Crtl or Shift and copying & pasting them afterwards.
Structure without types
The atvise builder also offers the possibility of copying & pasting a whole structure of variables. When choosing "node", only the selected node will be copied (without child nodes); when choosing "structure without types", all child nodes will be copied too. In the mirrored structure the objects of the data source are replaced with folders. Only folders and variables will be created in the mirrored structure.
Hint
Other options of mirroring structures are described in Object oriented - relative mirroring.
Browse the data source from which you want to copy variables (as described in the section Handling data sources).
Right-click on a desired parent node (folder) and click on in the menu which appears.
Copy & paste a whole data structure from a data source¶
Right-click on the node in your local object structure where you want to paste the structure.
Choose from the menu. You can type in a new name for the top node in the dialog which appears.
Copy & paste a whole data structure from a data source¶
Copying and pasting a mirror address from a foreign server
Another possibility is to paste the mirror property to an existing data variable (only the mirroring property will be created - no new data variables as with the other two methods).
Browse the data source from which you want to copy a variable (as described in the section Handling data sources).
Right-click on a desired node and click on in the menu which appears.
Copying & pasting a mirror address from a data source¶
Right-click on the node in your local object structure to which you want to add a mirror property.
Choose from the menu.
Copying & pasting a mirror address from a data source¶
Hint
If you use this method, be sure that the data types of the local and foreign variables match - otherwise the mirror module may produce an error and won't work if the data type cannot be converted!