I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 44
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5.2 CANFD_GetCANOPMode
This function is used to get the enable/disable setting, normal or bus monitoring
mode and CAN FD ISO/Non-ISO mode in the assigned CAN port of the I-7565M-FD
device.
Syntax:
C++
int CANFD_GetCANOPMode(WORD i_wDevice_id, BYTE i_byCANPort, WORD*
o_wEnable, WORD* o_wBusMode, WORD* o_wISOMode);
C#
Int32 CANFD_GetCANOPMode(UInt16 i_wDevice_id, Byte i_byCANPort, out UInt16
o_wEnable, out UInt16 o_wBusMode, out UInt16 o_wISOMode);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-FD device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-FD device.
*o_wEnable
[out]
Enable or disable the assigned CAN port of the I-7565M-FD device.
0: disable, 1: enable.
*o_wBusMode
[out]
Normal or bus monitoring mode of the assigned CAN port of the
I-7565M-FD device.
0: normal mode, 1: bus monitoring mode.
*o_wISOMode
[out]
CAN FD ISO or Non-ISO mode of the assigned CAN port of the I-7565M-FD
device.
0: ISO mode, 1: Non-ISO mode.
Return Value:
Return 0 means success, others means failure.