TPMOEEMonitorGeneratedStopReason Property
General info
Label |
Monitor Generated Stop Reason |
Description |
Configuration for stops generated by the monitor. |
Data type |
String |
Default value |
"{\"meta\":{\"id\":\"urn:id:104:12\"}}" |
Type |
TableSchemaBound |
Code |
14491 |
Symbolic name |
MODEL_PROP_TPMOEEMONITORGENERATEDSTOPREASON |
Lua access code |
syslib.model.properties.TPMOEEMonitorGeneratedStopReason |
Available since |
1.94 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
Schema Definition
Name: TPMMonitorGeneratedStopReason
Description:
- Columns
-
Column Data Type Nullable Unique Default Min Max Description CustomStopReasonID String true false MonitorGeneratedStopType Integer false true StopClassification Integer true false StopReason Integer true false
Examples
Read from or write to the TPMOEEMonitorGeneratedStopReason property.
-- Read from the TPMOEEMonitorGeneratedStopReason
syslib.getvalue("<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEMonitorGeneratedStopReason")
-- Write to the TPMOEEMonitorGeneratedStopReason
syslib.setvalue("<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEMonitorGeneratedStopReason", '{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}')
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the TPMOEEMonitorGeneratedStopReason
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEMonitorGeneratedStopReason"));
// Write to the TPMOEEMonitorGeneratedStopReason
Result result = sli.WriteValue(sc, new WriteItem('{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}', "<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEMonitorGeneratedStopReason"));