SPCProcessXRSSet
Sets the process mean, range and standard deviation overrides for the specified SPC tag. The values entered here will override CitectSCADA's automatic calculations, and the overrides specified in the SPC Tags definition.
This function is a blocking function. It will block the calling Cicode task until the operation is complete.
This function can only be called while the SPC tag is being displayed on an SPC page.
Syntax
SPCProcessXRSSet(sSPCTag, rMean, rRange, rStdDev [, ClusterName] )
sSPCTag:
The SPC Tag name as defined in SPC Tags.
rMean:
The new value of process mean (x double bar) to set.
rRange:
The new value of process range to set.
rStdDev:
The new value of process standard deviation to set.
ClusterName:
Specifies the name of the cluster of the SPC tag.
Return Value
0 (zero) if successful, otherwise an error number is returned.
Related Functions
Example
See SPCProcessXRSGet
See Also