![Keithley KUSB-3100 User Manual Download Page 118](http://html1.mh-extra.com/html/keithley/kusb-3100/kusb-3100_user-manual_3961323118.webp)
Appendix C
104
Name:
Description:
pData
A pointer to a unsigned long variable in
which the data from the specified register is
returned. Values can range from 0 to
4,294,967,295.
If DIO_PORT_CONFIG is specified for
Address
, the value of the variable pointed to by
pData
is the bit mask that specifies the
configuration of the digital I/O lines, where
bits that have "0" values are input lines and
bits that have "1" values are output lines.
If DIO_PORT_Data is specified for
Address
,
the value of the variable pointed to by
pData
represents the state of the digital input lines.
Notes
The KUSB-3100 module has 8 fixed digital
input lines and 8 fixed digital output lines.
Return Values
Possible return values are as follows:
OLBADRANGE
The value is out of range for the device.
OLNOTSUPPORTED
Request not supported by subsystem.
OLBADDEVHANDLE
Illegal device handle specified.
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...