Programming Flowcharts
29
4
4
4
4
4
4
4
4
4
Continuous Digital Input Operations
Get a handle to the DIN subsystem with
olDaGetDASS
.
Initialize the device driver and get the
device handle with
olDaInitialize
.
Set the data flow to
OL_DF_CONTINUOUS using
olDaSetDataFlow
.
Set the resolution with
olDaSetResolution
.
Set the resolution to 16.
Go to the next page.
Set the trigger source to
OL_TRG_SOFT using
olDaSetTrigger
.
olDaSetNotificationProcedure
Specify the procedure to handle Windows
messages.
Using main
window to
handle
messages?
Yes
No
olDaSetWndHandle
Specify the window in
which to post messages.
Only banks 10 and 11 support continuous
digital input operations.
Summary of Contents for KUSB-3160
Page 8: ...Contents viii Appendix A Specifications 39 Appendix B Connector Pin Assignments 43 Index 53...
Page 12: ...About this Manual xii...
Page 13: ...1 1 Overview Key Features 2 Supported Software 3 Accessories 4...
Page 17: ...5 2 Principles of Operation Digital I O Lines 8 Resolution 10 Interrupts 13 Operation Modes 14...
Page 27: ...25 4 Programming Flowcharts Single Value Operations 27 Continuous Digital Input Operations 29...
Page 35: ...15 3 Supported Device Driver Capabilities...
Page 44: ...Chapter 3 24...
Page 45: ...33 5 Troubleshooting General Checklist 34 Service and Support 37...
Page 51: ...39 A Specifications...
Page 55: ...43 B Connector Pin Assignments...
Page 64: ...Appendix B 52...