使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


How Do I Tell Multiple OPC Clients Apart In the Server?


Last Update: 2018/11/7

Problem:
Multiple OPC clients are connected to the server, but there is no easy way to identify them.

Solution:
Support was added for the IOPCCommon::SetClientName method in KEPServerEX version 5.7. This method allows any OPC client that connects to the server to set a name in relation to its server connection objects. The following was also done:

  1. The System Tag _OpcClientNames was added at the server's System Tag level. This tag displays the names set by clients connected to the server in a String Array.
  2. In OPC Diagnostics, a field was added for the Client Name after the Client ID in the view.

The OPC Quick Client was also updated to allow the setting of a Client Name. For more information, refer to the instructions below.

  1. To start, open the OPC Quick Client. Then, double-click on the server connection. For example, select "Kepware.KEPServerEX.V5".
  2. In Server Properties, open the Identification tab.
  3. Next, enter a name in the Client Name field to identify the server connection.
  4. Once finished, click OK.

Note: The OPC Quick Client can create multiple connections to the same or different servers. As such, a client name may be set for each connection.

Related Products
KEPServerEX