Programming Flowcharts
47
4
4
4
4
4
4
4
4
4
Continuous A/D Operations
Get a handle to the A/D subsystem
with
olDaGetDASS
a
.
Initialize the device driver and get the
device handle with
olDaInitialize
.
Set up the analog input
channel-gain list (see
).
Set the data flow using
olDaSetDataFlow
.
Go to the next page.
Specify OL_DF_CONTINUOUS (the
default value).
Set the data flow to
OLSSC_SUP_2SCOMP for twos
complement data encoding using
olDaSetEncoding.
Set the channel type to
OLSSC_SUP_SINGLEENDED using
olDaSetChannelType
.
Set the input range using
olDaSetRange
.
Specify a range of
–
10 V to 10 V.
a
Specify A/D subsystem 0 for an analog input operation. This subsystem supports analog
input channels 0 to 7. The resolution of the A/D subsystem is fixed at 12-bits.
Summary of Contents for KUSB-3100
Page 10: ...Contents x...
Page 14: ...About this Manual xiv...
Page 15: ...1 1 Overview Features 2 Supported Software 3...
Page 18: ...Chapter 1 4...
Page 46: ...Chapter 2 32...
Page 47: ...33 3 Supported Device Driver Capabilities...
Page 86: ...Chapter 4 72...
Page 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Page 100: ...Chapter 6 86...
Page 101: ...87 A Specifications...
Page 112: ...Appendix A 98...
Page 113: ...99 B Connector Pin Assignments...
Page 115: ...101 C Reading from or Writing to the Digital Registers...