Algorithms (qmptc0121m000)

Use this session to display algorithms.

In the details session, you can define and/or maintain algorithms.

Note: 

When you define a new algorithm, you cannot fill out the Expression field until you have completed the following procedure:

  • Define an algorithm in this session.
  • If you have not defined any variables, define the variables of the expression in the Algorithm Variables (qmptc0123m000) session.
  • Link the variables to the algorithm in the Algorithm Variables (qmptc0122m000) session.
  • Select the algorithm to which you want to link an expression in the Algorithms (qmptc0121m000) session, and fill out the Expression field.

You can define an expression in the Expression field that contains variables with different characteristic units.

For example, to calculate the content of a barrel, enter the following expression:

area (in cm2) * height (in meters)

However, make sure that you convert the expression to the algorithm unit that you enter in the Algorithm Unit field. For example, if you enter cm3 in the Algorithm Unit field, you must enter the following expression in the Expression field:

area (in cm2) * height (in meters) * 100

A maximum of 99 variable codes can be used to formulate the expression of an algorithm (see session Algorithm Variables (qmptc0123m000). Any desired variable can be defined and assigned to a variable code using subsession Algorithm Variables (qmptc0122m000).

Note: If the expression for an algorithm is not valid, the algorithm cannot be used in sessions Inspection Order Lines (qmptc1101m000) and Order Specific Inspection Lines (qmptc0151m000). If an algorithm is inserted, the general data must be entered and saved first by means of option "Update". After this, it is possible to enter an expression.

Field Information

Algorithm

algorithm

Search Key

search key

Expression

Indicates the way in which the algorithm value is calculated.

You can define an expression that contains variables with different characteristic units. For example, you can calculate the content of a barrel by entering the following expression:

Area (in cm2) * Height (in meters)

However, make sure that you convert the expression to the algorithm unit that you enter in the Algorithm Unit field. For example, if you enter cm3 in the Algorithm Unit field, you must enter the following expression in the Expression field:

Area (in cm2) * Height (in meters) * 100

Algorithm Unit

The unit in which the result of the algorithm is expressed.

Note: When an algorithm is inserted, LN checks the units of the algorithm and the related characteristics, because both units must have the same physical quantity. LN does not check whether the correct conversion factors are used.