KPISPCLimitCalcEndTime Property

General info

Label

SPC Limit Calc End Time

Description

The end time that is used to calculate the limits and mean for the SPC KPI (Note: end time must be greater than the start time and the value can be an actual or a relative date [e.g., 6/12/2015 or *-7Days]).

Data type

String

Type

Regular

Code

2086

Symbolic name

MODEL_PROP_KPISPCLIMITCALCENDTIME

Lua access code

syslib.model.properties.KPISPCLimitCalcEndTime

Available since

1.20

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.

Examples

Read from or write to the KPISPCLimitCalcEndTime property.

  • Lua

  • C#

-- Read from the KPISPCLimitCalcEndTime
syslib.getvalue("<OBJECT FULL PATH>.KPISPCLimitCalcEndTime")

-- Write to the KPISPCLimitCalcEndTime
syslib.setvalue("<OBJECT FULL PATH>.KPISPCLimitCalcEndTime", "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 KPISPCLimitCalcEndTime
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.KPISPCLimitCalcEndTime"));
// Write to the KPISPCLimitCalcEndTime
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.KPISPCLimitCalcEndTime"));