Configure the affix string
- Last UpdatedJul 25, 2024
- 1 minute read
In scenarios when the same application is used on multiple nodes and connected to the same Historian Server, you can use a unique suffix or prefix to differentiate between tags from different nodes. You can configure the string via WindowMaker or by manually editing the ‘dhistcfg.ini’ file on each node.
-
Open WindowMaker.
-
On the File menu, select Configure, and then select Historical Logging. In the Historical Logging configuration screen, select the Historian logging tab.
-
Select the Enable Storage to Historian checkbox.
-
Select Always affix unique string checkbox.
-
Choose between Prefix unique string and Suffix unique string.
-
Enter the string in the Unique string field. The string can be a maximum of 6 characters.
-
Select OK.
Manually editing the affix string in the .ini file
You can manually update the affix string by editing the dhistcfg.ini file available within the application folder on each node.
-
Navigate to the application folder.
-
Edit the dhistcfg.ini file.
Example1: Assign a prefix unique string of "aa"
szHistorianNode=<MachineName>
bStorageLoggingEnabled=1
bAffixEnabled=1
bPrefixEnabled=1
bSuffixEnabled=0
szHistUniqueString=aa
Example2: Assign a suffix unique string of "xx"
szHistorianNode=<MachineName>
bStorageLoggingEnabled=1
bAffixEnabled=1
bPrefixEnabled=0
bSuffixEnabled=1
szHistUniqueString=xx
-
Save and close the .ini file.
Any changes will be affective after WindowViewer is restarted.