The Readme.txt file distributed along with the Ch K8055 package.

The Ch K8055 Open Source Package is a Ch binding to the K8055D_C C library version 2.0.0.1. With Ch K8055, K8055D_C library functions can run in Ch interpretively without compilation. You don't need to install K8055D_C library to install and run Ch K8055 package. Ch is an embeddable C/C++ interpreter for cross platform scripting, 2D/3D plotting, numerical computing and embedded scripting. More information about Ch can be found at http://www.softintegration.com/. More information about the K8055D_C C library can be found at http://www.vellemanusa.com Release Notes ------------------------------------------------------------------ Ch K8055 version 1.0, November 30, 2006 System Requirements ------------------------------------------------------------------ (1) Ch Standard or Professional Edition version 5.5.0.13041 or higher. Note: you need Ch v5.5.0.13041 or higher which supports command zip.exe. Ch is available from http://www.softintegration.com. You may use ChSciTE, a Ch IDE, at http://chscite.sourceforge.net. (2) A Velleman USB Interface Board K8055. Contents ------------------------------------------------------------------ Ch K8055 package contains the following directories License.txt --- Copyright license file Makefile --- Makefile for install/uninstall/create the package chk8055d_c --- Ch K8055 package chk8055d_c/demos --- K8055D_C demo programs in C readily to run in Ch chk8055d_c/bin --- K8055D_C dynamical library chk8055d_c/dl --- dynamically loaded library chk8055d_c/include --- header files chk8055d_c/lib --- function files chk8055d_c/src --- source code to create lib/libk8055d_c.dl and lib/*.chf The following files are from K8055D_C version 2.0.0.1. chk8055d_c/bin/K8055D_C.DLL chk8055d_c/include/K8055D_C.H chk8055d_c/src/K8055D_C.LIB The following files are modified based on the original distribution chk8055d_c/include/K8055D_C.H chk8055d_c/src/K8055D_C.h ------------------------------------------------------------------ INSTRUCTIONS FOR HANDLING THE PACKAGE ------------------------------------------------------------------ (a) Launch a Ch command shell similar to a MS-DOS shell. (b) Go go the directory such as C:/Documents and Settings/Administrator where the downloaded package chk8055d_c-1.0.0.zip is located by the command. cd "C:/Documents and Settings/Administrator" (1) Unpack the package chk8055d_c-1.0.0.zip ------------------------------------------------------------------ Run command unzip chk8055d_c-1.0.0.zip It will create the directory chk8055d_c-1.0.0 in the current directory such as "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" (2) Installation Instructions: ------------------------------------------------------------------ Assume the directory "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" contains the Ch K8055 package. Run commands cd "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" make install The above command copies chk8055d_c/ into C:/Ch/package/chk8055d_c. It will also copies chk8055d_c/include/K8055D_C.H into C:/Ch/toolkit/include/ directory. The installed files and directory are listed and saved in file C:/Ch/package/installed/chk8055d_c. (3) Uninstallation Instructions: ------------------------------------------------------------------ Assume the directory "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" contains the Ch K8055 package. Run commands cd "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" make uninstall The above command will remove the installed files and directory listed in file C:/Ch/package/installed/chk8055d_c. (4) Run demo programs 'version.cpp', 'output.cpp', and 'K8055_Demo.cpp'' in the directory C:/Ch/package/chk8055d_c/demos: ------------------------------------------------------------------ (a) Run demo programs in a Ch command shell by the following commands. cd C:/Ch/package/chk8055d_c/demos version.cpp output.cpp K8055_Demo.cpp (b) Run demo programs using ChSciTE, a Ch IDE available at http://chscite.sourceforge.net. Launch ChSciTE load C:/Ch/package/chk8055d_c/demos/version.cpp, then hit function key "F5". load C:/Ch/package/chk8055d_c/demos/output.cpp, then hit function key "F5". load C:/Ch/package/chk8055d_c/demos/K8066_Demo.cpp, then hit function key "F5". ------------------------------------------------------------------ CREATE THE CH PACKAGE FOR DISTRIBUTION ------------------------------------------------------------------ (1) Create the package chk8055d_c-1.0.0.zip for distribution Note: you need Ch v5.5.0.13041 or higher which supports command zip.exe ------------------------------------------------------------------ Assume the directory "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" Run commands cd "C:/Documents and Settings/Administrator/chk8055d_c-1.0.0" make createpkg (2) How to update Ch K8055 package for newer versions of K8055: ------------------------------------------------------------------ (a) If Ch has not been installed in your computer, install Ch from http://www.softintegration.com. (b) Update chk8055d_c/bin/K8055D_C.DLL. Update chk8055d_c/src/K8055D_C.LIB. Update chk8055d_c/include/K8055D_C.h. This header file can be designed to be readily used by both Ch and C/C++ compilers. (c) Update chk8055d_c/src/K8055D_C.h with new functions (d) Setup compilation in a Ch command shell based on the instruction in sectoin 1.1 in Ch SDK User's Guide at CHHOME/docs/chsdk.pdf (e) In the directory chk8055d_c/src, type make chf make (f) Change VERSION in file Makefile, For example, change 1.0.0 to 2.0.0 for version 2.0.0, and then type make createpkg to create the package ./chk8055d_c-2.0.0.zip for distribution. (g) Install the newly created Ch K8055D_C package by command make install Support for Ch K8055 package ------------------------------------------------------------------ Questions specific to the Ch K8055 Package can be posted in either Velleman's product discussion group or Ch User Group at http://www.softintegration.com.