TOSUN-Shanghai / TSMaster

A powerful open environment for automotive bus monitoring, simulation, testing, diagnostics, calibration and so on. It supports all kinds of mainstream hardware such as TOSUN, Vector, IXXAT, PEAK, Kvaser, Intrepidcs, ZLG, CANable, CandleLight, cantact and so on. Free for research and education purpose for some features.

Home Page:http://www.tosunai.cn/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for multiplex ranges

Zultanic opened this issue · comments

Hi, Thank you for the awesome software.

Request: I am trying to use multiplexing where the multiplexed signal can have a range of values that activate it.
This is supported in dbc files like with the entry shown below.
SG_MUL_VAL_ 2566573056 multiplexed_signal multiplexor_signal 0-0, 8-8;

Current Behavior: The multiplexed_signal is only activated when the multiplex value in "m0" or "m8" is used and does not consider the other numbers in the range

commented

Hi Zultanic,

could you provide this dbc for me to check? Thank you

Hi freshhope, thanks for the response

I have attached an example dbc file that I hope illustrates the issue. I have one message, one multiplexor signal and three multiplexed examples.

  • First example is standard multiplexing, this one works well in TSMaster.
  • Second example is trying to use ranges of values defined at the bottom of file by SG_MUL_VAL_
  • Third example is similar to ranges but has multiple non-continuous multiplex numbers once again defined by SG_MUL_VAL_

I also found this documentation on extended multiplexing from Vector, maybe it will help to understand the formatting.