![National Instruments NI-CAN User Manual Download Page 42](http://html1.mh-extra.com/html/national-instruments/ni-can/ni-can_user-manual_3506864042.webp)
Chapter 3
NI-CAN Programming Techniques
©
National Instruments Corporation
3-3
CAN Objects. The flowchart in Figure 3-1 shows the steps performed by
NI-CAN when a CAN frame is received.
Figure 3-1.
Flowchart for CAN Frame Reception
The decisions in Figure 3-1 are generally performed by the on-board CAN
communications controller chip. Nevertheless, if you intend to use CAN
Objects as the sole means of receiving CAN frames, it is best to disable all
frame reception in the CAN Network Interface Object by setting the
Yes
No
Arbitration ID
Handled by an Open
CAN Object?
No
Yes
Standard
Extended
Data
Frame?
Standard or
Extended Frame?
No
Standard
Comparator Disabled
(
NC_CAN_ARBID_NONE
)?
No
Extended
Comparator Disabled
(
NC_CAN_ARBID_NONE
)?
Masked
Arbitration ID
Equal to Standard
Comparator
Masked
Arbitration ID
Equal to Extended
Comparator
Yes
Yes
Yes
Frame Received
Place Frame Into Read Queue of
CAN Network Interface Object
CAN Object Uses Frame
CAN Network Interface Object
Frame Ignored
Frame Ignored
Apply Extended Mask
Apply Standard Mask
No
No
Frame Ignored
Frame Ignored
Frame Ignored