To download NI software, including the products shown below, visit ni.com/downloads.
In NI VeriStand, A2L files are required to operate the ECU Measurement & Calibration Toolkit XCP CCP Master custom device. During testing and development ECUs, A2L files may be continually modified. When this happens, the NI VeriStand user must update the existing system definition A2L file with the new one. This process can cause mappings and aliases to break in the process and does not remove Characteristics/Measurements that no longer exist. This example was created ease that process. The Update System Definition A2L.vi will remove all characteristic and measurement channels not found in the new A2L file from an existing system definition. It will also delete all mappings and aliases associated with the old characteristics and measurements. It will then replace the A2L file reference with the new file. Note that this process does not add new characteristics or measurements to the system definition file.
This example was developed in LabVIEW 2012 for VeriStand 2012 and ECU Measurement & Calibration Toolkit 2.3.1. Users in newer versions of LabVIEW will be required to upgrade the VI and relink the .NET library to their version of NI VeriStand.
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.