5.1.79. Platform code version (psc_PlatformVersion)

Get the version information for the ECU's platform code.

5.1.79.1. Supported targets

All targets

5.1.79.2. Required license

None (Main library). (See Section 2.3, “Licensed Features”.)

5.1.79.3. Description

Gets the version information for the ECU's platform code. The version number is composed of three fields, major, minor and sub-minor, typically written as major.minor.sub-minor. The version can be used by the application for version control or diagnostics.

5.1.79.4. Inports

  • sim_major_ver

    Only used under simulation and when the parameter Provide simulation inports is ticked. The outport major_ver is set to the value of this inport for simulation purposes.

    Range: [0, 65535]

  • sim_minor_ver

    Only used under simulation and when the parameter Provide simulation inports is ticked. The outport minor_ver is set to the value of this inport for simulation purposes.

    Range: [0, 65535]

  • sim_sub_minor_ver

    Only used under simulation and when the parameter Provide simulation inports is ticked. The outport sub_minor_ver is set to the value of this inport for simulation purposes.

    Range: [0, 65535]

5.1.79.5. Outports

  • major_ver

    The major version number of the platform code. Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range. The signal attached to the outport must be set as ExportedGlobal.

    Range: [0, 65535]

  • minor_ver

    The minor version number of the platform code. Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range. The signal attached to the outport must be set as ExportedGlobal.

    Range: [0, 65535]

  • sub_minor_ver

    The sub-minor version number of the platform code. Under simulation, if the Provide simulation inports parameter isn't ticked, the outport is set to the minimum of its range. The signal attached to the outport must be set as ExportedGlobal.

    Range: [0, 65535]

5.1.79.6. Mask parameters

5.1.79.7. Notes

None.