How to define Muliplexer with length >8 bits

Comprehensive CAN monitor for Windows® and its add-ins: Plotter, CANdb Import, Instruments Panel, and J1939
Post Reply
fengels123
Posts: 8
Joined: Sun 2. Mar 2014, 10:14

How to define Muliplexer with length >8 bits

Post by fengels123 » Thu 20. Mar 2014, 08:35

I try to define a muliplexer with a muliplexer length of 32 bits.
the multiplexer value is 02622414h, but it does not work when I test it.
A message with a multiplexer length of 8 bits works fine, but how to define a multiplexer with a length greater than 8 bits.

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: How to define Muliplexer with length >8 bits

Post by M.Maidhof » Thu 20. Mar 2014, 13:23

Hi,

please check data format (Intel/Motorola) when using variables or multiplexer >8bits

regards

Michael

fengels123
Posts: 8
Joined: Sun 2. Mar 2014, 10:14

Re: How to define Muliplexer with length >8 bits

Post by fengels123 » Thu 20. Mar 2014, 22:07

Hi Michael,
I am just sending the 02 62 24 14 with the peakcan viewer to pcan explorer with two dongles, so there is no intel or Motorola format difference.

That is also how I tested the 1 byte multiplexer which did work,

M.Maidhof
Support
Support
Posts: 1751
Joined: Wed 22. Sep 2010, 14:00

Re: How to define Muliplexer with length >8 bits

Post by M.Maidhof » Fri 21. Mar 2014, 09:21

Hi,

do you know what the data format intel/motorola means? It changes high and lowbyte of the variable/multiplexer. So without seeing the hex data and the symbol file, it will be impossible to help you in that matter.

regards

Micahel

fengels123
Posts: 8
Joined: Sun 2. Mar 2014, 10:14

Re: How to define Muliplexer with length >8 bits

Post by fengels123 » Fri 21. Mar 2014, 10:51

Ok,
I was making a mistake by thinking that the multiplexer value was byte by byte, but it is one big hex number.

I will try it, it will probably be the solution.
Thanks

Regards

fengels123
Posts: 8
Joined: Sun 2. Mar 2014, 10:14

Re: How to define Muliplexer with length >8 bits

Post by fengels123 » Fri 21. Mar 2014, 14:32

Thanks Michael,
Should be Motorola, now it works.

Regards

Post Reply