beautypg.com

2 api library function table, Api library function table – B&B Electronics I-7565-H2 - Manual User Manual

Page 36

background image

[ Communication Function ]

These functions are used to send / receive CAN message through

I-7565-H1/H2.


[ Software Buffer Function ]

When “VCI_OpenCAN” function is successful, the received CAN

messages will be saved in software buffer provided by VCI_CAN library
first and users need to use “VCI_RecvCANMsg” function to get them.
The software buffer size is 65536 for each CAN port. These related
functions are used to operate the software buffer of VCI_CAN library.


[ Other Function ]

These functions are used to get the VCI_CAN library information or

helpful for users’ program.


5.2 API Library Function Table

All the functions provided in the VCI_CAN.dll are listed in the

following table.

Table 5-1: “Init” Function Table

No.

Function Name

Description

1

VCI_OpenCAN

Enable CAN port function of I-7565-H1/H2

2

VCI_CloseCAN

Disable CAN port function of I-7565-H1/H2

Table 5-2: “Module Config” Function Table

No.

Function Name

Description

1

VCI_Set_CANFID

Set CAN Filter-ID in the assigned CAN port

2

VCI_Get_CANFID

Get CAN Filter-ID in the assigned CAN port

3

VCI_Get_CANStatus Get

the assigned CAN port status

4

VCI_Clr_BufOverflowLED

Clear buffer overflow ERR LED state in the
assigned CAN port

5

VCI_Get_MODInfo

Get the module information

6

VCI_Rst_MOD Reset

module


I-7565-H1/H2 High Speed USB/CAN Converter User’s Manual (Ver 1.1, Nov/2009) ------------- 36