mcDatabaseClose
- Updated2025-09-25
- 1 minute(s) read
Purpose
Closes a specified A2L Database. Format
| mcTypeStatus | mcDatabaseClose( |
| mcTypeTaskRef | *DBRefNum); |
Input
DBRefNum
DBRefNum is the task reference from the initial database task function. The database task reference is originally returned from . Output
Return Value
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 function of the ECU M&C API to obtain a descriptive string for the return value.
DescriptionmcDatabaseClose must always be the final ECU M&C function called for each database task. If you do not use the mcDatabaseClose function, the remaining task configurations can cause problems in the execution of subsequent Measurement and Calibration applications.