Setting Up a Calibration Interface
A Calibration interface can contain scalar parameters, enumeration parameters, array parameters, matrix parameters, and record parameters.
Open the Calibration interface editor.
Element names must not begin with a number. If you enter a name that begins with a number, an allowed name is suggested instead. If it is not desired to open the properties editor upon an element’s creation, deactivate the Always show Edit Dialog for new elements option at the bottom of the properties editor. |
Add a scalar parameter.
In the Elements palette or toolbar, click the button (




/
) for the parameter you want to create.
The properties editor opens.
Edit the element properties and click OK.
Add an enumeration.
In the Elements palette, click the
Enumeration Parameter button.
The Enumeration Selection window opens. All enumeration types defined in the database/workspace are displayed in the Enumeration Type combo box.
- Select an enumeration type from the combo box.
Click OK to close the selection window.
The properties editor opens.
Edit the enumeration properties and click OK.
Alternatively, you can add an enumeration the same way as described in Including a Component as Complex Element, or you can drag it from the Component Manager onto the Outline tab of the Calibration interface editor.
Add an array or matrix.
In the Elements palette or toolbar, click the
Array or
Matrix button.
The properties editor opens.
In the X (and Y) field(s), enter the maximum size of the array/matrix.
To specify a variant size, use the Variant Size field(s) to select the system constants you want to use as dimension values.
Step 5 describes the creation of a system constant. Both normal and user-defined system constants can be used. The value of a system constant should be in the range 1 ... X (or 1 ... Y).
Matrices with variant size are not supported. A matrix with variant size causes an MMdl697 error. Arrays/matrices with variable size are not available in Calibration interfaces. |
In the Basic Type combo box, assign the element type.
The basic scalar types and Enumeration and Record are available. If you select Enumeration or Record, the
following happens.
The Component combo box appears. It offers all enumerations or records in the database/workspace for selection.
- Select a suitable enumeration or record.
Adjust the other element properties according to your needs and click OK.
If you exceeded the maximum size of the element axes in the Dimension fields, the following warning opens.
The possible *
= dimension or dimension x or dimension y max size has to be between 1 and 65535. Please adjust your settings.
If the product of the X and Y dimensions of a matrix exceeds the maximum size of the matrix, the following warning opens.
The possible matrix elements max size of 1048576 has been exceeded. Please adjust your setting <number>.
- Confirm the warning with OK and adapt the dimension(s).
If you selected a system constant whose value is outside the allowed range, the following warning opens:
The Attribute * Size (<n>) is not in the allowed range of >0 and max value (<i>)
- Click Cancel to return to the properties editor, or click OK to select the system constant anyway.
Add a system constant.
In a Calibration interface, system constants can only be used to determine the variant size of an array, i.e. the system constant must be of integer type. |
In the Elements palette or toolbar, click the * Parameter button (


/
) for an integer type.
The properties editor opens.
In the Kind combo box, select System Constant.
You can also select any user-defined system constant.
- Edit the other element properties and click OK.
Include a record.
In the Insert menu, select Component.
Or
Click the
Insert Component button.
The Select Item window opens. It shows the content of the current database or workspace.
From the 1 Database or 1 Workspace list, select the record you want to add.
Click OK
to add the record.
Alternatively, you can add a record as described in Including a Component as Complex Element, or you can drag it from the Component Manager onto the Outline tab of the Calibration interface editor.
- Implement the calibration parameters.
- Edit the data for the calibration parameters.
You can change the properties of an element later in the properties editor; see Editing Element Properties.
See also
Opening an AUTOSAR Interface Editor
Editing Element Properties
Variant Size for Arrays and Matrices
Constants and System Constants
User-Defined System Constants
Scalar Types
Including a Component as Complex Element
Implementing Calibration Parameters
Data Editor – Editing Scalar Types
Data Editor – Editing Combined Types
Showing and Hiding Confirmation Dialog Windows