没有合适的资源?快使用搜索试试~ 我知道了~
首页OPC 客户端应用开发手册
ClientAce provides tools to help developers easily build an OPC client application. ClientAce consists of two main parts: the .NET Application Programming Interface (API) and the DA Junction
资源详情
资源评论
资源推荐

ClientAce User Manual
© 2017 PTC Inc. All Rights Reserved.

ClientAce
Table of Contents
1
ClientAce User Manual
1
Table of Contents
2
Contents
5
Overview
5
System and Application Requirements
6
Runtime Requirements
8
ClientAce .NET API Assembly
9
EndPointIdentifier Class
9
PkiCertificate Class
10
toDER Method 11
fromDER Method 12
toWindowsStore Method 13
toWindowsStoreWithPrivateKey Method 15
fromWindowsStore Method 16
fromWindowsStoreWithPrivateKey Method 19
ServerIdentifier Class
21
ServerCategory Enumeration
22
WinStoreLocation Enumeration
22
OpcServerEnum Object
22
ClsidFromProgID Method 23
EnumComServer Method 24
getCertificateForEndpoint Method 26
getEndpoints Method 28
Kepware.ClientAce.OpcDaClient Namespace
29
BrowseElement Class 30
ConnectInfo Class 30
DaServerMgt Class 33
ItemIdentifier Class 33
ItemResultCallback Class 34
ItemProperty Class 34
ItemValue Class 34
ItemValueCallback Class 35
QualityID Class 36
ResultID Class 37
UserIdentityToken Class 39
www. ptc.com
2

ClientAce
UserIdentityTokenCertificate Class 40
UserIdentityTokenIssuedToken Class 40
UserIdentityTokenUserPassword Class 40
BrowseFilter Enumeration 40
Property ID Enumeration 40
ServerState Enumeration 42
ReturnCode Enumeration 42
UserTokenType Enumeration 42
DaServerMgt Object
43
AccessRights Enumerated Values 43
DataChanged Event 44
ReadCompleted Event 46
ServerStateChanged Event 49
WriteCompleted Event 50
Browse Method 52
Connect Method 57
Disconnect Method 61
Get Properties Method 61
Read Method 63
ReadAsync Method 69
Subscribe Method 72
SubscriptionModify Method 75
SubscriptionAddItems Method 77
SubscriptionCancel Method 79
SubscriptionRemoveItems Method 80
Write Method 82
WriteAsync Method 87
IsConnected Property 89
ServerState Property 89
ClientAceDA_Junction
90
Project Setup
92
DA Junction Configuration Window 92
A Sample Project Using DA Junction with VB.NET or C# 97
Item Update Rate 107
Disabling DataChange While the Control Has Focus 109
Additional Controls
111
ItemBrowser Control Properties
111
Adding an ItemBrowser Control 116
www. ptc.com
3

ClientAce
OpcDaItem Class 120
NodeType Enumerated Values 121
ServerBrowser Control Properties
121
Adding a ServerBrowser Control 124
OPCType Enumerated Values 126
OPCUrl Class
127
KEPServerEX Controls
127
Adding a ChannelSetting Control 128
Adding a ServerState Control 132
Data Types Description
134
Applying ClientAce
136
Licensing ClientAce
136
Upgrading ClientAce
138
Signing a Client Application
138
Deploying a Client Application
140
Visual Studio 2003 and Visual Studio 2005 (.NET 2.0.0.x Assemblies) 140
Visual Studio 2008 (.NET 3.5.0.x Assemblies) 141
Visual Studio 2010, 2012, and 2013 (.NET 4.0.2.x Assemblies) 142
Troubleshooting
144
ASP .NET Development Incompatibility
144
CoInitializeSecurity
144
Converting Visual Studio 2008 to Visual Studio 2010
150
Microsoft Visual Studio Environment Configuration
150
Missing Controls
151
Referencing Controls
156
Removing Blank Toolbar Options after Uninstalling ClientAce (VS 2005)
156
Visual Studio 2008, 2010, 2012, and 2013
157
Appendix
158
Deconstructing the OPCQuality Field
158
UAC Self Elevation
160
Index
162
www. ptc.com
4

ClientAce
Help version 1.104
Contents
Overview
System and Application Requirements
ClientAce .NET API Assembly
ClientAceDA_Junction
Additional Controls
Data Types Description
Applying ClientAce
Troubleshooting
Appendix
ClientAce and KEPServerEX are trademarks of Kepware Technologies. Other company and product names
mentioned herein are the trademarks or registered trademarks of their respective owners.
© 2017 PTC Inc. All Rights Reserved.
Overview
ClientAce provides tools to help developers easily build an OPC client application. ClientAce consists of two
main parts: the .NET Application Programming Interface (API) and the DA Junction. Descriptions of the parts
are as follows:
l ClientAce .NET API: The ClientAce .NET API provides C# and Visual Basic .NET language users with a
simple, intuitive, and optimized class library to quickly develop OPC client applications for accessing
OPC servers. For more information, refer to ClientAce .NETAPI Assembly.
l ClientAceDA Junction: The ClientAce DA Junction is a customized .NET control that enables Visual
Basic .NET or C# programmers to develop OPC client applications that can access a variety of OPC
servers. No detailed knowledge of OPC Data Access (DA) interfaces is required. The DA Junction will
perform the connection handling procedure between the custom client application and the OPC
server, and will monitor and reconnect when necessary. For more information, refer to ClientAceDA_
Junction.
Note: When building advanced custom OPC client applications that require more control over OPC
functionality, the ClientAce .NET API is recommended.
Additional Controls
For more information on other controls that can be used in the Visual Studio Environment, refer to Additional
Controls.
www. ptc.com
5
剩余165页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论0