Yes, if the tag in the PI database changes, you will typically need to update the corresponding tag in Excel if you want to continue retrieving data from the updated tag.
When you export PI AF attributes to Excel using PI DataLink, it creates a link between the Excel cell and the PI tag. This link includes the tag name or reference, as well as other parameters such as the time range, calculation methods, etc.
If the tag name is changed in the PI database, the link in Excel will be broken because the original tag name no longer exists. In such cases, you will need to update the Excel cell reference or tag name to the new name to re-establish the link and continue retrieving the data.
To update the tag in Excel, you can follow these steps:
-
Open the Excel file containing the PI DataLink formulas.
-
Locate the cell(s) containing the PI DataLink function that references the tag.
-
Edit the formula to replace the old tag name with the new tag name. Be sure to maintain any other parameters or arguments in the formula.
-
Press Enter or click outside the cell to apply the changes.
This will update the PI DataLink formula to reference the new tag name, allowing you to retrieve data from the updated tag.