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

Access of Parameter of Type ‘Data’

Last updated: 2019-05-20
Question:

How can I access a vTESTstudio parameter of type ‘Data’?
Answer:

A parameter of type Data represents a byte array. The input format has to be a list of bytes, separated by spaces.


 
By the use of the test command Set in the Test Table Editor or in one of the graphical editors the entire byte array can be set to a system variable of type Data.

 


If you want to access single bytes of the array, CAPL or C# has to be used. To access a single byte value of the parameter by CAPL, proceed as follows: Copy the content of the parameter to a byte array buffer by the use of the method sysParGetData. Afterwards you can access a single byte by its index:
 

 
Article Options
2019-05-20
Views: 3031
Rate this article: