AllocateTimeout Property

General info

Label

Allocate timeout

Tooltip

Specifies the timeout to allocate a connection to the core to process a request

Data type

UInt32

Default value

5000

Type

Regular

Code

2819

Symbolic name

MODEL_PROP_ALLOCATETIMEOUT

Available since

1.34.1.5103

Parent properties

WebAPICommunication

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_UNIT The property has an engineering unit

Examples

Read from or write to the AllocateTimeout property.

  • Lua

  • C#

-- Read from the AllocateTimeout
inmation.getvalue("/System/Core/obj.AllocateTimeout")

-- Write to the AllocateTimeout
inmation.setvalue("/System/Core/obj.AllocateTimeout", 5000)
string path = "/System/Core/obj.AllocateTimeout";
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the AllocateTimeout
Result result = sli.ReadValue(sc, new ReadItem(path));
// Write to the AllocateTimeout
Result result = sli.WriteValue(sc, new WriteItem(5000, path));