FunctionalComponent Property

General info

Label

Functional Component

Description

This determines in which service component the object is functional. The default zero value denotes the Master Core.

Data type

Int64

Default value

0

Min value

0

Type

Regular

Code

12135

Symbolic name

MODEL_PROP_FUNCTIONALCOMPONENT

Lua access code

inmation.model.properties.FunctionalComponent

Available since

1.64.0.7456

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_HAS_DEFAULT The property has a default value as standard.
PROP_HAS_LOLIMIT The property has a low limit.

Examples

Read from or write to the FunctionalComponent property.

  • Lua

  • C#

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

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

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