CAN bus API (CANlib)
The CAN bus API (CANlib) is used to interact with Kvaser CAN devices connected to your computer and the CAN bus. At its core you have functions to set bus parameters (e.g. bit rate), go bus on/off and read/write CAN messages. You can also use CANlib to download and start t programs on supported devices. If you can see your device listed in the Kvaser Device Guide tool, it is connected and you can communicate with it through CANlib.
Contents:
- Introduction
- Initialization
- Devices and Channels
- Open Channel
- CAN Frame Types
- Send and Receive
- Bus Errors
- Time Measurement
- Version Checking
- Using Threads
- Asynchronous Notification
- t Programming
- File handling
- I/O Pin Handling
- CANtegrity API (kvDiag)
- Message Mailboxes
- User Data in Kvaser Devices
- Windows Advanced Topics
- CANlib API Calls Grouped by Function
- Sample Programs (CANlib)