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

Value Definition in Parameter Tree Not Possible

Last updated: 2019-10-02
Question:

Why am I not allowed to set a my desired negative value in the parameter tree?

Answer:

VectorCAST needs definitions for INT_MIN and INT_MAX to work out the range of an integer on the target system. These defines are in limits.h.

If a customer project has also a limits.h it may be that compiler uses that instead of its limits.h. Then VectorCAST does not get the definition for INT_MIN and INT_MAX and assumes integer is 32-bit. This may result in a wrong target range for the parameter.

For the customer's target this is wrong, and the target reports incorrect range data which compromises the parameter tree editor.

Example:

The data type int is 16-bit on the target, VectorCAST has range checking enabled. The parameter tree does not allow setting a value of -1 for data type int.

A customer project has a limits.h also. The compiler uses that instead of its limits.h.

The target reports incorrect range data which compromises the parameter tree editor.

Note:

There should not be any header name clashes with compiler headers. That is not specific to VectorCAST usage, it is general programming practice.

Other data types may also be compromised, for example unsigned.

 
Article Options
2019-10-02
Views: 52