Specify ID

In order to use each function, it is necessary to get the ID by function AioInit.
ID is a number necessary to identify the device.

The following example is an example using multiple devices.

It corresponds to
ID1 -> AD16-16(LPCI)L, ID2 -> AD16-16(LPCI)L, ID3 -> DA16-4(LPCI)L

Example of C

Device

AD16-16(LPCI)L

AD16-16(LPCI)L

DA16-4(LPCI)L

DeviceName

"AD1"

"AD2"

"DA1"

ID Declaration

short ID_AD1;

short ID_AD2;

short ID_AD3;

Init

Ret = AioInit("AD1" ,&ID_AD1);

Ret = AioInit("AD2" ,&ID_AD2)

Ret = AioInit("DA1" ,&ID_DA1);

Other Functions

Ret = Aio***( ID_AD1, *** );

Ret = Aio***( ID_AD2, *** );

Ret = Aio***( ID_DA1, *** );