OpcServerGraceAddItemsDelay Property
General info
Label |
Delay Between AddItems Calls |
Description |
Delay between successive AddItems calls during subscription. |
Data type |
UInt32 |
Default value |
0 |
Type |
Regular |
Code |
5177 |
Symbolic name |
MODEL_PROP_OPCSERVERGRACEADDITEMSDELAY |
Lua access code |
syslib.model.properties.OpcServerGraceAddItemsDelay |
Available since |
1.44 |
- Parent properties
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 OpcServerGraceAddItemsDelay property.
-- Read from the OpcServerGraceAddItemsDelay
syslib.getvalue("<OBJECT FULL PATH>.OpcServerGraceSettings.OpcServerGraceAddItemsDelay")
-- Write to the OpcServerGraceAddItemsDelay
syslib.setvalue("<OBJECT FULL PATH>.OpcServerGraceSettings.OpcServerGraceAddItemsDelay", 0)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the OpcServerGraceAddItemsDelay
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.OpcServerGraceSettings.OpcServerGraceAddItemsDelay"));
// Write to the OpcServerGraceAddItemsDelay
Result result = sli.WriteValue(sc, new WriteItem(0, "<OBJECT FULL PATH>.OpcServerGraceSettings.OpcServerGraceAddItemsDelay"));