TESTPropVolatile Property

General info

Label

Test property volatile

Tooltip

Test property volatile

Data type

Int32

Type

Regular

Code

2035

Symbolic name

MODEL_PROP_TESTPROPVOLATILE

Available since

1.18.10.2422

Parent properties

TESTPropCompound2

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs
PROP_VOLATILE The property exists during runtime of the service only and is not saved to the image
PROP_NULLABLE This Property can have no value

Examples

Read from or write to the TESTPropVolatile property.

  • Lua

  • C#

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

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

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