Device Thesaurus Usage With Database Changes
Is it possible to use this new *.dbc file in the existing project? Would the Thesaurus functionality help to link the objects?
The signals are now unknown because the message name in the DBC does not match with the ones used in the configuration. In the Symbol Explorer they show up as “unknown variables.” Right click on such a signal and choose Replace by existing variable from context menu.
Another possibility is to use the device thesaurus. A device thesaurus is a list containing synonyms for object names in device description files (database, e.g., *.a2l). If such a measurement object is not found (parameter or measurement signal in a display or function), CANape refers to the thesaurus to check if there is one or more synonyms for the searched-for variable name. If so, a synonym is used. If an assignment cannot be established, the variable is marked as invalid.
Under Device | Configuration, please activate the device thesaurus and create a thesaurus file.
When using the above mentioned command Replace by existing variable, the thesaurus file will also be adapted.
A thesaurus file can look like this (here: the message name has been changed from ABS to ABS_newName):
LIST; "$ABS$Signal4" ;"$ ABS_newName$Signal4"
LIST; "Signal4" ;"Signal4"
LIST; "$ABS$Signal3" ;"$ ABS_newName$Signal3"
LIST; "Signal3" ;"Signal3"
LIST; "$ABS$Signal2" ;"$ ABS_newName$Signal2"
LIST; "Signal2" ;"Signal2"
LIST; "$ABS$Signal1" ;"$ ABS_newName$Signal1"
LIST; "Signal1" ;"Signal1"
Further information regarding the structure of the thesaurus file can be found in CANape Online Help.
Please complete all required fields. Fields marked with * are required.