Hello,
To use PCANBasic you need to install the CharDev-version of our driver, which is part of our driver package, which you can download here:
http://www.peak-system.com/fileadmin/me ... 0.0.tar.gz
Take a look at the driver-documentation for an description on how to install the Char-Dev version of our driver:
http://www.peak-system.com/fileadmin/me ... an_eng.pdf
Here a little step by step guide to install the chardev-version of the driver:
1. Extract the driver package, if you haven't already:
Code: Select all
tar -xzf peak-linux-driver-8.10.0.tar.gz
Change into the driver directory:
Execute:
Build the driver by executing (Note the parameters, take a look at the documentation(chapter 3.1), it will describe the usage of them):
Install the driver by executing:
Load the driver by exectuing:
Now ou can list your devices by executing:
This should show all the connected PCAN-Devices
The installation of the CharDev-version of our driver is required to use PCANBasic.
'peak_usb' is the name of the PCAN-USB device if you use the mainline-driver, which is not compatible with PCANBasic:
If there is not PCAN-USB present on your machine 'peak_usb' will not show up.
'peak_usb' is just one device type, depending on which hardware you use, different hardwaretypes will be listed.
Once you have the CharDev-version of the driver installed:
Also: You have been trying to build a Java based PCANBasic application, make sure you have the OpenJDK Development Kit (JDK) installed on your machine.
The error message you see while building is telling you that it is missing dependencies to build the application.
The examples included (pcanwrite / pcanread) will work as a result that they are written in C++ or Python, depending on which one your have tried.
The file extension gives you a clue to which language is used.
The JNI-files are so called Java Native Interfaces, which enable Java code running in a Java virtual machine (JVM) to call and be called by native applications.
If you
want to use Java as a basis for your own application, then you will need them. If you want to use the PCANBasic API with another language, these files are not relevant to you.
Maybe you tell us, what you want to do with PCANBasic so we can give you a tip on how to start?
Best Regards
Marvin