|Download Help (Windows Only)|
Creates a Measurement object in memory.
ECURefNum is the task reference which links to the selected ECU. This reference is originally returned from mcECUCreate.
Configures the target address for the programming operation in the ECU. mcAddress is a C struct consisting of:
Specifies the address part of the programming address.
Extension contains the extension part of the address.
DataType sets the data type of the measurement task.
Sets the size of the measurement data and corresponds to the selected DataType.
ConversionName identifies the referred conversion object that mcConversionCreate defines.
The return value indicates the status of the function call as a signed 32-bit integer. Zero means the function executed successfully. A negative value specifies an error, which means the function did not perform the expected behavior. A positive value specifies a warning, which means the function performed as expected, but a condition arose that may require attention.
Use the mcStatusToString function of the ECU M&C API to obtain a descriptive string for the return value.
Use mcMeasurementCreate to create a measurement object in memory instead of referring to a predefined measurement in the A2L database.