StringVectorComp
Two String vectors are compared.
The output value is generated after the following rules:
If a string element in the comparatorVectorPort is equal to a string element in the mainVectorPort, the bit that corresponds to element index of the string element in the mainVectorPort will be set to 1 in the result.
Example;
mainVectorPort = {"Element1", "Element2", "Element3"}
comparatorVectorPort = {"Something", "Element1", "Something else", "Element2"}
The result will be: 3
bit 0 and 1 is 1 and the rest is 0.
If the MainVectorPort contains a vector with more elements than 32 the elements with index higher than 32 will not be compared. |