ITLogConnStatus Property

General info

Label

Connection Status

Description

The most recent connection status of the ITLog.

Data type

String

Type

Regular

Code

2958

Symbolic name

MODEL_PROP_ITLOGCONNSTATUS

Lua access code

inmation.model.properties.ITLogConnStatus

Available since

1.36.2.5196

Parent properties

ITLogDiagnosticsParam

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.

Examples

Read from or write to the ITLogConnStatus property.

  • Lua

  • C#

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

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

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