ITLogDiagnosticsCallTime Property

General info

Label

Call Time

Description

The time of the last runtime of the IT Log obejct.

Data type

DateTime

Type

Regular

Code

2613

Symbolic name

MODEL_PROP_ITLOGDIAGNOSTICSCALLTIME

Lua access code

syslib.model.properties.ITLogDiagnosticsCallTime

Available since

1.30.6.4266

Parent properties

ITLogDiagnosticsParam

Attributes

Name Tooltip
PROP_VISIBLE
PROP_VOLATILE

Examples

Read from or write to the ITLogDiagnosticsCallTime property.

  • Lua

  • C#

-- Read from the ITLogDiagnosticsCallTime
syslib.getvalue("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsCallTime")

-- Write to the ITLogDiagnosticsCallTime
syslib.setvalue("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsCallTime", syslib.currenttime())
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the ITLogDiagnosticsCallTime
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsCallTime"));
// Write to the ITLogDiagnosticsCallTime
Result result = sli.WriteValue(sc, new WriteItem(DateTime.Now, "<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsCallTime"));