MC Database Create.vi
- Updated2025-09-25
- 3 minute(s) read
Purpose
Creates an ASAM A2L database in memory.
Format

Input
|
DB name is a database name associated with the database created in memory. Use the string syntax :<myname>: for the A2L database if using multiple databases in memory. (For example, if using two databases in memory, use :MyDatabase1: as the DB name for the first database and :MyDatabase2: for the second DB name created in memory.) | ||||||
|
Error in is a cluster which describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the error in cluster to error out.
|
Output
|
DB ref out is the task reference that links to the opened database file. | ||||||
|
Error out describes error conditions. If the Error in cluster indicated an error, the Error out cluster contains the same information. Otherwise, Error out describes the error status of this VI.
|
Description
Creates an A2L Database. Use MC Database Create.vi to create ECU and measurement objects in memory, if you do not have access to a valid A2L database file.
MC Database Create.vi does not start communication. After creating an A2L database in memory, you typically create an ECU object using MC ECU Create.vi, a scaling object using MC Conversion Create.vi, a measurement object using MC Measurement Create.vi, and an event using MC Event Create.vi.
Note MC Database Create.vi does not support creating objects to access characteristics. To access a characteristic, assign a valid A2L database file with defined characteristics.




