Technical reference
7
© Copyright 2004-2007 Pico Technology Limited. All rights reserved. adc100.en
3
Technical reference
3.1
Introduction
The ADC-100 and ADC-101 are supplied with driver routines that you can build into
your own programs.
Once you have installed the software, the DRIVERS sub-directory contains the drivers
and a selection of examples of how to use the drivers. It also contains a copy of this
help file in text format.
The driver routines are supplied as Dynamic Link Libraries for Windows 95/98/ME and
NT/200/XP.
The Windows DLLs can be used with any programming language or application that
can interface with DLLs- for example, C, Delphi, Visual Basic, Excel, LabVIEW, etc.
The DRIVERS directory contains example programs for several popular programming
languages or applications: some of these examples are fairly simple, but the C console
mode example, a100con.c, shows how to use all facilities in the driver.
The driver is capable of supporting up to three units connected to printer ports (one
each on LPT1, LPT2 and LPT3) and up to four Pico USB parallel port units. The units
can be any mixture of ADC-100 and ADC-101.
The following table explains each of the driver routines.
adc100_get_driver_version
that this is the correct driver
the driver to use a specified parallel port
which ADC-100 unit to use
single reading from one channel
whether the device supports streaming (USB only)
whether the data recording is completed
a trigger event from a specified channel
channels and time interval for the next call to
adc100_get_values, or
adc100_get_times_and_values
block of readings at fixed intervals
adc100_get_times_and_values
a block of readings and their times, at fixed
intervals
information about an ADC-100 unit
The driver offers the following facilities:
Specify the printer port that is connected to the ADC-100
Take a single reading from a specified channel
Specify a trigger event from a specified channel (only available in block mode)
Collect a block of samples at fixed time intervals from one or more channels
Kommentare zu diesen Handbüchern