Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Rule Checker(Nelson) VI

Owning Palette: Control Charts VIs

Installed With: Statistical Process Control Toolkit

Applies Nelson tests to the input points array. Given a set of control chart points, and the center line and std error from the control chart VIs, this VI will check whether points are out of control (or non-randomly distributed) according to the enabled Nelson tests.

The front panel of this VI lists which tests you can enable. The VI outputs the rules that are violated along with the first point and length of the sequence of points violating the tests, and a list of all points violating any of the enabled tests.

points contains the points plotted on the control chart, which normally is the output of one of the control chart VIs, such as an x-bar array.
center line is the center line from the control chart VI limits cluster.
std error is the standard error associated with CL from the control chart VI limits cluster.
test enable contains the run rules to apply to the points array. Each element of the array corresponds to a test 1, 2, 3, … 8 from element 0 to 7, in that order (see front panel for test explanation). Set the corresponding element to TRUE for each test you want to apply. (An easy way to do this from the diagram is to use an unsigned 8-bit integer, set the appropriate bits, and then use the number to binary array conversion.)
tests flagged lists the tests violated and which sequence of points violated the test.
Test is the test violated (1, 4, and so forth).
first point is the index of the first point of the sequence of points violating the given test.
run length is the length of the sequence of points violating the given test.
out of control points lists the index of each point in the points array that the VI identified as out of control according to the applied tests.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit