Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

Device Thesaurus Usage With Database Changes

Last updated: 2019-02-25
In a CANape project, the content of the *.dbc file is changed in the following way: the message names have changed, but the signal names are still the same. Now CANape will mark these signals in windows like the Graphics Window as unknown variables.
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.

Article Options
Views: 652