The macro renames a data point selected in the data point list. The references of control elements and calculations of data points are taken into account and updated.
A data point is referenced (used) by other parts of Elvis. Some references use the data point name for this purpose. These references break down by renaming them by hand (in the list of data points):
- Calculations of data point properties
- Calculations in the Global Script
- Terminal Programming
The macro ensures that the references to the control elements and to the calculations of data points are updated – i.e. the data point is also renamed there.
Attention: the references from the event processing of the operator station and the global script are not updated and continue to break off. Therefore, after executing the macro, you may need to do the following:
- You will need to open the Global Script and manually change the data point name yourself (find or replace from the Edit menu will help you do this).
- The operator station’s event processing checks whether the data point has also been used there.
This sounds like a lot of work, but since the event processing of the operator station is hardly used and data points in it are rarely addressed by name, there is often nothing to do here.
Download Rename Macro Data Point (4 KB).