Contact us
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 Can I Change the VLAN Id and IP Address at Run Time?

Last updated: 2017-07-12
Question:
How can I change the VLAN ID and IP address at run time?
Answer:

The VLAN Id and IP Address might be adapted before an Ethernet frame is sent if all possible VLAN Ids have been previously configured in the IP Stack like for instance:


 

In this case it is possible at run time to add for each of the configured VLAN an additional IP Address using the CAPL function IpAddAdapterAddress but it is not possible with CAPL to set or change the VLAN ID or priority.

To identify the ifIndex corresponding to the each VLAN out of the CANoe Configuration, use the IpGetAdapterDescription CAPL function that will deliver for each adapter a description containing the VLAN ID:

For exact syntax description of CAPL function, please consult CANoe Online Help (Key”F1")


 

Note for Video Streaming:

With RTP the VLAN ID might be changed like indicated above.

If you use the AVB_IL for AVTP, the Talker/Listener connection directly takes place on the MAC layer and not on the IP layer. Therefore the following CAPL function shall be used to adapt the VLAN ID of each concerned Talker/Listener:

AvbSetProperty(talkerOrListenerHandle, „VlanId“, Integer)
Example: AvbSetProperty(talkerOrListenerHandle, „VlanId“, 3)

With RTP the VLAN ID might be from CANoe 10.0 on changed like indicated above.

 
Article Options
2017-07-12
Views: 107
 
KnowledgeBase
Survey 2017

Please help us to improve our KnowledgeBase and take part in our short survey. We are donating 5 Euro to UNICEF for every completed survey.

This article was: