Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

SPCProcessXRSSet

  • Last UpdatedJul 18, 2023
  • 1 minute read

Sets the process mean, range and standard deviation overrides for the specified SPC tag. The values entered here will override Plant SCADA'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 [, sClusterName] )

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.

sClusterName:

Specifies the name of the cluster of the SPC tag.

Return Value

0 (zero) if successful, otherwise an error number is returned.

SPCProcessXRSGet

Example

See SPCProcessXRSGet.

See Also

SPC Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in