Instruction manual

AMPDIO DRIVERS
Page 55
4.2.7 D-to-A Converter DACSET.EXE
The “DACSet example uses a slider to
write values to a DAC channel. It allows
the jumper settings in use to be set and
the channel to be chosen and displays
the numeric values written to the driver
and the real value of the output in volts or
milliamps. It may be of use for calibration
of the DACs. It runs on the
PC24E/PC25E, PC30AT, PCI224,
PCI230 and PCI234. It requires Visual
Basic 5.0 SP2 or higher.
It does not use interrupts.
4.2.8 Registerable Board Lister REGBOARD.EXE
The “RegBoard” example attempts to register each
board in turn using the registerBoardEx function (see
section 6.4.1.2) and lists details of the boards it
managed to register using information provided by the
GetBoardModel, GetBoardBase, GetBoardIRQ and
GetBoardPciPosition functions (see sections 6.4.1.4,
6.4.1.5, 6.4.1.6 and 6.4.1.7).
4.2.9 Stopwatch STOPWATCH.EXE
The “Stopwatch” example source code illustrates the setting up and
reading of a cascaded pair of 82C54-compatible timer channels
using the TCsetClock, TCsetGate, TCsetMode, TCsetCount,
TCgetStatus and TCgetCounts functions (see sections 6.4.5.3,
6.4.5.6, 6.4.5.9, 6.4.5.12, 6.4.5.10 and 6.4.5.16).
4.3 Delphi Examples
The sub directory EX_DELPH contains the executables and source code for a number of example
applications written in Borland Delphi 3.0. The source code can be recompiled for newer versions
of Delphi.
4.3.1 Timer TIMER.EXE
The “Timer” example demonstrates setting up and using
the 82C54 compatible timers on Series 200 Digital IO
Cards. It runs on the PC212E, PC214E, PC215E,
PC218E, PC24E/PC25E, PC26AT, PC27E, PC30AT,
PCI215, PCI224, PCI230, PCI234 and PCI260.
It allows the available timer resources to be programmed
in a variety of modes (rate, single shot etc.) and
frequencies.
It is similar in operation to the Visual Basic “BASICTMR”
example.