PCAN filter
Posted: Mon 27. Sep 2010, 09:52
Hi,
We are active pcan adapter users.
We used to use PCANLight wrapper and in its source code we could read that the filtering is not guaranteed.
In PCANBasic we did not found any comment about it.
We still have serious problem with filtering.
I do not know where the problem could be, but the filtering seems have serious bugs.
We have the following tests:
We tried it with PCAN usb adapter with PCANLight and PCANExpress card with PCANBasic.
------------------------
The same GOOD behavior with PCANBasic and PCANUsb dlls:
sending ext 0x214 PDO :
Ext filter 200-3FF
Ext filter 200-400
Ext filter 300-400
we can receive it.
------------------------
The same WRONG behavior with PCANBasic and PCANUsb dlls:
sending ext 0x1FF PDO:
Ext filter 200-3FF
we cannot receive it.
Ext filter 200-400
we can receive it.
------------------------
The same WRONG behavior with PCANBasic and PCANUsb dlls:
sending sdt 0x214 PDO
ext filter 200-10000400
we can receive it.
ext filter 200-00100400
ext filter 200-01000400
ext filter 200-400
we cannot receive it.
The same WRONG behavior with PCANBasic and PCANUsb dlls:
sending ext 0x214 PDO
std filter 200-400
std filter 0-1
we can receive it.
std filter 200-3FF
we cannot receive it.
------------------------
Receiving std message while using std filter is always working as expected.
I hope I wrote my problem to the right forum.
We are active pcan adapter users.
We used to use PCANLight wrapper and in its source code we could read that the filtering is not guaranteed.
In PCANBasic we did not found any comment about it.
We still have serious problem with filtering.
I do not know where the problem could be, but the filtering seems have serious bugs.
We have the following tests:
We tried it with PCAN usb adapter with PCANLight and PCANExpress card with PCANBasic.
------------------------
The same GOOD behavior with PCANBasic and PCANUsb dlls:
sending ext 0x214 PDO :
Ext filter 200-3FF
Ext filter 200-400
Ext filter 300-400
we can receive it.
------------------------
The same WRONG behavior with PCANBasic and PCANUsb dlls:
sending ext 0x1FF PDO:
Ext filter 200-3FF
we cannot receive it.
Ext filter 200-400
we can receive it.
------------------------
The same WRONG behavior with PCANBasic and PCANUsb dlls:
sending sdt 0x214 PDO
ext filter 200-10000400
we can receive it.
ext filter 200-00100400
ext filter 200-01000400
ext filter 200-400
we cannot receive it.
The same WRONG behavior with PCANBasic and PCANUsb dlls:
sending ext 0x214 PDO
std filter 200-400
std filter 0-1
we can receive it.
std filter 200-3FF
we cannot receive it.
------------------------
Receiving std message while using std filter is always working as expected.
I hope I wrote my problem to the right forum.