ITLogDiagnosticsLastCallRecordError Property
General info
Label |
Error Records |
Description |
The number of error records from the external server. |
Data type |
UInt16 |
Type |
Regular |
Code |
2635 |
Symbolic name |
MODEL_PROP_ITLOGDIAGNOSTICSLASTCALLRECORDERROR |
Lua access code |
syslib.model.properties.ITLogDiagnosticsLastCallRecordError |
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 ITLogDiagnosticsLastCallRecordError property.
-- Read from the ITLogDiagnosticsLastCallRecordError
syslib.getvalue("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordError")
-- Write to the ITLogDiagnosticsLastCallRecordError
syslib.setvalue("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordError", 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 ITLogDiagnosticsLastCallRecordError
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordError"));
// Write to the ITLogDiagnosticsLastCallRecordError
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.ITLogDiagnosticsParam.ITLogDiagnosticsLastCallParam.ITLogDiagnosticsLastCallRecordError"));