[link="http://www.everdyn.com/blog/"]From Everdyn's blog[/link]
Among many improvements of Wonderware Historian 2014 R2 version there is a new very useful module. It’s the Tag rename utility included directly in the installation package. We can run it from the Wonderware Historian Installation folder “C:\Program Files (x86)\Wonderware\Historian\x64\aahTagRename.exe”.
It becomes very easy to change the name of the tags without modifying the history blocks.
We need to connect either with windows authentication or with SQL server authentication.
When connected we get a message reminding us to shut down and disable Historian:
We can add the tag manually:
or we can use a CSV file to add a list of tags:
The CSV file must be in the following format:
It’s working fine when we have ONLY Historian Blocks created in 2014 R2 version. In the new version of historian, the tagname information is not stored in Historian Blocks so renaming the tagname only in Runtime database is enough.
If the historian server is migrated to 2014 R2 version from the other versions, the migrated historian blocks have the old structure. That’s mean that the historian blocks have some information of tagnames as well. So the new utility renames the tagnames in Runtime database but not in Historian blocks.
To rename the tagnames in Historian blocks as well for migrated installation we just need to run the old version of TagRename Utility (InSQLTagRename.exe) .
In old version we need to specify the Historian Block folder :
In this version we can add the tags list manually or by csv file
Note the csv format is a little bit different:
Then we need to select the blocks containing the tags we want to rename:
So using both new and old versions of TagRename utility we can fully rename the tags in new and migrated Historian installations.
Best Regards
The post Historian Tag Rename appeared first on EVERDYN.