Analyzing Multiple Measurements


Using an Analysis on Several Similar Measurements

Analyzing multiple, similar measurements is one of the most important automation tasks in measurement applications. Since FlexPro manages each analysis as a dynamic object network, you only need to "exchange" the data sets upon which the analysis is based.

To do this, you set up several folders in the project database. Each folder contains the respective data sets from a certain measurement. FlexPro automatically creates these folders when importing measurement data files if you select Per file under Data[Import Settings] > Subfolders. Here, it is important that the data sets from the various measurements are always given the same name. You create the documents and analysis objects in the parent folder.

Now for example, before you update a document and thus trigger a calculation, activate the subfolder from which the data is to be taken by selecting it in the Activate or deactivate subfolder drop down list at the top of the Folders window. All of the objects in the activated folder are then displayed in the parent folder. FlexPro first searches in the activated folder for all data sets referenced in formulas, curves, etc., and then, if they are not found there, it searches within the parent folder.

For this to work for all references to the data, only the name and not the entire path name of the data set must be entered. In the curve, for example, Signal should be entered as the data set and not \Measurement1\Signal. In the latter case, this would mean that the data set would continue to be taken from Measurement1 after the folder Measurement2 is activated. You can make sure that this is the case by activating a measurement folder already before creating the analysis and documentation and then selecting the data sets blended-in, e.g. when creating a diagram. FlexPro recognizes that a simple name is enough to refer to the data set and then only enters the name as a reference.

There is an Analysis.fpd project database located on your hard drive. In the project database there is an Automated Analysis folder where you can find an example covering the topic above.

The project database path name is usually C:\Users\Public\Documents\Weisang\FlexPro\2021\Examples\Analysis.fpd or C:>Users>Public>Public Documents>Weisang>FlexPro>2021>Examples>Analysis.fpd.

Creating an Analysis Covering Several Measurements

This type of analysis lets you find trends and outliers, for instance, in a series of measurements. What is important in this case is that the analysis is dynamic in relation to the number of measurements to be analyzed, which means that it is not changed after completed on additional measurements, but only has to be updated.

You can achieve this using FlexPro indexing and the DataQuery object. The Indexer scans all of your measurements and stores the aggregate data in a database. You can now use the data query to access any data sets, such as all channels called “Pressure” with a minimum value above 10 Pa. The data query provides the results as a List. You can then use this list as a starting point for analyses and presentations. When you add a list containing source data into a FlexPro analysis object, a list with the same number of results is output. When you display a list in a diagram, the diagram shows the same number of curves as items contained in the list. It is therefore possible to create an analysis that analyzes exactly the data sets you require and that is dynamic in relation to the quantity of data.

A more detailed tutorial is available under: Test Series Analysis Tutorial.


See Also

Analysis Automation

Updating Objects

Share article or send as email:

You might be interested in these articles