![background image](http://html1.mh-extra.com/html/icp-das-usa/piso-dnm100-d/piso-dnm100-d_user-manual_4476349062.webp)
PISO-DNM100 DeviceNet Master API functions User’s Manual (Ver: 1.0) 2008/02/25
62
4.4 Function Description
4.4.1 DNM100_GetBoardInf
z
Description:
This function is used to obtain the driver information of PISO-DNM100
board.
z
Syntax:
DWORD DNM100_GetBoardInf (BYTE BoardNo, DWORD *dwVID,
DWORD *dwDID, DWORD *dwSVID,
DWORD *dwSDID, DWORD *dwSAuxID,
DWORD *dwIrqNo)
z
Parameter:
BoardNo:
[input] PISO-DNM100 board number (0~15)
dwVID:
[output] The address of a variable which is used to receive the
vendor ID.
dwDID:
[output] The address of a variable used to receive device ID.
dwSVID:
[output] The address of a variable applied to receive
sub-vendor ID.
dwSDID:
[output] The address of a variable applied to receive
sub-device ID.
dwSAuxID:
[output] The address of a variable used to receive
sub-auxiliary ID.
dwIrqNo:
[output] The address of a variable used to receive logical
interrupt number.
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.