PersistencyTimeout Property

General info

Label

Persistency Timeout

Tooltip

When set, the persisted dynamic value is not used if it is older than the specified timeout in seconds (e.g. 86400 would be the correct setting to persist the dynamic value for a maximum of one day). If not set, no timeout is used.

Data type

UInt64

Min value

0

Max value

8640000000

Type

Regular

Code

1121

Symbolic name

MODEL_PROP_PERSISTENCYTIMEOUT

Available since

1.8.1.1450

Parent properties

ArchiveOptions

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_UNIT The property has an engineering unit
PROP_HAS_LOLIMIT The property has a low limit
PROP_HAS_HILIMIT The property has a high limit
PROP_NULLABLE This Property can have no value

Examples

Read from or write to the PersistencyTimeout property.

  • Lua

  • C#

-- Read from the PersistencyTimeout
inmation.getvalue("/System/Core/obj.Dropzone.DropzoneOptions.DropzoneNewItemPreset.ArchiveOptions.PersistencyTimeout")

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

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