PCAN-Basic Simple Programming Interface and Example Programs

PCAN-Basic Simple Programming Interface and Example Programs
PCAN-Basic Simple Programming Interface and Example Programs Bookmark and Share
Part Number: GC-CAN-APISW
List Price: $0.01
Your Price: $0.00
Qty:
Description
This simple API is provide Free PCAN-BASIC Download with every PCAN adapter.

First a Windows driver is installed to provide the interface between the CAN adapter and the user application.  The Windows driver uses DLLs to provide a Ring-0 driver into the operating system.  The API (application programming interface) is a set of calls that the programmer uses to access the hardware.  The API is common for all USB, PCI, PC/104, and parallel port CAN adapters. The following functions are provided with the purchase of the CAN hardware.  These functions can be used with C, C++, VB or Delphi applications.  Example programs are also available for download.



COMMON API CALLSs:

CAN_Init: Initializing hardware, setting the baud rate, logging on to drivers

CAN_Close: Logging out of drivers

CAN_Write: Sending a CAN message (11/29-bit ID and RTR available)

CAN_Read: Reading a CAN message / status

CAN_Status: Reading driver status information (data in buffer, overruns etc.)

CAN_VersionInfo: Fetching the driver information / version number


Here are example download applications written in Java, Visual Basic, Visual C, Delphi, Java, Phyton, and Borland C. Each of these example applications uses the adapters and provided operating system driver. Just click on a link below to download the zip file for the associated example.

These examples DO NOT work with the CAN RS232 and CAN USB Light adapters, they DO work with all the other CAN USB, PC/104, PCMCIA, PCI, Dongle adapters.

NOTE: These programs are provided by our manufacturer, and as such, any questions regarding these programs should be directed to PEAK Sytems at support@peak-system.com.

Borland Builder 5 Example Application

C# 1.0 Example Application

Delphi 6 Example Application

Visual Basic 6 Example Application

Visual Basic .Net Example Application

Visual C++ - CLR (VS 2005) Example Application

Visual C++ (MFC) Example Application