
I-8088W API Reference Manual, Version 1.0.0, Aug. 2010 --- 50
Examples
[C++]
int slotIndex,err;
err=pac_i8088W_Init(slotIndex);
if(err==0)
{
printf(
“There is an I-8088W at slot %d\n”,slotIndex);
}
else
{
printf(
“There is no I-8088W at slot %d\n”,slotIndex);
}
[C#]
using pac8088WNet;
int slotIndex,err;
err= pac8088W.Init(slotIndex);
if(err==0)
{
Console.WriteLine(
“There is an I-8088W at slot {0}”,slotIndex);
}
else
{
Console.WriteLine(
“There is no I-8088W at slot {0}”,slotIndex);
}