
ICPDAS
I-8092F Software User Manual
10
//set each module number the same as the slot number, respectively.
//(slot1 ~ slot7)
BYTE cardNo;
BYTE slot;
int
Found = 0;
for
(slot = 1; slot < 8; slot++)
{
cardNo = slot;
if
(i8092MF_REGISTRATION(cardNo, slot) == YES)
{
//slot number begins from 1.
//if a module is found, then it is registered as its slot number.
i8092MF_RESET_CARD(cardNo);
Found++;
}
}
if
(Found == 0)
{
//if Wincon cannot find any I-8092F module,
//please add codes to handle the exception here.
return
;
}
//=================== for I-8000 ===================
//set the module number the same as the slot number, respectively.
//(slot1 ~ slot7)
BYTE cardNo;
BYTE slot;
int
Found = 0;
for
(slot = 0; slot < 8; slot++)
{
cardNo = slot + 1;
//slot number begins from 0, but module number begin from 1.
if
(i8092MF_REGISTRATION(cardNo, slot) == YES)
{
//if a module is found, then it is registered by giving a number.
i8092MF_RESET_CARD(cardNo);
Found++;
}
}
if
(Found == 0)
{
//if Wincon cannot find any I-8092F module,
//please add codes to handle the exception here.
return
;
}