EasyManua.ls Logo

ZLG USBCAN-4E-U - Page 23

ZLG USBCAN-4E-U
25 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
18
Date: 2017/03/09
User Manual
V1.00
Guangzhou ZHIYUAN Electronics Co., Ltd.
Industrial high performance CAN interface card
USBCAN-4E-U User Manual
milliseconds.
When Wait is 0, the number of frames that were successfully read currently will be
returned immediately in function call. If the receive buffer is empty, then it returns 0.
When Wait is not 0, if there is data in the receive buffer in function call, then it
immediately returns the number of frames successfully read. If the receive buffer is
empty at this time, the function will wait for a specified timeout of arriving or receiving
data before returning the number of frames successfully received. When the value of
Wait is 0xFFFFFFFF for infinite waiting until data receiving, it is recommended that
this value should not be set too large, and the value of infinite waiting should be paid
attention.
When the value of nFrames is 0, the function actually returns a notification message.
It does not need to read the receiving buffer, and it is a special tricky usage. Note: If
you call the VCI_Receive function in the main thread and Wait is not 0, it may cause
the application to temporarily lose response. If you receive by querying, the value of
Wait should be set to 0.