![background image](http://html1.mh-extra.com/html/keithley/kusb-3100/kusb-3100_user-manual_3961323059.webp)
Programming Flowcharts
45
4
4
4
4
4
4
4
4
4
Single-Value Operations
Set the data flow to
OL_DF_SINGLEVALUE using
olDaSetDataFlow
.
Get a handle to the subsystem with
olDaGetDASS
a
.
Initialize the device driver and get the
device handle with
olDaInitialize
.
Go to the next page.
For the A/D and D/A subsystems,
set the range using
olDaSetRange
.
Specify a range of
–
10 V to 10 V.
For the A/D and D/A subsystems, set the
data flow to OLSSC_SUP_2SCOMP for
twos complement data encoding using
olDaSetEncoding.
For the A/D and D/A subsystems, set the
channel type to
OLSSC_SUP_SINGLEENDED using
olDaSetChannelType
.
a
Specify A/D subsystem 0 for an analog input operation, D/A subsystem 0 for an analog
output operation, DIN subsystem 0 for a digital input operation, or DOUT subsystem 0 for a
digital output operation.
The resolution of the A/D and D/A subsystems is fixed at 12-bits. The resolution of the DIN
and DOUT subsystems is fixed at 8-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...