Download Print this page

Keithley ADC-16 User Manual page 52

Analog input board

Advertisement

CHAPTER 6 THE CALL DRIVER
KDIRead
KDOWrite
Read a single Digital Input value.
Write a single Digital Output value.
FRAME OPERATIONS
Once a Frame is set up for a particular operation, that operation is ready to be initiated by a Call
to
one
of the following functions.
KSyncStart
Perform a synchronous input operation.
KIntStart
KIntStatus
Start an interruptdriven operation. You should specify Start
&
Stop
Channels, buffering, number of conversions, gain, etc. prior to this call.
Monitor the interrupt-driven operation associated with a particular
frame.
KIntStop
KGetDOCurVal
Halt the interrupt-driven operation associated with a particular frame.
Retrieve the digital output value assigned to a Digital Output frame.
Frame Parameters
After using a Frame Management function to obtain a Frame, you use a Frame Parameter Function to
set up its parameters. For example, after using KGetADFrame to obtain an A/D Frame, you would
use Frame Parameter functions to
set
up the analog input channels
to
be sampled, the gain to apply to
these channels, the A/D sampling rate, etc.
KSetChn
KGetChn
Specify a channel for single channel DigitaVAnalog Input/Output
operation.
Obtain the single channel associated with a particular frame. If a
multiple channel frame is specified, the start channel is returned.
KSetStartStopChn
KGetStartStopChn
KSetG
Set the Gain code.
KGetG
Get the Gain code.
KSetStartStopG
KGetStartStopG
Set the Start and Stop channels for A/D input associated with a
particular frame.
Get the Start and Stop channels for A/D input associated with a
particular frame.
Specify the start channel, stop channel for A/D input, and overall gain
for a particular frame.
Obtain the start channel, stop channel for A / D input, and overall Gain
code associated with a particular frame.KSetChnGAry Insert an A/D
channel gain list into a frame.
Changes format of channel gain array data from integer to unsigned
bytes.
Changes format of channel gain array data from unsigned bytes to
integer.
KFormatChnGAry
KRes toreChnG
Ary
6 - 2 1

Advertisement

loading