Specify ID when Using Multiple Devices

When using multiple devices at the same time, it is necessary to initialize each device and obtain a different ID.
Execute functions by specifying the ID of each device. At the time of termination, perform termination processings for each device.

Here is an example of using multiple devices.

Use SMC-8DL-PCI and SMC-8DF-PCI, and each device is set to the following device name.
The variables that store the ID of each device are ID_SMC1 and ID_SMC2

SMC-8DL-PCI : SMC000
SMC-8DF-PCI : SMC001

Example in C

Device

SMC-8DL-PCI

SMC-8DF-PCI

DeviceName

SMC000

SMC001

ID Declaration

short ID_SMC1;

short ID_SMC2;

Init

Ret = SmcWInit("SMC000" ,&ID_SMC1);

Ret = SmcWInit("SMC001" ,&ID_SMC2);

Other Functions

Ret = SmcW***( ID_SMC1, *** );

Ret = SmcW***( ID_SMC2, *** );