OpcUaADApplicationName Property
General info
Label |
Application Name |
Description |
Descriptive name of the application. |
Data type |
String |
Default value |
"system:inmation" |
Type |
Regular |
Code |
971 |
Symbolic name |
MODEL_PROP_OPCUAADAPPLICATIONNAME |
Lua access code |
syslib.model.properties.OpcUaADApplicationName |
Available since |
1.0 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_HAS_DEFAULT | The property has a default value as standard. |
Examples
Read from or write to the OpcUaADApplicationName property.
-- Read from the OpcUaADApplicationName
syslib.getvalue("<OBJECT FULL PATH>.OpcUaConnectorOptions.OpcUaCertificateSecurity.OpcUaOwnCertificateDetails.OpcUaADApplicationName")
-- Write to the OpcUaADApplicationName
syslib.setvalue("<OBJECT FULL PATH>.OpcUaConnectorOptions.OpcUaCertificateSecurity.OpcUaOwnCertificateDetails.OpcUaADApplicationName", "system:inmation")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the OpcUaADApplicationName
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.OpcUaConnectorOptions.OpcUaCertificateSecurity.OpcUaOwnCertificateDetails.OpcUaADApplicationName"));
// Write to the OpcUaADApplicationName
Result result = sli.WriteValue(sc, new WriteItem("system:inmation", "<OBJECT FULL PATH>.OpcUaConnectorOptions.OpcUaCertificateSecurity.OpcUaOwnCertificateDetails.OpcUaADApplicationName"));