I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
56
i8014W_Init
This function initializes the driver and confirms the hardware ID.
Prototype
For MiniOS7
short i8014W_Init ( int slot );
For Windows (CE and WES)
short pac_i8014W_Init( int slot );
Parameter
slot: 0 ~ 7
Return
0 = the module plugged in the slot is I-8014W.
-1 = there is no I-8014W module in this slot.
For other returned value, see
Error code list, page 55.
Note
Before you start to run any function for I-8014W, the initial function need be
executed once for one I-8014W. If you have two or more I-8014W, you need call
the initial function for each I-8014W individual by passing the slot number that
the I-8014W plugged in.