Error -301139 Using the ECU Measurement and Calibration Toolkit

Updated Apr 28, 2023

Reported In

Software

  • LabVIEW
  • ECU Measurement and Calibration Toolkit

Issue Details

  • When using the ECU Measurement and Calibration Toolkit with LabVIEW to use ASAM (.A2L) database files, while using a interpolation table for scaling, LabVIEW gets the following error:
Error -301139 occured at MC Read NChan 1Sampl 1D Dbl.vi
ECU Measurement and Calibration Toolkit: Scaling: No scaling is defined for one or more internal values. The respective physical values have been replaced by zero or empty strings.


error.png
  • When using the A2L Viewer to view an existing A2L databases, using interpolation table for scaling, the Diagnostics Error List has the error code -301146 with the description:
ECU Measurement and Calibration Toolkit: The scaling defined for this object does not support the requested property; the scaling factor or offset cannot be derived from the current scaling. It is not linear, following the schema AX+B, where A is the scaling factor, X is the raw data, and B is the scaling offset

image.png

Solution

The measured data in the XCP command needs to be within the range given by the interpolation table, as there is no scaling factor for the interpolation.