
Pascal
The program
adc100.pas
can be compiled either as a stand-alone program
{$DEFINE MAIN}
or as a unit
which can be linked into other programs
{$UNDEF MAIN}
.
adc100.pas
includes the driver using the
{$L adc100drv.obj}
command: it also provides pascal prototypes
for each of the routine in the driver.
This program has been tested with Borland Turbo Pascal V6.0.
Basic
The DOS driver does not work with DOS Basic.
Delphi
adc100pr.dpr
is a complete program which opens the driver and reads values from channel 1.
The file
ADC100fm.inc
contains a set of procedure prototypes that you can include into your own programs.
Excel
The easiest way to get data into Excel is to use the Picolog for Windows program.
However, you can also write an Excel macro which calls
adc100xx.dll
to read in a set of data values. The
Excel Macro language is similar to Visual Basic.
The example
ADC100xx.XLS
reads in 20 values from channels 1 and 2, one per second, and assigns them to
cells A1..B20.
Use 16-bit driver for Excel version 5, and the 32-bit driver for Excel version 7 and above.
Note that it is usually necessary to copy the .DLL file to your \windows\system directory.
Visual Basic
Version 3 (16 bits)
The DRIVERS\WIN16 sub-directory contains a simple Visual Basic program,
ADC100.mak
.
ADC10016.MAK
ADC10016.FRM
Note that it is usually necessary to copy the .DLL file to your \windows\system directory.
Version 4 and 5 (32 bits)
The DRIVERS\WIN32 sub-directory contains the following files:
ADC10032.VBP
ADC10032.BAS
ADC10032.FRM