©
National Instruments Corporation
vii
Contents
How To Use the Manual Set..........................................................................................xi
Conventions ...................................................................................................................xi
Related Documentation..................................................................................................xii
History and Usage of CAN..............................................................................1-1
CAN Identifiers and Message Priority ............................................................1-2
CAN Frames....................................................................................................1-3
Start of Frame (SOF).........................................................................1-3
Arbitration ID....................................................................................1-4
Remote Transmit Request (RTR) .....................................................1-4
Identifier Extension (IDE) ................................................................1-4
Data Length Code (DLC)..................................................................1-4
Data Bytes .........................................................................................1-4
Cyclic Redundancy Check (CRC) ....................................................1-4
Acknowledgment Bit (ACK) ............................................................1-5
End of Frame.....................................................................................1-5
CAN Error Detection and Confinement ..........................................................1-5
Error Detection..................................................................................1-5
Error Confinement ............................................................................1-6
Independent Design .........................................................................................1-9
Object-Oriented Design...................................................................................1-9
NI-CAN Object Hierarchy ..............................................................................1-10
NI-CAN Software Components ......................................................................1-12
NI-CAN Driver and Utilities.............................................................1-12
Firmware Image Files .......................................................................1-13
Language Interface Files ...................................................................1-13
Application Examples .......................................................................1-13
Interaction of Software Components with Your Application ...........1-13
The RTSI Solution...........................................................................................1-14
Synchronizing with NI-DAQ ..........................................................................1-15