From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Please, we need a little more information if any of us are to help out. Do you have 20 sets of data or 20 points? You want to pick 5 points at random to determine the range? Is the data vs. time, X vs. Y or just sequential? How is the data collected (1D array, 2D array, cluster, string, numerics, etc.)?
You've asked a couple of question that seem to indicate you want to do some SPC. There is an add-on called the LabVIEW Statistical Process Control Toolkit tha comes with examples of histograms, R Charts, and Process Capability. I've only used the toolkit occasionally but I know it would have taken a lot more than a day to write all of the necessary VIs so the cost ($495) was easy to justify.