09-10-2014 11:33 AM
I am trying to access the DISPLAY_IDENTIFIER optional parameter for measurements and calibrations in an a2l file. I have the NI ECU Measurement and Calibration toolkit, but can't find a way to access this parameter.
09-10-2014 12:20 PM
Is DISPLAY_IDENTIFIER a parameter of the A2L? Did you try any of the examples? Open the Example Finder and search for Multiple Measurements.vi. It can also be found by browsing under Toolkits and Modules. Enter your A2L along with the interface information and have your signal name in the list to measure.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-10-2014 12:40 PM
To be more specific, for my application I only need to read/parse the A2L file to display the measurement/calibrations and some of their properties to the user. Using the Advanced Database Functions can open the database, and select an ECU, then with the Get Names and Get Properties vi's I am accessing the properties of the measurements and calibrations. These vis make seem to make available (among others) the name and LongIdentifier(comment) fields, however I also need to access the DISPLAY_IDENTIFIER. Below is an example characteristic.
/begin CHARACTERISTIC KKNDRTI
"Description of the item is here"
VALUE
0x00020000
RecLayout_Scalar_SW
0
compMethod5
-4096.0 4095.875
DISPLAY_IDENTIFIER KnockThreshold
/end CHARACTERISTIC
09-10-2014 12:49 PM
Ahh, I see. Well if all you care about is that parameter are you able to parse the A2L yourself after getting the list of names? Say get a list of the names and then in a for loop look for the DISPLAY_IDENTIFIER value for each name.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord