![Keithley KUSB-3100 User Manual Download Page 119](http://html1.mh-extra.com/html/keithley/kusb-3100/kusb-3100_user-manual_3961323119.webp)
Reading from or Writing to the Digital Registers
105
C
C
C
C
C
C
C
C
C
olWriteReg
Syntax
ECODE olWriteReg
(
HDEV hDev,
ULNG Address,
ULNG DataVal
);
Include File
oldadefs.h
oldaapi.h
Description
Writes values directly to the digital registers of
the module.
Parameters
Name:
Description:
hDev
A variable of type HDEV that specifies the
handle to the device.
Name:
Description:
Address
An unsigned long variable that specifies the
base address of the hardware register to write
to.
Values are as follows:
•
DIO_PORT_CONFIG
–
Port
configuration register.
•
DIO_PORT_DATA
–
Port data register.
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...