Create/Edit Conversion Methods
Conversion Methods are formulas and tables applied to Measurements, Characteristics, and Axis Pts. They are declared with the keyword COMPU_METHOD within the A2L file.
To create or edit Conversion Methods in an A2L file use the Create or Edit tools from the Edit group in the main toolbar while the Conversion Methods tab is active in the A2L file area. A dialog will open similar to that shown in Figure 1.
Refer to Table 1 below for a brief description of each property. Use the OK button to close the dialog and save any changes. Use the Cancel button to close the dialog without saving any changes.
Table 1: Conversion Method Properties
Property | Description |
---|---|
Name | Unique identifier of the Conversion Method. Here are the main requirements for this field:
|
Long Identifier | Comment or description. |
Conversion Type | The ASAP2 Editor supports 5 types of conversions:
|
Conversion Table | Table used for the TAB_x conversion types. Dropdown selections come from the Verbal Conversion Tables tab. |
Formula | Formula specified as a function of x. Multiple references use syntax X1, X2, X3, etc where X1 references the first input, X2 the second, etc. If there is only one reference in the formula then X can be used instead of X1. |
Coefficients'a' through 'f' | Coefficient values for the Conversion Type = RAT_FUNC.f(x)=(axx + bx + c)/(dxx + ex + f) |
Format | Display formatting applied to numerical values. This Format will be overridden by any Format properties specific to Measurements, Characteristics, and Axis Pts. The syntax for this field is: %Length.Layout
|
Units | A physical unit label like Volts, RPM, kph, etc. |