Multiplexor and Multiplexer
Hi to everyone,
I have sensors which send messages with the same ID to a receiver. I would like to separate the channels for every sensor in order to create a channel for the first sensor temperature, another one for the second sensor temperature ecc.. I selected a channel containing a part of the message sent from sensors as multiplexor while the channel having the part of message linked with temperature has been selected as multiplexed. What is the multiplexed value I have to write in this case? thank you to everyone
Automotive Application Engineer
Hi Ciro,
Maybe it is not clearly explained in Pro-Training, but multiplexing in general means that you can transmit one single message by defining a message with:
- one multiplexer channel, which provides a number or an ID of the multiplexed channel and
- one multiplexed channel, which provides transmitted data - so exact result value.
In your case you could have one single message, where you would divide the message on multiple multiplexed channels, that are valid for different multiplexer ID. Many times you want to trigger those multiplexer channels, so at one moment you are always receiving that exact channel ID and not others.
Can you give us more details on your application? For example when are you trying to receive the data from the sensors? Continuously, or triggered?
Hi Nina,
The sensors I use have in the data message the ID and I use this last one as multiplexor. In the same message there is the temperature frame and this last one should be the multiplexed channel with the value of sensor ID (multiplexor) in decimal. This because the sensors send messages with the same ID (1FABCD1F) so the data are overwritten. I would like to create multiplexed temperature channels linked each one with a single sensor. The problem is that this operation in the CAN screen works but in the channel screen doesn't work. I attach you two pictures with the CAN screen and the channel screen to show you the problem. Thank you
Attached files:
Automotive Application Engineer
Hi Ciro,
As I see from the images, everything seems to be set ok. I also tried to make my own setup and we have found out, that values are not being updated directly in the Channels module/tab, which we need to fix it on our side, so thank you for reporting it.
For now you can get those values by making a switch between Measure tab and going back to Ch. Setup tab, and you will be able to see them then. As well in the Measure mode they will be correctly shown, so you can perform any measurement without worry of losing any data.
Also just one more thing, in the case if you have a multiplexed value set in a way that it never occur on the multiplexor channel, you will see 'zero' in the Channels tab even if in the CAN tab you see some static value, which is normal. So for the first time as the value will change / decode based on the multiplexor ID, you will see the data.
Hi Nina,
thank you for the answer. Let me know when you'll fix the problem because I really need this feature for executing my tests.
In any case I tried to switch between Measure tab and Ch.Setup tab but the values of multiplexed channel in the Channel tab don't update yet. I don't know why.
Ciro
Automotive Application Engineer
That's a bit strange. Which version of Dewesoft are you using?
Also is it possible for you to send us your current settings (.dbc file) and recorded data file with 'Store all messages' option enabled - just go to the measure mode like this and store for a few seconds (5-10). Maybe there is something else that is causing issues, so it would be good to check your settings as well.
You can send it directly on my email: [email protected]
Hi Nina, I sent to your mail what you required. Thank you
Ciro