Hi,
I am working on a CAN device what will have a user confugurable address via DIP switches. I also want to use the Filter function in the general CAN component settings so that the node only processes the valid addresses. Is it possible to use a variable rather than a fixed HEX value as a filter? The idea is that the filter value will change with the settings of the DIP switches.
Thanks.
CAN Filter Variable
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: CAN Filter Variable
Hello
Im afraid the current CAN component has the masks and filters fixed after you have defined them in the properties window.
What you can do is to enable all incoming messages and then add masking or filtering yourself using your own software filters.
Im afraid the current CAN component has the masks and filters fixed after you have defined them in the properties window.
What you can do is to enable all incoming messages and then add masking or filtering yourself using your own software filters.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: CAN Filter Variable
I do filtering inside the software. The problem is that the filtering process takes so long time that the next incomming message is missed. Any idea for how a work-around could be done?