I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 72
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.7.2 CANHS_ClearCANRxBuf
This function is used to clear all the CAN messages in the software received buffer
in the assigned CAN port of the I-7565M-HS device.
Syntax:
C++
int CANHS_ClearCANRxBuf(WORD i_wDevice_id, BYTE i_byCANPort);
C#
Int32 CANHS_ClearCANRxBuf(UInt16 i_wDevice_id, Byte i_byCANPort);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-HS device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-HS device.
Return Value:
Return 0 means success, others means failure.