S95ObjectName Property

General info

Label

ISA-95 Object Name

Description

The name to be used for auto-creation of an associated object in the S95-Equipment model

Data type

String

Type

Regular

Code

3073

Symbolic name

MODEL_PROP_S95OBJECTNAME

Lua access code

inmation.model.properties.S95ObjectName

Available since

1.42.0.5695

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

Examples

Read from or write to the S95ObjectName property.

  • Lua

  • C#

-- Read from the S95ObjectName
inmation.getvalue("<OBJECT FULL PATH>.S95ObjectName")

-- Write to the S95ObjectName
inmation.setvalue("<OBJECT FULL PATH>.S95ObjectName", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

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