python-can icon indicating copy to clipboard operation
python-can copied to clipboard

IXXAT does not propagate errors

Open jrast opened this issue 4 years ago • 2 comments

We have problems with the IXXAT interface: If errors occur on the bus, for example acknowledgment errors, they are logged, but it seems to be impossible to react to them.

How is this handled with other interfaces? Would it be possible to raise an exception if errors occur?

jrast avatar Aug 20 '20 12:08 jrast

I have no idea but have some interest in any hint: I am using the Ixxat interface at work and thought that the python module would be just perfect, bit it lack errors handling: no exception raised if I send a message while nohting is connected to the Ixxat device (which obviously leads to an ack error),. And for recv, error are printed/logged but this is quite useless as there seems to be no way to catch them and react to it.

Any idea about it ? Should I just do my own C/C++ wrapper around the IXXAT API or is there a way to fix the python module ?

Audry21 avatar Sep 09 '20 10:09 Audry21

Also see #856

flyser avatar Oct 14 '20 07:10 flyser