I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 69
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.7.2 CANFD_ClearCANRxBuf
This function is used to clear all the CAN/CAN FD messages in the software
received buffer in the assigned CAN port of the I-7565M-FD device.
Syntax:
C++
int CANFD_ClearCANRxBuf(WORD i_wDevice_id, BYTE i_byCANPort);
C#
Int32 CANFD_ClearCANRxBuf(UInt16 i_wDevice_id, Byte i_byCANPort);
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.
Return Value:
Return 0 means success, others means failure.