OpcUaTcpConnectionMaxChunkCount Property

General info

Label

Max. Chunk Count

Description

The default and maximum number of message chunks per message. Affects memory usage

Data type

Int32

Default value

0

Min value

0

Max value

1048576

Type

Regular

Code

1697

Symbolic name

MODEL_PROP_OPCUATCPCONNECTIONMAXCHUNKCOUNT

Lua access code

inmation.model.properties.OpcUaTcpConnectionMaxChunkCount

Available since

1.8.1.1450

Parent properties

OpcUaTcpConnectionOptions

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
PROP_HAS_HILIMIT The property has a high limit

Examples

Read from or write to the OpcUaTcpConnectionMaxChunkCount property.

  • Lua

  • C#

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

-- Write to the OpcUaTcpConnectionMaxChunkCount
inmation.setvalue("<OBJECT FULL PATH>.OpcUaTcpConnectionOptions.OpcUaTcpConnectionMaxChunkCount", 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 OpcUaTcpConnectionMaxChunkCount
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.OpcUaTcpConnectionOptions.OpcUaTcpConnectionMaxChunkCount"));
// Write to the OpcUaTcpConnectionMaxChunkCount
Result result = sli.WriteValue(sc, new WriteItem(0, "<OBJECT FULL PATH>.OpcUaTcpConnectionOptions.OpcUaTcpConnectionMaxChunkCount"));