I8088W_Getdi - ICP DAS USA I-8088W Api Reference Manual

I/o module
Table of Contents

Advertisement

3.20. i8088W_GetDI

The function is used to get DI status. The user can view which channels have
received the signals.
Syntax
short 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.
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010
--- 47

Advertisement

Table of Contents
loading

Table of Contents