PISO-DNM100 DeviceNet Master API functions User’s Manual (Ver: 1.0) 2007/12/7
65
4.4.4 DNM100_CloseBoard
z
Description:
The function is used to stop and close the kernel driver and release
the device resource from computer device resource. This method must
be called once before exiting the user’s application program.
z
Syntax:
DWORD DNM100_CloseBoard (BYTE BoardNo)
z
Parameter:
BoardNo:
[input] PISO-DNM100 board number (0~15)
z
Return:
DNM100_NoError (0):
OK
DNM100_DriverError (10001):
Kernel driver is not opened.
DNM100_BoardNumberError (10003):
BoardNo exceeds the current
scanned total board number.