Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Read the multiplexer signal of a message

Hello everybody,

 

I'm currently trying to read a message with "mode dependent channels", and I would like to read, as a "real channel", the multiplexer signal of the message.

 

For example, I have put this table in the CAN Init Start function (Channel API) : 

Message.1.channelA

Message.2.channelB

Message.3.channelC   with 1,2,3 corresponding to the mode selector.

 

When I receive a message, I would like to get the value of the mode selector, i.e. to have a variable with mode selector = 2 when I receive channelB for example.

 

Is it possible with the Channel API ?

 

Thanks in advance

 

 

0 Kudos
Message 1 of 2
(6,148 Views)

No, there is no way to read the multiplexer of a multiplexed message using the channel api. We assumed that would not be needed since you know initially specified which multiplexer to use by configuring the channel list. You could use a second port or device to read the raw message data to see what the multiplexer is.

 

DirkW

 

0 Kudos
Message 2 of 2
(6,145 Views)