User manual

OVERVIEW OF THE 'K8D.DLL' VARIABLES
The application program has access to the the following variables via the k8d.dll:
INITIAL
VARIABLE TYPE VALUE DESCRIPTION
DA Array[1..4] of Integer 0 Contains the data (value between 0
and 255) of the four 8-bit Digital to
Analogue converters
DAC Array[1..32] of Integer 0 Contains the data (value between 0
and 63) of the thirty two 6-bit
Digital to Analogue Converter
channels
IOconfig Array[0..7] of Integer $0FF Each bit contains the configuration
of the corresponding channels of
the eight IO-ports. Bit high (1) =
input; bit low (0) = output
IOdata Array[0..7] of Integer Each bit contains the status of the
respective channel of the eight IO-
ports. Bit high (1) = channel on; bit
low (0) = channel off
The global constants used in the following descriptions:
CONSTANT VALUE DESCRIPTION
MaxIOcard 3 Highest possible address of the interface card
MaxIOchip 7 Highest possible Input/Output chip number
MaxIOchannel 64 Highest possible Input/Output channel number
MaxDACchannel 32 Highest possible 6-bit Digital to Analogue
Converter channel number
MaxADchannel 16 Highest possible Analogue to Digital channel number
MaxDAchannel 4 Highest possible 8-bit Digital to Analogue channel
number