
4.20. pac_i8088W_GetDI
The function is used to get DI status. The user can view which channels have
received the signals.
Syntax
short pac_i8088W_GetDI(int slot,unsigned int *diVal,int diArr[]);
Parameter
1. slot 0 ~ 7
2. *diVal: the DI status of i-8088 value 0~0xff
3. diArr[]: the *DI value will be parse into Bit Array
Return Values
Please refer to Error Code Table.