
PCAN-Basic
CAN Software API for Windows®
The PCAN-Basic API (application programming interface) allows easy development of powerful software with CAN support. It includes all of the functions that an application needs in order to communicate with PCAN PC hardware. The cross-operating-system design makes it possible to easily port software projects between platforms.
PCAN-Basic consists of the actual device driver and an interface DLL, which provides the API functions.
As the successor to PCAN-Light, PCAN-Basic offers increased functionality and extended language support. It provides various functions for developers under C++, C#, C++/CLR, Delphi, VB.NET, Java, and Phyton 2.6.
PCAN-Basic for Windows® CE
PEAK-System provides the PCAN-Basic API to allow the development of your own CAN applications for Windows® CE 6.x. Programmers can use the languages C++, C# and VB.NET.
PCAN-Basic for Linux
A Linux version of the PCAN-Basic API is currently being developed and will be available soon.
Features
- Supports Windows® 8, 7, Vista, XP (32/64-bit) and Windows® CE 6.x operating systems
- Multiple PEAK-System applications and your own can be operated on a physical CAN channel at the same time
- Use of a single DLL for all supported hardware types
- Use of up to 8 channels for each hardware unit (depending on the PEAK CAN interface used)
- Simple switching between channels of a PCAN PC hardware
- Driver-internal buffering of 32,768 messages per CAN channel
- Precision of time stamps on received messages up to 1 μs (depending on the PEAK CAN interface used)
- Access to specific hardware parameters, such as listen-only mode
- Notification of the application through Windows® Events when a message is received
- Extended system for debugging operations
- Multilingual debugging output
- Output language depends on operating system
- Debugging information can be defined individually
Functions
Connection:
Initialize: Initialize hardware, set the bit rate, log on at the driver
Uninitialize: Log off from the driver
Configuration:
SetValue: Setup of hardware parameters such as debug log, listen-only, and auto-reset
FilterMessages: Register messages to be received
Information:
GetValue: Read out DLL and API information
GetStatus: Read out CAN bus status information
GetErrorText: Get an error code description
CAN communication:
Read: Read a CAN message or status incl. time stamp
Write: Transmit a CAN message (11/29-bit ID and RTR possible)
Reset: Clear the transmit and receive buffer
Scope of supply
- Interface DLL, examples, and header files for all common programming languages
- Documentation in HTML Help format
System requirements
- Windows® 8, 7, Vista, XP (32/64-bit) or
Windows® CE 6.x - At least 512 MB RAM and 1 GHz CPU
Note: ISA and parallel port CAN interfaces only support 32-bit
Downloads
PCAN-Basic for
Windows® 8, 7, Vista, XP (32/64-bit)




