Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

配置附加字符串

  • Last UpdatedSep 24, 2024
  • 1 minute read

在多个节点上使用相同的应用程序,并连接到相同的 Historian 服务器时,可以使用唯一后缀或前缀来区分不同节点的标记。您可以通过 WindowMaker 或者通过手动编辑每个节点上的“dhistcfg.ini”文件来配置字符串。

  1. 打开 WindowMaker。

  2. 文件菜单上,选择配置,然后选择历史记录。在“历史记录”配置屏幕中,选择 Historian 记录选项卡。

  3. 选中启用存储到 Historian 复选框。

  4. 选中始终附加唯一字符串复选框。

  5. 前缀唯一字符串后缀唯一字符串中选择一个。

  6. 唯一字符串字段中输入字符串。字符串最多可以包含 6 个字符。

  7. 选择确定

在 .ini 文件中手动编辑附加字符串。

您可以通过编辑每个节点上的应用程序文件夹中提供的 dhistcfg.ini 文件来更新附加字符串。

  1. 导航到应用程序文件夹。

  2. 编辑 dhistcfg.ini 文件。

    示例 1:指定前缀唯一字符串“aa”

    szHistorianNode=<MachineName>

    bStorageLoggingEnabled=1

    bAffixEnabled=1

    bPrefixEnabled=1

    bSuffixEnabled=0

    szHistUniqueString=aa

    示例 2:指定后缀唯一字符串“xx”

    szHistorianNode=<MachineName>

    bStorageLoggingEnabled=1

    bAffixEnabled=1

    bPrefixEnabled=0

    bSuffixEnabled=1

    szHistUniqueString=xx

  3. 保存并关闭 .ini 文件。

    重新启动 WindowViewer 之后,所有更改都将生效。