I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 43
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5. Module Configuration Functions
These functions are used to set/get the parameters or information of I-7565M-FD.
5.5.1 CANFD_SetCANOPMode
This function is used to enable/disable, set 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_SetCANOPMode(WORD i_wDevice_id, BYTE i_byCANPort, WORD
i_wEnable, WORD i_wBusMode, WORD i_wISOMode);
C#
Int32 CANFD_SetCANOPMode(UInt16 i_wDevice_id, Byte i_byCANPort, UInt16
i_wEnable, UInt16 i_wBusMode, UInt16 i_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.
i_wEnable
[in]
Enable/disable the assigned CAN port of the I-7565M-FD device.
0: disable, 1: enable.
i_wBusMode
[in]
Set normal or bus monitoring mode of the assigned CAN port of the
I-7565M-FD device.
0: normal mode, 1: bus monitoring mode.
i_wISOMode
[in]
Set 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.