Hi,
I'm trying to see whether I can script a custom alarm to tell me when X number of consecutive points go outside some predefined UCL/ LCL values. In this example I would like to get an alarm if 240 consecutive rows in the column "HELIUM_PRESSURE" goes either above or below the UCL (15) or LCL (3). But when I run the script I get the error message:
not enough arguments in access or evaluation of 'Local , Local/*###*/({count = 0, idxStart = 0, outOfControl = 0})
I'm not sure how to fix this or whether I'm approaching the problem in the right way? Any help would be appreciated! I'm brand new to JMP (hence attaching script as an image)!
thanks