Application is a laser micrometer UDP transfer of height and width values. I have expression tags with historian tied into SPC and tag history calculations. here is the expression for one of the tags:
if({[.]11001/DimY} > 0 && {[.]../Taymer/LineMoving},
forceQuality({[.]11001/DimY}, 192), forceQuality({[.]11001/DimY}, 600))
Simply forcing the quality to 600 does not exclude it from the SPC sample collection when the line is not running. What is a good way to disable the SPC samples when Line is not moving? Apologies if this belongs in the MES forum but I was hoping there would be a way to modify the expression here, Thanks.