ITLogDiagnosticsLastCallRecordCount Property
General info
Label |
Record Count |
Description |
The number of records fetched from the external server. |
Data type |
UInt16 |
Type |
Regular |
Code |
2633 |
Symbolic name |
MODEL_PROP_ITLOGDIAGNOSTICSLASTCALLRECORDCOUNT |
Lua access code |
syslib.model.properties.ITLogDiagnosticsLastCallRecordCount |
Available since |
1.32 |
- Parent properties
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 ITLogDiagnosticsLastCallRecordCount
property.
-- Read from the ITLogDiagnosticsLastCallRecordCount
syslib.getvalue("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordCount")
-- Write to the ITLogDiagnosticsLastCallRecordCount
syslib.setvalue("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordCount", VALUE)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the ITLogDiagnosticsLastCallRecordCount
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordCount"));
// Write to the ITLogDiagnosticsLastCallRecordCount
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordCount"));