Vci_Get_Rxmsgbufisfull - ICP DAS USA I-7565-H1 User Manual

High performance usb/can converter
Table of Contents

Advertisement

5.7.2 VCI_Get_RxMsgBufIsFull

This function is used to get the software buffer state whether it is full or
not in the assigned CAN port. If the software buffer is full, it means that
some CAN messages are lost.
Syntax :
int
VCI_Get_RxMsgBufIsFull (
BYTE
CAN_No,
BYTE*
Flag
);
Parameter :
CAN_No:
[in] The assigned CAN port number.
Flag:
[out] The pointer is used to receive the state of software buffer. If the
value is zero, the software buffer is not full. If not, it means that
the software buffer is full.
Return Values :
Return 0 means success, others means failure.
Examples :
Int Ret;
BYTE CAN_No;
BYTE RxSoftBufFull_Flag;
CAN_No=1;
Ret = VCI_Get_RxMsgBufIsFull(CAN_No, &RxSoftBufFull_Flag);
I-7565-H1/H2 High Performance USB/CAN Converter User's Manual (Ver 1.7, Aug/2011) ------------- 71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

I-7565-h2

Table of Contents