RedundancyLatency Property
General info
Label |
Redundancy Latency |
Description |
If the value of a referenced item is older than this time period (in milliseconds), it will be ignored. |
Data type |
Int32 |
Default value |
60000 |
Type |
Regular |
Code |
2892 |
Symbolic name |
MODEL_PROP_REDUNDANCYLATENCY |
Lua access code |
syslib.model.properties.RedundancyLatency |
Available since |
1.34 |
- Parent classes
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. |
Examples
Read from or write to the RedundancyLatency property.
-- Read from the RedundancyLatency
syslib.getvalue("<OBJECT FULL PATH>.RedundancyLatency")
-- Write to the RedundancyLatency
syslib.setvalue("<OBJECT FULL PATH>.RedundancyLatency", 60000)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the RedundancyLatency
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.RedundancyLatency"));
// Write to the RedundancyLatency
Result result = sli.WriteValue(sc, new WriteItem(60000, "<OBJECT FULL PATH>.RedundancyLatency"));