PISO-CANFD series CAN FD card User Manual (version 1.0.0)
Page: 37
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved.
E-mail: [email protected]
3.1.2. CANFD_GetBoardInf
Description
This function is used to retrieve PCI information of related to a specified PISO-CANFD
series board, including the vendor ID, device ID, sub-vendor ID, sub-device ID,
sub-auxiliary ID, logical interrupt number, board ID and board switch number.
Syntax
Parameters
BoardNo
[in] Specifies the number of the PISO-CANFD series board to be read. The
valid range is 0 to 15.
wVID
[out] Indicates the address of a variable used to receive the vendor ID.
wDID
[out] Indicates the address of a variable used to receive the device ID.
wSVID
[out] Indicates the address of a variable used to receive the sub-vendor ID.
C#
Int16 CANFD_GetBoardInf(
Byte BoardNo,
out Uint16 wVID,
out Uint16 wDID,
out Uint16 wSVID,
out Uint16 wSDID,
out Uint16 wSAuxID,
out Uint16 wIrqNo,
out Byte BoardID,
out Byte BoardSwitchNo
);