|
ADTF Peak CAN Device
|
This package contains a streaming source for receiving CAN data and a streaming sink for sending CAN data over PEAK Hardware by using the PCAN-Basic API (on Linux chardev version). If you are looking for the netdev version check out the ADTF Socket CAN Device Plugin
Please have a look at Release Notes
The following components are delivered:
| Streaming Service | Description |
|---|---|
| Peak CAN Device Receiver | Use this streaming source to receive CAN data using a PCAN-Basic library compatible device. |
| Peak CAN Device Transmitter | Use this streaming sink to transmit CAN data using a PCAN-Basic library compatible device. |
Before using the plugin you have to install the PEAK systems drivers. Download the latest windows drivers from the homepage and install it. Maybe you have to reboot your system.
Before using the plugin you have to install the PEAK systems drivers. Virtual machines are not supported. Therefore download the latest driver and follow the instructions in the readme for building/installing only the default (aka "chardev") build by using the following commands:
The netdev version uses socketCAN, so you need the ADTF Socket CAN Device Plugin to receive and send CAN messages over the Peak device over socketCAN, not this Plugin.
Download Driver Package for Proprietary Purposes, unzip it and change directory in terminal to make file
and reboot your machine.
connect your peak device if it isn't already and make sure everything is fine:
should give you "can0 ...." or similar.
Now set the device up, for example:
Every PEAK device has an id which is stored on the hardware itself. You can set this value by using the "PEAK-Settings" software. Make sure the ids of the devices you are going to use are different.
For example: 0x0000000Ah and the other one 0x0000000Bh. Then use this id in the ADTF filters (see property peak_device_id).
Furthermore for a correct connection between the PEAK device and the filter you have to select the correct physical channel of the PEAK device (see property physical_channel).
You can use one physical channel of one PEAK device for receiving AND transmitting.
Just set the same physical_channel property in the receiver and transmitter and additionally enable the share_physical_channel in the transmitter.
Make sure the listen_only property of the receiver is not set.
Please make sure you have an active and valid subscription for this feature, the license key/file is set and the used license server is reachable (if required). For more information, please contact our support.
For any licence information have a look at LICENSE.
Furthermore please refer to Used Open Source Software for an overview of 3rd party packages we are glad to use.