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

inmation.model.properties.ITLogDiagnosticsCallTime

Available since

1.30.6.4266

Parent properties

ITLogDiagnosticsParam

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.

Examples

Read from or write to the ITLogDiagnosticsCallTime property.

  • Lua

  • C#

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

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

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