Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 2 out of 5     Rate this Document

NI-CAN Self-Reception and Filtering

Primary Software: Driver Software>>NI-CAN
Primary Software Version: 2.6.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
Can I automatically filter self-received frames when self-reception is enabled?

Solution:
Enabling self-reception will cause the receive portion of the CAN transceiver to be enabled even during write operations. Thus, even frames sent by your NI-CAN interface will be received as incoming frames by your interface. However, there is no special treatment of these frames, they are seen on the CAN bus by the receive portion of the transceiver just as any other frame transmitted on the CAN bus.



Although there is no automatic filtering of self-received frames, you still have the ability to perform filtering as usual (see the NI-CAN Hardware and Software Manual and Specifications for more information), in addition to programmatically storing written frames and comparing them to received frames (perhaps on arbitration ID's need to be compared if other devices don't use the same ID), in order to "filter out" the self-received received frames.

Note:  For more information about creating CAN filters, see the example Series 2 Filter Mode in the Example Finder.

Related Links:
Product Manuals:  NI-CAN Hardware and Software Manual and Specifications

KnowledgeBase 3HNHF5HS: NI-CAN Channel and Frame API

Attachments:





Report Date: 05/18/2005
Last Updated: 05/06/2009
Document ID: 3LH7HD4B

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit