CAN
CAN Bus Interface
- Overview
- Driver
- Daisylink
- Standalone
CAN bus interface module for automotive and industrial networks
Key features • Support CAN V2.0B | Resources PID: 0x030001 |
See Drivers page for further details.
| Function | Description |
|---|---|
Bitrate(b) | Sets the b bitrate (125K, 250K, 500K, 1M) |
RxFull() | Returns 1 if there is a received CAN message. |
RxRd() | Reads a received message. Returns the ArbID of the message or -1 if none. b9 is a 9-byte array contains the message body, with first element containing DLC followed by 0 to 8 bytes of data. |
TxFree() | Returns 1 if ready for new data, or previous transmit request succeeded. |
TxReq(i,l,b9) | Request to send a message with i EID and l length of the b9 data array. Returns 1 if a message was posted or 0 if busy to take a new one. |
DVer() | This driver version. |
The Code!
CAN Driver
loading...
These Daisylink samples assume the driver is installed, see the Driver Tab.
- Python
- JavaScript
Python Sample
loading...
JavaScript Sample
loading...
These samples show how to run DUELink Standalone.
- Script
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
Standalone Script Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink CAN | GDL-CMCAN-B | $14.95 |