I-8093W/I-9093 I/O Module User Manual, v2.0.0 P. 24
4.
API References
ICPDAS supplies a range of C API functions for the I-8093W/I-9093 module. When developing a custom
program, refer to either the i8093W.h header file, or the API functions described in the following
sections for more detailed information.
API naming table
The following table describes the platforms and in which the product series included and the different
part of function name.
The following is an overview of the functions provided in the LinPAC library-libi8k.a for use with the
Linux platform.
Platform
Product included
API prefix characters
Linux
I-8093W
“
i8093W_” + function name
I-9093
“
i9093_” + function name
API for both I-8093W and I-9093
Function
Description
i8093W_Init
This function can initial the I-8093W/I-9093 and can check the hardware ID.
i8093W_GetFirmwareVersion
This function use to get the firmware version of I-8093W/I-9093 hardware.
i8093W_GetLibVersion
This function use to get the library version of 8093W.lib/i8093W.dll.
i8093W_SetMode
This function use to set the operation mode of I-8093W/I-9093.
i8093W_GetMode
This function use to get the operation mode of I-8093W/I-9093.
i8093W_SetXOR
This function use to set the xor of I-8093W/I-9093 for each channel.
i8093W_GetXOR
This function use to get the xor of I-8093W/I-9093 for each channel.
i8093W_GetLineStatus
This function use to get A,B and Z status of I-8093W/I-9093.
i8093W_GetIndex
This function use to get Z index status of I-8093W/I-9093.
i8093W_Read32BitEncoder
This function use to get 32-Bit Encoder value of I-8093W/I-9093.
i8093W_ResetEncoder
This function use to reset 32-Bit Encoder value to zero.
i8093W_SetPresetValue
This function use to set 32-Bit preset value of I-8093W/I-9093.
i8093W_GetPresetValue
This function use to get 32-Bit preset value of I-8093W/I-9093.
i8093W_ClearLatchedIndex
This function use to clear the index latched status.
Summary of Contents for I-8093W
Page 10: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 10 1 2 Pin Assignments I 8093W...
Page 11: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 11 I 9093...
Page 13: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 13 I 9093 5V 24V Input Level 5V 24V...
Page 14: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 14 1 4 Wire Connections I 8093W...
Page 15: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 15 I 9093...
Page 16: ...I 8093W I 9093 I O Module User Manual v2 0 0 P 16 1 5 Block Diagram I 8093W I 8014CW I 9014C...