RecentConfigWarning Property
General info
Label |
Recent Config Warning |
Description |
Message configuration name related to recent warning. |
Data type |
String |
Type |
Regular |
Code |
12370 |
Symbolic name |
MODEL_PROP_RECENTCONFIGWARNING |
Lua access code |
syslib.model.properties.RecentConfigWarning |
Available since |
1.66 |
- 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 RecentConfigWarning property.
-- Read from the RecentConfigWarning
syslib.getvalue("<OBJECT FULL PATH>.MSIProzessorDiagnostics.RecentConfigWarning")
-- Write to the RecentConfigWarning
syslib.setvalue("<OBJECT FULL PATH>.MSIProzessorDiagnostics.RecentConfigWarning", "new 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 RecentConfigWarning
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.MSIProzessorDiagnostics.RecentConfigWarning"));
// Write to the RecentConfigWarning
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.MSIProzessorDiagnostics.RecentConfigWarning"));