Main Content

Export Variation Points for AUTOSAR Calibration Data

You can export variation points for AUTOSAR calibration data, including:

  • Parameters — Calibration, shared internal, instance-specific, or constant memory

  • Per-instance memory — C- typed or AR-typed

  • Inter-runnable variables (IRVs) — Implicit or explicit

You can model calibration data in combination with different types of variant conditions. Model the variant conditions by usingVariant SourceandVariant Sinkblocks,Variant Subsystemblocks, or model reference variants. When you build your model, the exported AUTOSAR XML (ARXML) files contain the conditionally used data elements and their variation points.

For example, suppose that you open an AUTOSAR component model containing aVariant Subsystemblock, which models two variant implementations of a subsystem, VAR1 and VAR2.

In VAR1, which is enabled whenrainSensor == 1, you define a parameter namedscaleand reference it in a block. When you build the model, the exported ARXML contains a variation point description for the parameter. In the variation point SHORT-LABEL, the parameter name is prefixed withvp. In this example, the description indicates that thescaleparameter is used when variant conditionrainSensor == 1is true.

 vpscale  /vss_pkg/vss_dt/SystemConstants/rainSensor == 1 

See Also

||

Related Examples

More About