vector.com|Contact
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'.

apple*
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.
Search:
Advanced search

How to Set a DiVa System Condition Using Private CAPL Code

Last updated: 2018-10-02
Question:
How to set a System Condition using a CAPL code that you have developed on your own, please proceed like following:
Answer:
  1. Define a System Condition and the name of the CAPL program:
  2. Attach the System Condition (named test in our example) to the concerned service (e.g. 10.02 like indicated below for DiVa 4.0) either to Programming Start or only for one of the sub-categories like Automatic State Change or ValidRequest. Please note that the setting of System Condition will always be done before 10 02 session will be called. It is not possible to have it done just once.
  3. After generating the DiVa tests and importing it in CANoe, you will find the test module that has been generated extra for the CAPL code like following:
  4. You can then open it with the CAPL editor in CANoe and will see the following structure that has been defined by DiVa:
Note:
This YouTube video

shows how to use System Conditions to test in the required operation mode.
 
Article Options
2018-10-02
Views: 386