Difference between revisions of "Activity:CreateOPCUAConnection (Activity)"
(→Arguments) |
(→See also) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 41: | Line 41: | ||
| ClientCertificate|| X509Certificate2|| In || Configures the client certificate to use for the OPC UA connection. The client certificate will be used by the server to authenticate the client. Connections no validated successfully will be forcefully closed by the server. | | ClientCertificate|| X509Certificate2|| In || Configures the client certificate to use for the OPC UA connection. The client certificate will be used by the server to authenticate the client. Connections no validated successfully will be forcefully closed by the server. | ||
|- align="left" | |- align="left" | ||
− | | CertificateStoreType|| {{String_MSDN}}|| In || Configures the certificate store type to use for the retrieval of the client certificate when it is not directly configured. The default is to search the Windows certificate storage | + | | [[#CertificateStoreType|CertificateStoreType]] || {{String_MSDN}}|| In || Configures the certificate store type to use for the retrieval of the client certificate when it is not directly configured. The default is to search the Windows certificate storage. |
− | + | ||
− | + | ||
|- align="left" | |- align="left" | ||
− | | CertificateStorePath|| {{String_MSDN}}|| In || Configures the certificate store path to use for the retrieval of the client certificate when it is not directly configured. The default is to search for certificates installed to the local machine (as opposed to the current user). | + | | [[#CertificateStorePath|CertificateStorePath]] || {{String_MSDN}}|| In || Configures the certificate store path to use for the retrieval of the client certificate when it is not directly configured. The default is to search for certificates installed to the local machine (as opposed to the current user). |
|- align="left" | |- align="left" | ||
| CertificateSubject|| {{String_MSDN}}|| In || Configures the subject of the client certificate when retrieving that from the certificate storage. | | CertificateSubject|| {{String_MSDN}}|| In || Configures the subject of the client certificate when retrieving that from the certificate storage. | ||
Line 61: | Line 59: | ||
| Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed | | Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed | ||
|} | |} | ||
+ | |||
+ | ==== CertificateStoreType ==== | ||
+ | * "Windows" ... for a windows certificate store, | ||
+ | * "Directory" ... for a directory certificate store. | ||
+ | ==== CertificateStorePath ==== | ||
+ | The value has to be a combination of the OPA UA ''StoreLocation'' and ''StoreNames'' constants, for example "LocalMachine\My". | ||
+ | |||
+ | Constants that identify certificate store locations. | ||
+ | * "CurrentUser" ... The store assigned to the current user. | ||
+ | * "LocalMachine" ... The store assigned to the local machine. | ||
+ | |||
+ | Constants that identify certificate store names. | ||
+ | * "UA Applications" ... The store used for UA application certificates. | ||
+ | * "UA Certificate Authorities" ... The store used for UA certificate authorities certificates. | ||
+ | * "My" ... The store used for personal certificates. | ||
+ | * "Root" ... The store used for trusted root certificate authorities. | ||
[[Category:OPC|CreateOPCUAConnection (Activity)]] | [[Category:OPC|CreateOPCUAConnection (Activity)]] | ||
Line 75: | Line 89: | ||
==See also== | ==See also== | ||
+ | * [[OPC UA (Plugin)]] | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
* [[Activity:ConfigureOPCUAVariable (Activity)]] | * [[Activity:ConfigureOPCUAVariable (Activity)]] | ||
* [[Activity:CreateOPCUAScope (Activity)]] | * [[Activity:CreateOPCUAScope (Activity)]] | ||
+ | * [http://documentation.unified-automation.com/uasdkdotnet/2.3.1/html/namespaceUnifiedAutomation.html UA Bundle SDK .NET] | ||
− | [[Category:OPC]] | + | [[Category:OPC|CreateOPCUAConnection (Activity)]] |
Latest revision as of 10:49, 6 March 2024
The CreateOPCUAConnection creates a connection to an OPC UA data source. A valid connection is the initial step in communicating with OPC sources.