inmationDaServerClassName Property

General info

Label

Virtual Class Name

Description

Change this name only in case you intend to run multiple logical OPC DA Servers on a distinct Host Computer.

Data type

String

Default value

"VirtualOpc.DaServer"

Type

Regular

Code

323

Symbolic name

MODEL_PROP_INMATIONDASERVERCLASSNAME

Lua access code

syslib.model.properties.inmationDaServerClassName

Available since

1.6.0.999

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs.
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.
PROP_TAG The property is a tag name supplier for the object.
PROP_HAS_DEFAULT The property has a default value as standard.

Examples

Read from or write to the inmationDaServerClassName property.

  • Lua

  • C#

-- Read from the inmationDaServerClassName
syslib.getvalue("<OBJECT FULL PATH>.inmationDaServerClassName")

-- Write to the inmationDaServerClassName
syslib.setvalue("<OBJECT FULL PATH>.inmationDaServerClassName", "VirtualOpc.DaServer")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the inmationDaServerClassName
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.inmationDaServerClassName"));
// Write to the inmationDaServerClassName
Result result = sli.WriteValue(sc, new WriteItem("VirtualOpc.DaServer", "<OBJECT FULL PATH>.inmationDaServerClassName"));