Returns SPC data for the given SPC tag. The information retrieved through this function is from the cache maintained by the client. This function will give a faster response than the related functions which access the SPC (trend) server.
This function can only be called while the SPC tag is being displayed on an SPC page.
The SPC Tag name as defined in SPC Tags.
The information to be returned:
1 - Subgroup Size
2 - No. of Subgroups
3 - Process Mean (x double bar)
4 - Process Range
5 - Process Standard Deviation
6 - Lower Specification Limit (LSL)
7 - Upper Specification Limit (USL)
8 - Cp - Process Capability Actual
9 - Cpk - Process Capability Potential
10 - Process Skewness
11 - Process kurtosis
The requested data specified by iType. It is of type REAL.
SPCSpecLimitGet, SPCProcessXRSGet, SPCSubgroupSizeGet
/* This function will check the capability of a particular SPC tag.*/
rReturn = SPCClientInfo(sTag, 8);
!rReturn holds the inherent capability value
IF rReturn > 1.0 THEN
Message(sTag + "Assessment","The process is Capable.",64);
Message(sTag + "Assessment","The process is not Capable.",64);