Discussion:
Can Filter
(too old to reply)
Lone Gunman
2008-07-31 08:40:13 UTC
Permalink
Hello,
 
I want to program a can bus - filter : see also attachement to see what i mean.
I have 3 nodes on the can bus, and i want to isolate one node by placing a "can- filter" between.
The filter must have the following spec's:
 
1: filter the incomming id's/messages ( 5 chosen id's) 
2: block or let through the outgoing id's/messages
3: delay time as narrow as possible
 
Is it possible with these tools? (see below) => is it in general possible to make sutch filter, because i have to open 2 can ports at the same time that can transmit and receive the same messages?
 
=> NI-can hardware;
 
  - 1x PCMCIA-can/2 Series 2
  - 1x usb-8473s
  - 1x usb-8473
 
=> NI software
  - LV 8.0
  - NI-can 2.5
 
 
Thanks in advanceMessage Edited by Lone Gunman on 07-31-2008 03:35 AMMessage Edited by Lone Gunman on 07-31-2008 03:37 AM


blok diagram2.JPG:
http://forums.ni.com/attachments/ni/30/3658/1/blok diagram2.JPG
DirkW
2008-07-31 14:10:08 UTC
Permalink
Sure the SJA 1000 which is the controller in all your mentioned hardware has a powerful filter integrated. The NI-CAN driver brings an example for programming it programaticaly.
Besides that there are multiple threads in this forum regarding filtering with lots of examples for download.
DirkW

Loading...