Chapter 4
30
Continued from previous page.
Stop the operation
Clean up the operation
Configure the subsystem using
olDaConfig
.
Start the operation with
olDaStart
.
Get event
done
message?
Yes
No
The event done message is OLDA_WM_EVENT_DONE. In
olDaSetWndHandle
or
olDaSetNotificationProcedure
, the
subsystem handle, HDASS, is returned in the
wParam
parameter; this allows one window to handle messages from both
subsystems. The subsystem status is returned in the
IParam
parameter.
Table 3: Subsystem Status in IParam
Bits
Definition
High
Word
State of the subsystem.
The resolution reflects the number of
significant bits and represents actual line
states read from the board.
Low
Word
DIO lines (bits) which caused the event.
Bit 0 corresponds to subsystem’s bit 0.
Bit 1 corresponds to subsystem’s bit 1,
and so on.
Resolution reflects the # of significant bits.
Process data.
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...