AlgorithmsQuality inspections are not always simply a matter of taking measurements. Based on measurements, complex calculations must sometimes be performed, and these calculations may or may not include product specifications as part of the calculation. For this purpose, algorithms are used. Example By measuring the amount of sugar in wine, you can determine the amount of alcohol the wine is going to contain. To define algorithms Step 1. Define the algorithm in the Algorithms (qmptc0121m000) session. Note: You must wait until step 4 before you can enter an expression in the Expression field yet. Step 2. Define the variables of the expression in the Algorithm Variables (qmptc0123m000) session. Step 3. Link the variables you want to use in the algorithm to the characteristics or aspect/ characteristic combinations in the Algorithm Variables (qmptc0122m000) session. The used characteristics must be of characteristic type Fraction or Integer, and the method must be set to Algorithm (see the Characteristics (qmptc0101m000) session). Step 4. In the Algorithms (qmptc0121m000) session, select the algorithm to which you want to link the expression, and enter the expression (composed of the linked variables) in the Expression field. You can use standard mathematical expressions (logarithms, sine, cosine, and so on) in algorithms. For more information, refer to Syntax for expressions. The result of calculating an algorithm is entered in the Inspection Order Test Data (qmptc1115m000) session. In the Specific menu, click Evaluate Algorithm to calculate the algorithm.
| |||