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

AVEVA™ InTouch HMI

在导入文件中使用空字符串

  • Last UpdatedAug 27, 2025
  • 1 minute read

对于字典导入文件而言,包含空字符串的字段与没有数据的字段之间是有区别的。可以指定空字符串的关键字属性包括:

注释

工程单位

OffMsg

InitialMessage

OnMsg

应用程序

ItemName

主题

在下例中,空字符串使用英文双引号 (" ") 表示:

:Comment="HI"

:MemoryDisc,Comment,Group

Tagname1,,$System

Tagname2,"",$System

其中:

Tagname1 的 Comment 字段的值为 Hi,Tagname2 的 Comment 字段的值为空注释。

Microsoft Excel 在保存文件时忽略表示空字符串的英文双引号,这会产生以下结果:

:Comment="HI"

:MemoryDisc,Comment,Group

Tagname1,,$System

Tagname2,,$System

要确保空字符串在 Excel 中能起作用,请在单元格中输入一个空格作为属性值。

Related Links