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

Creation of Label Lists

Last updated: 2019-02-25
Question:
Why do I need a label list in CANape?
And how can I create one?
Answer:

A label list is used to filter out signals from a MDF file before converting the MDF file in
e. g. MATLAB format. That means, if the label list contains signals which should not be converted, it has to be used as a negative list. Therefore please enable Interpret as negative list in the options of the respective CANape converter, e. g.:

Please note, that the option Use signal source information has to be enabled, too.

For the creation, different information about the respective signals are needed:

  • BusType
  • ChannelNumber
  • SourceName

To create a label list, please use a text editor like e. g. Notepad.

  1. First, create the section name. The section name (in brackets) is structured like: [BusType] [ChannelNumber].[SourceName]
     
  2. [BusType] could be
    •    LIN
    •    MOST
    •    FlexRay
    •    ETH
    •    CAN

    (If you are not sure, which bus type, try with CAN. This will be mostly right)
     
  3. [SourceName] and [ChannelNumber] are also listed in the signal preview of CANape:

     
  4. The signal Line e. g. is specified in the LAB file like:
    [CAN1.MsgLine]
    Line

Note:
  1. For Environment signals, please use:
    [ENVIRONMENT]
    ABC_DEF

     
  2. To make sure, that the definition is right, you can use the ASCII Export converter to export all signals (enable options Extended signal names). In the title of the produced text file, you’ll see how the label list should look like:
    t[s];CAN1.MsgCurve.State[];CAN1.MsgCurve.Curve[];CAN1.MsgCurve
    .Counter[];CAN1.MsgSine.SineJitter[Volts];CAN1.MsgSine.Sine[Vo
    lts];CAN1.MsgPeak.Peak2[];CAN1.MsgPeak.Peak1[];CAN1.MsgLi
    ne.Line[];CAN1.MsgDiscrete.Discrete[];CAN1.MsgSparse.Sine[Volts]
    ;
     
  3. For MATLAB Export Converter:

    To avoid inconsistencies with identical signal names, choose Extended names in MATLAB Export Converter (under Signal names).

    This adds a prefix to the signal name. E. g. if you are working with measurement file channels, an extended name contains the database name;
    if working with measurement signals, it is the name of the device.
    In each case it appears as a prefix separated by a dot (e.g. CAN1ecu1.signal1, ecu2.signal1).
    This option is useful in case you measure signals of the same name from different ECUs. When the option Replace invalid characters by underscore is activated, this also affects the signal names (e.g. ecu1_signal1, ecu1_signal2)

 
Article Options
2019-02-25
Views: 2032
Error(s) occurred processing form.
Please complete all required fields. Fields marked with * are required.