User manual

OVERVIEW OF 'K8D.DLL' PROCEDURES AND FUNCTIONS
8-bit Analogue to Digital converter procedures
ReadADchannel(Channelno) Reads the status of the analogue input-
channel
8-bit Digital to Analogue conversion procedures
OutputDAchannel(Channelno,Data) Sets the analogue output channel according
to the data
ClearDAchannel(Channelno) Sets the analogue output channel to
minimum
ClearAllDA Sets all analogue output channels to
minimum
SetDAchannel(Channelno) Sets the analogue output channel to
maximum
SetAllDA Sets all analogue output channels to
maximum
6-bit Digital to Analogue Conversion procedures
OutputDACchannel(Channelno,Data) Sets the analogue output channel according
to the data
ClearDACchannel(Channelno) Sets the analogue output channel to
minimum
ClearDACchip(Chipno) Sets the 8 analogue output channels of the
DAC-chip to minimum
ClearAllDAC Sets all analogue output channels to
minimum
SetDACchannel(Channelno) Sets the analogue output channel to
maximum
SetDACchip(Chipno) Sets the 8 analogue output channels of the
DAC-chip to maximum
SetAllDAC Sets all analogue output channels to
maximum
IO configuration procedures
ConfigAllIOasInput Configures all IO-channels as inputs
ConfigIOchipAsInput(Chipno) Configures all IO-channels of the IO-chip as
inputs
ConfigIOchannelAsInput(Channelno) Configures the IO-channel as input
ConfigAllIOasOutput Configures all IO-channels as outputs
ConfigIOchipAsOutput(Chipno) Configures all IO-channels of the IO-chip as
outputs
ConfigIOchannelAsOutput(Channel) Configures the IO-channel as output
Setting of IOdata & IO variables (the physical status of the IO-channels does not change)
UpdateIOdataArray(Chipno,Data) Sets the output status according to the data
(inputs do not change)
ClearIOchArray(Channelno) Clears the output status of the selected
channel (set low)
ClearIOdataArray(Chipno) Clears the output status of the channels of
the IO-chip (set low)
SetIOchArray(Channelno) Sets the output status of the selected
channel (set high)
SetIOdataArray(Chipno) Sets the output status of the channels of the
IO-chip (set high)
Output procedures