How-To Guides
Analytics Guides
Use the SPC Charts Function
6min
you can use the spc charts processor function to analyze tag data, assess performance, and ensure adherence to quality standards using statistical process control (spc) methods it calculates key metrics such as the current mean, standard deviation, and process capability (cp, cpk, cpu, cpl) additionally, it evaluates specification limits (usl and lsl), computes performance metrics like cpm and cpkm, and flags any violations of nelson rules to help you identify trends and potential issues in your manufacturing process user scenario review the following scenario for the spc chart processor function then, you will simulate process data, configure the spc chart parameters, and interpret the statistical outputs to monitor and optimize process quality in an assembly line manufacturing precision components, maintaining consistent dimensions within specified tolerances is critical for product reliability using the spc chart processor function, operators monitor the process performance and identify deviations from quality standards for example, a violation of nelson rule 1 flags a critical issue where a measurement exceeds three standard deviations, prompting immediate corrective action step 1 add a device follow the steps to connect a device docid\ ish7bqhzxswtdx8vbnszb and configure the following parameters device type simulator driver name generator enable alias topics select the checkbox step 2 add tags after connecting the device, add the following tag see add tags docid\ xgwokqbtpevii7or82ll0 to learn more tag 1 name select s random value generator value type select float64 polling interval enter 5 tag name enter tag1 min value enter 1 max value enter 10 step 3 create analytics flows you can now create the analytics flows using data from the device and tag you previously created to create an analytics flow with the spc charts processor function navigate to analytics on the analytics canvas, click add processor the create a processor dialog box displays select datahub subscribe in the topic field, click the search icon, select the device you previously created, and then select the alias topic for tag1 click save click add processor again and select the spc charts processor the following information defines this function window size enter the number of values you want the function to consider target mean this represents the desired average value for the process it serves as a reference point for evaluating process performance against expectations time interval specifies the frequency at which the spc chart publishes data click save connect the datahub subscribe processor (tag tag1 ) to the spc charts processor with a wire and use the events connection on the analytics canvas, click save the configured analytics flows should look like the following step 4 view output of processor click the view icon in the spc charts processor to view the output values before you can see any output, the input window size needs to be filled after that, the output will include the metrics along with its timestamp